From: Prarit Bhargava <prarit(a)redhat.com>
redhat/Makefile.common: Fix BUILD_SCRATCH_TARGET
BUILD_SCRATCH_TARGET is only used by the dist-brew and distg-brew targets,
and should be set to an appropriate brew target.
Set BUILD_SCRATCH_TARGET to the latest RHEL brew target.
Signed-off-by: Prarit Bhargava <prarit(a)redhat.com>
diff --git a/redhat/Makefile.common b/redhat/Makefile.common
index blahblah..blahblah 100644
--- a/redhat/Makefile.common
+++ b/redhat/Makefile.common
@@ -158,11 +158,7 @@ else
RHPRODUCT:=rhel-$(RHEL_MAJOR).$(RHEL_MINOR).0
endif
-ifeq ("$(DISTRO)", "fedora")
- BUILD_SCRATCH_TARGET ?= temp-ark-rhel-8-test
-else ifeq ("$(DISTRO)", "centos")
+BUILD_SCRATCH_TARGET ?= rhel-$(RHEL_MAJOR)-scratch
+ifeq ("$(DISTRO)", "centos")
BUILD_PROFILE ?= -p stream
- BUILD_SCRATCH_TARGET ?= c$(RHEL_MAJOR)s-candidate
-else
- BUILD_SCRATCH_TARGET ?= rhel-$(RHEL_MAJOR).$(RHEL_MINOR).0-test-pesign
endif
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1628