[OS-BUILD PATCHv2 14/19] redhat/Makefile: Add 'duplicate' SPEC entries for user set variables

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Add 'duplicate' SPEC entries for user set variables INCLUDE_FEDORA_FILES, INCLUDE_RHEL_FILES, and RELEASED_KERNEL are specified in Makefile.variables as they can be set in userspace. Create duplicate entries for these variables that begin with SPEC. This

[OS-BUILD PATCHv2 13/19] redhat/Makefile: Rename TARFILE_RELEASE to SPECTARFILE_RELEASE

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Rename TARFILE_RELEASE to SPECTARFILE_RELEASE Change TARFILE_RELEASE to SPECTARFILE_RELEASE so that readers understand it is passed into the spec file. Rename TARFILE_RELEASE to SPECTARFILE_RELEASE. Signed-off-by: Prarit Bhargava diff --git

[OS-BUILD PATCHv2 12/19] redhat/genspec: Rename PATCHLIST_CHANGELOG to SPECPATCHLIST_CHANGELOG

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/genspec: Rename PATCHLIST_CHANGELOG to SPECPATCHLIST_CHANGELOG Change PATCHLIST_CHANGELOG to SPECPATCHLIST_CHANGELOG so that readers understand it is passed into the spec file. Rename PATCHLIST_CHANGELOG to SPECPATCHLIST_CHANGELOG. Signed-off-by: Prarit Bhargava

[OS-BUILD PATCHv2 11/19] redhat/genspec: Rename DEBUG_BUILDS_ENABLED to SPECDEBUG_BUILDS_ENABLED

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/genspec: Rename DEBUG_BUILDS_ENABLED to SPECDEBUG_BUILDS_ENABLED Change DEBUG_BUILDS_ENABLED to SPECDEBUG_BUILDS_ENABLED so that readers understand it is passed into the spec file. Rename DEBUG_BUILDS_ENABLED to SPECDEBUG_BUILDS_ENABLED. Signed-off-by: Prarit

[OS-BUILD PATCHv2 10/19] redhat/Makefile: Rename PKGRELEASE to SPECBUILD

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Rename PKGRELEASE to SPECBUILD PKGRELEASE is a confusing variable name, and it really is the BUILD string for the specfile. Rename PKGRELEASE to SPECBUILD. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index

[OS-BUILD PATCHv2 5/19] redhat/Makfile: Rename RPMKPATCHLEVEL to SPECKPATCHLEVEL

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makfile: Rename RPMKPATCHLEVEL to SPECKPATCHLEVEL Change RPMKPATCHLEVEL to SPECPATCHLEVEL so that readers understand it is passed into the spec file. Rename RPMKPATCHLEVEL to SPECKPATCHLEVEL. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile

[OS-BUILD PATCHv2 8/19] redhat/Makefile: Rename CHANGELOG to SPECCHANGELOG

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Rename CHANGELOG to SPECCHANGELOG Change CHANGELOG to SPECCHANGELOG so that readers understand it is passed into the spec file. While the CHANGELOG does have use other than in the spec file it is useful to know that the string is used in the spec file.

[OS-BUILD PATCHv2 9/19] redhat/genspec: Rename BUILDID_DEFINE to SPECBUILDID

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/genspec: Rename BUILDID_DEFINE to SPECBUILDID Change BUILDID_DEFINE to SPECBUILDID so that readers understand it is passed into the spec file. Rename BUILDID_DEFINE to SPECBUILDID. Signed-off-by: Prarit Bhargava diff --git a/redhat/genspec.sh b/redhat/genspec.sh

[OS-BUILD PATCHv2 7/19] redhat/Makfile: Rename RPMKEXTRAVERSION to SPECKEXTRAVERSION

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makfile: Rename RPMKEXTRAVERSION to SPECKEXTRAVERSION Change RPMKEXTRAVERSION to SPECEXTRAVERSION so that readers understand it is passed into the spec file. Rename RPMKEXTRAVERSION to SPECKEXTRAVERSION. Signed-off-by: Prarit Bhargava diff --git

[OS-BUILD PATCHv2 0/19] redhat: test updates

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1728 Depends: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1727 Add a test to verify Makefile declarations, and add the RHTEST variable. The latter of these changes allows

[OS-BUILD PATCHv2 4/19] redhat/Makefile: Rename RPMKVERSION to SPECKVERSION

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Rename RPMKVERSION to SPECKVERSION Change RPMKVERSION to SPECVERSION so that readers understand it is passed into the spec file. Rename RPMKVERSION to SPECKVERSION. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index

[OS-BUILD PATCHv2 3/19] redhat/Makefile: Rename KVERSION to SPECVERSION

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Rename KVERSION to SPECVERSION KVERSION is passed into the spec file and is easy to confuse with the kernel KVERSION. Change the name to SPECVERSION so that readers understand it is the %Version field of the specfile. As a result RPMKSUBLEVEL can be

[OS-BUILD PATCHv2 6/19] redhat/Makfile: Rename RPMKSUBLEVEL to SPECKSUBLEVEL

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makfile: Rename RPMKSUBLEVEL to SPECKSUBLEVEL Change RPMKSUBLEVEL to SPECSUBLEVEL so that readers understand it is passed into the spec file. Rename RPMKSUBLEVEL to SPECKSUBLEVEL. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile

[OS-BUILD PATCHv2 2/19] redhat/Makefile: Deprecate some simple targets

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Deprecate some simple targets Deprecate some simple targets. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -420,15 +420,23 @@

[OS-BUILD PATCHv2 1/19] redhat/Makefile: Use KVERSION

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Use KVERSION Use KVERSION where appropriate in the Makefile. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -144,6 +144,9 @@ else

Re: [OS-BUILD PATCHv2 0/17] redhat: Use SPEC variable naming

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1727#note_932320137 MR commits updated due to merge conflict. I had to rework the code for Herton's CHANGELOG modifications, and added a cleanup commit for the tests as well. Successfully tested with

[OS-BUILD PATCHv2 16/17] redhat/self-test/data: Cleanup data

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/self-test/data: Cleanup data There have been some additional redhat/Makefile changes that modified variables. Run 'make dist-self-test-data' to clean these changes up. Signed-off-by: Prarit Bhargava diff --git a/redhat/self-test/data/centos-2585cf9dfaad.el7

[OS-BUILD PATCHv2 17/17] redhat: shellcheck cleanup

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat: shellcheck cleanup Some shellcheck cleanups. Signed-off-by: Prarit Bhargava diff --git a/redhat/genspec.sh b/redhat/genspec.sh index blahblah..blahblah 100755 --- a/redhat/genspec.sh +++ b/redhat/genspec.sh @@ -114,7 +114,7 @@ cdate="$(LC_ALL=C date +"%a %b %d

[OS-BUILD PATCHv2 14/17] redhat/Makefile: Add 'duplicate' SPEC entries for user set variables

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Add 'duplicate' SPEC entries for user set variables INCLUDE_FEDORA_FILES, INCLUDE_RHEL_FILES, and RELEASED_KERNEL are specified in Makefile.variables as they can be set in userspace. Create duplicate entries for these variables that begin with SPEC. This

[OS-BUILD PATCHv2 15/17] redhat/self-test: Add test to verify SPEC variables

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/self-test: Add test to verify SPEC variables This test looks at the spec file variable replacement code in redhat/genspec.sh and confirms that each variable begins with "SPEC". Signed-off-by: Prarit Bhargava diff --git a/redhat/docs/makefile-changes.rst

[OS-BUILD PATCHv2 13/17] redhat/Makefile: Rename TARFILE_RELEASE to SPECTARFILE_RELEASE

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Rename TARFILE_RELEASE to SPECTARFILE_RELEASE Change TARFILE_RELEASE to SPECTARFILE_RELEASE so that readers understand it is passed into the spec file. Rename TARFILE_RELEASE to SPECTARFILE_RELEASE. Signed-off-by: Prarit Bhargava diff --git

[OS-BUILD PATCHv2 11/17] redhat/genspec: Rename DEBUG_BUILDS_ENABLED to SPECDEBUG_BUILDS_ENABLED

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/genspec: Rename DEBUG_BUILDS_ENABLED to SPECDEBUG_BUILDS_ENABLED Change DEBUG_BUILDS_ENABLED to SPECDEBUG_BUILDS_ENABLED so that readers understand it is passed into the spec file. Rename DEBUG_BUILDS_ENABLED to SPECDEBUG_BUILDS_ENABLED. Signed-off-by: Prarit

[OS-BUILD PATCHv2 12/17] redhat/genspec: Rename PATCHLIST_CHANGELOG to SPECPATCHLIST_CHANGELOG

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/genspec: Rename PATCHLIST_CHANGELOG to SPECPATCHLIST_CHANGELOG Change PATCHLIST_CHANGELOG to SPECPATCHLIST_CHANGELOG so that readers understand it is passed into the spec file. Rename PATCHLIST_CHANGELOG to SPECPATCHLIST_CHANGELOG. Signed-off-by: Prarit Bhargava

[OS-BUILD PATCHv2 8/17] redhat/Makefile: Rename CHANGELOG to SPECCHANGELOG

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Rename CHANGELOG to SPECCHANGELOG Change CHANGELOG to SPECCHANGELOG so that readers understand it is passed into the spec file. While the CHANGELOG does have use other than in the spec file it is useful to know that the string is used in the spec file.

[OS-BUILD PATCHv2 10/17] redhat/Makefile: Rename PKGRELEASE to SPECBUILD

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Rename PKGRELEASE to SPECBUILD PKGRELEASE is a confusing variable name, and it really is the BUILD string for the specfile. Rename PKGRELEASE to SPECBUILD. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index

[OS-BUILD PATCHv2 9/17] redhat/genspec: Rename BUILDID_DEFINE to SPECBUILDID

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/genspec: Rename BUILDID_DEFINE to SPECBUILDID Change BUILDID_DEFINE to SPECBUILDID so that readers understand it is passed into the spec file. Rename BUILDID_DEFINE to SPECBUILDID. Signed-off-by: Prarit Bhargava diff --git a/redhat/genspec.sh b/redhat/genspec.sh

[OS-BUILD PATCHv2 7/17] redhat/Makfile: Rename RPMKEXTRAVERSION to SPECKEXTRAVERSION

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makfile: Rename RPMKEXTRAVERSION to SPECKEXTRAVERSION Change RPMKEXTRAVERSION to SPECEXTRAVERSION so that readers understand it is passed into the spec file. Rename RPMKEXTRAVERSION to SPECKEXTRAVERSION. Signed-off-by: Prarit Bhargava diff --git

[OS-BUILD PATCHv2 5/17] redhat/Makfile: Rename RPMKPATCHLEVEL to SPECKPATCHLEVEL

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makfile: Rename RPMKPATCHLEVEL to SPECKPATCHLEVEL Change RPMKPATCHLEVEL to SPECPATCHLEVEL so that readers understand it is passed into the spec file. Rename RPMKPATCHLEVEL to SPECKPATCHLEVEL. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile

[OS-BUILD PATCHv2 4/17] redhat/Makefile: Rename RPMKVERSION to SPECKVERSION

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Rename RPMKVERSION to SPECKVERSION Change RPMKVERSION to SPECVERSION so that readers understand it is passed into the spec file. Rename RPMKVERSION to SPECKVERSION. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index

[OS-BUILD PATCHv2 6/17] redhat/Makfile: Rename RPMKSUBLEVEL to SPECKSUBLEVEL

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makfile: Rename RPMKSUBLEVEL to SPECKSUBLEVEL Change RPMKSUBLEVEL to SPECSUBLEVEL so that readers understand it is passed into the spec file. Rename RPMKSUBLEVEL to SPECKSUBLEVEL. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile

[OS-BUILD PATCHv2 3/17] redhat/Makefile: Rename KVERSION to SPECVERSION

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Rename KVERSION to SPECVERSION KVERSION is passed into the spec file and is easy to confuse with the kernel KVERSION. Change the name to SPECVERSION so that readers understand it is the %Version field of the specfile. As a result RPMKSUBLEVEL can be

[OS-BUILD PATCHv2 0/17] redhat: Use SPEC variable naming

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1727 Depends: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1647 One of the common complaints about the redhat Makefiles, genspec.sh, and kernel.spec.template is that it is

[OS-BUILD PATCHv2 1/17] redhat/Makefile: Use KVERSION

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Use KVERSION Use KVERSION where appropriate in the Makefile. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -144,6 +144,9 @@ else

[OS-BUILD PATCHv2 2/17] redhat/Makefile: Deprecate some simple targets

2022-05-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Deprecate some simple targets Deprecate some simple targets. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -420,15 +420,23 @@

[OS-BUILD PATCH 17/18] redhat/Makefile: Add RHTEST

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Add RHTEST For a long time we have wanted a mechanism by which we could do a 'test run' of Makefile targets. Make has built-in options '-n, --just-print, --dry-run, --recon' that can be added on the command line that allow users to show the output for

[OS-BUILD PATCH 12/18] redhat/genspec: Rename DEBUG_BUILDS_ENABLED to SPECDEBUG_BUILDS_ENABLED

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/genspec: Rename DEBUG_BUILDS_ENABLED to SPECDEBUG_BUILDS_ENABLED Change DEBUG_BUILDS_ENABLED to SPECDEBUG_BUILDS_ENABLED so that readers understand it is passed into the spec file. Rename DEBUG_BUILDS_ENABLED to SPECDEBUG_BUILDS_ENABLED. Signed-off-by: Prarit

[OS-BUILD PATCH 4/18] redhat/Makefile: Rename RPMKVERSION to SPECKVERSION

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Rename RPMKVERSION to SPECKVERSION Change RPMKVERSION to SPECVERSION so that readers understand it is passed into the spec file. Rename RPMKVERSION to SPECKVERSION. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index

[OS-BUILD PATCH 3/18] redhat/Makefile: Rename KVERSION to SPECVERSION

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Rename KVERSION to SPECVERSION KVERSION is passed into the spec file and is easy to confuse with the kernel KVERSION. Change the name to SPECVERSION so that readers understand it is the %Version field of the specfile. As a result RPMKSUBLEVEL can be

[OS-BUILD PATCH 11/18] redhat/Makefile: Rename DISTRO_BUILD to SPECDISTROBUILD

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Rename DISTRO_BUILD to SPECDISTROBUILD Change DISTRO_BUILD to SPECDISTROBUILD so that readers understand it is passed into the spec file. Rename DISTRO_BUILD to SPECDISTROBUILD. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile

[OS-BUILD PATCH 18/18] redhat/self-test: Add test to verify Makefile declarations.

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/self-test: Add test to verify Makefile declarations. The Makefiles have been organized such that only Makefile.variables contain external variables that can be set on the command line, and the Makefile only contains variables that can set within the Makefile itself.

[OS-BUILD PATCH 6/18] redhat/Makfile: Rename RPMKSUBLEVEL to SPECKSUBLEVEL

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makfile: Rename RPMKSUBLEVEL to SPECKSUBLEVEL Change RPMKSUBLEVEL to SPECSUBLEVEL so that readers understand it is passed into the spec file. Rename RPMKSUBLEVEL to SPECKSUBLEVEL. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile

[OS-BUILD PATCH 9/18] redhat/genspec: Rename BUILDID_DEFINE to SPECBUILDID

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/genspec: Rename BUILDID_DEFINE to SPECBUILDID Change BUILDID_DEFINE to SPECBUILDID so that readers understand it is passed into the spec file. Rename BUILDID_DEFINE to SPECBUILDID. Signed-off-by: Prarit Bhargava diff --git a/redhat/genspec.sh b/redhat/genspec.sh

[OS-BUILD PATCH 15/18] redhat/Makefile: Add 'duplicate' SPEC entries for user set variables

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Add 'duplicate' SPEC entries for user set variables INCLUDE_FEDORA_FILES, INCLUDE_RHEL_FILES, and RELEASED_KERNEL are specified in Makefile.variables as they can be set in userspace. Create duplicate entries for these variables that begin with SPEC. This

[OS-BUILD PATCH 10/18] redhat/Makefile: Rename PKGRELEASE to SPECBUILD

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Rename PKGRELEASE to SPECBUILD PKGRELEASE is a confusing variable name, and it really is the BUILD string for the specfile. Rename PKGRELEASE to SPECBUILD. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index

[OS-BUILD PATCH 7/18] redhat/Makfile: Rename RPMKEXTRAVERSION to SPECKEXTRAVERSION

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makfile: Rename RPMKEXTRAVERSION to SPECKEXTRAVERSION Change RPMKEXTRAVERSION to SPECEXTRAVERSION so that readers understand it is passed into the spec file. Rename RPMKEXTRAVERSION to SPECKEXTRAVERSION. Signed-off-by: Prarit Bhargava diff --git

[OS-BUILD PATCH 13/18] redhat/genspec: Rename PATCHLIST_CHANGELOG to SPECPATCHLIST_CHANGELOG

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/genspec: Rename PATCHLIST_CHANGELOG to SPECPATCHLIST_CHANGELOG Change PATCHLIST_CHANGELOG to SPECPATCHLIST_CHANGELOG so that readers understand it is passed into the spec file. Rename PATCHLIST_CHANGELOG to SPECPATCHLIST_CHANGELOG. Signed-off-by: Prarit Bhargava

[OS-BUILD PATCH 5/18] redhat/Makfile: Rename RPMKPATCHLEVEL to SPECKPATCHLEVEL

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makfile: Rename RPMKPATCHLEVEL to SPECKPATCHLEVEL Change RPMKPATCHLEVEL to SPECPATCHLEVEL so that readers understand it is passed into the spec file. Rename RPMKPATCHLEVEL to SPECKPATCHLEVEL. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile

[OS-BUILD PATCH 8/18] redhat/Makefile: Rename CHANGELOG to SPECCHANGELOG

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Rename CHANGELOG to SPECCHANGELOG Change CHANGELOG to SPECCHANGELOG so that readers understand it is passed into the spec file. While the CHANGELOG does have use other than in the spec file it is useful to know that the string is used in the spec file.

[OS-BUILD PATCH 1/18] redhat/Makefile: Use KVERSION

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Use KVERSION Use KVERSION where appropriate in the Makefile. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -144,8 +144,8 @@ else

[OS-BUILD PATCH 0/18] redhat: test updates

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1728 Depends: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1727 Add a test to verify Makefile declarations, and add the RHTEST variable. The latter of these changes allows

[OS-BUILD PATCH 14/18] redhat/Makefile: Rename TARFILE_RELEASE to SPECTARFILE_RELEASE

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Rename TARFILE_RELEASE to SPECTARFILE_RELEASE Change TARFILE_RELEASE to SPECTARFILE_RELEASE so that readers understand it is passed into the spec file. Rename TARFILE_RELEASE to SPECTARFILE_RELEASE. Signed-off-by: Prarit Bhargava diff --git

[OS-BUILD PATCH 16/18] redhat/self-test: Add test to verify SPEC variables

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/self-test: Add test to verify SPEC variables This test looks at the spec file variable replacement code in redhat/genspec.sh and confirms that each variable begins with "SPEC". Signed-off-by: Prarit Bhargava diff --git a/redhat/docs/makefile-changes.rst

[OS-BUILD PATCH 12/16] redhat/genspec: Rename DEBUG_BUILDS_ENABLED to SPECDEBUG_BUILDS_ENABLED

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/genspec: Rename DEBUG_BUILDS_ENABLED to SPECDEBUG_BUILDS_ENABLED Change DEBUG_BUILDS_ENABLED to SPECDEBUG_BUILDS_ENABLED so that readers understand it is passed into the spec file. Rename DEBUG_BUILDS_ENABLED to SPECDEBUG_BUILDS_ENABLED. Signed-off-by: Prarit

[OS-BUILD PATCH 8/16] redhat/Makefile: Rename CHANGELOG to SPECCHANGELOG

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Rename CHANGELOG to SPECCHANGELOG Change CHANGELOG to SPECCHANGELOG so that readers understand it is passed into the spec file. While the CHANGELOG does have use other than in the spec file it is useful to know that the string is used in the spec file.

[OS-BUILD PATCH 11/16] redhat/Makefile: Rename DISTRO_BUILD to SPECDISTROBUILD

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Rename DISTRO_BUILD to SPECDISTROBUILD Change DISTRO_BUILD to SPECDISTROBUILD so that readers understand it is passed into the spec file. Rename DISTRO_BUILD to SPECDISTROBUILD. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile

[OS-BUILD PATCH 5/16] redhat/Makfile: Rename RPMKPATCHLEVEL to SPECKPATCHLEVEL

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makfile: Rename RPMKPATCHLEVEL to SPECKPATCHLEVEL Change RPMKPATCHLEVEL to SPECPATCHLEVEL so that readers understand it is passed into the spec file. Rename RPMKPATCHLEVEL to SPECKPATCHLEVEL. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile

[OS-BUILD PATCH 6/16] redhat/Makfile: Rename RPMKSUBLEVEL to SPECKSUBLEVEL

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makfile: Rename RPMKSUBLEVEL to SPECKSUBLEVEL Change RPMKSUBLEVEL to SPECSUBLEVEL so that readers understand it is passed into the spec file. Rename RPMKSUBLEVEL to SPECKSUBLEVEL. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile

[OS-BUILD PATCH 10/16] redhat/Makefile: Rename PKGRELEASE to SPECBUILD

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Rename PKGRELEASE to SPECBUILD PKGRELEASE is a confusing variable name, and it really is the BUILD string for the specfile. Rename PKGRELEASE to SPECBUILD. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index

[OS-BUILD PATCH 7/16] redhat/Makfile: Rename RPMKEXTRAVERSION to SPECKEXTRAVERSION

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makfile: Rename RPMKEXTRAVERSION to SPECKEXTRAVERSION Change RPMKEXTRAVERSION to SPECEXTRAVERSION so that readers understand it is passed into the spec file. Rename RPMKEXTRAVERSION to SPECKEXTRAVERSION. Signed-off-by: Prarit Bhargava diff --git

[OS-BUILD PATCH 4/16] redhat/Makefile: Rename RPMKVERSION to SPECKVERSION

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Rename RPMKVERSION to SPECKVERSION Change RPMKVERSION to SPECVERSION so that readers understand it is passed into the spec file. Rename RPMKVERSION to SPECKVERSION. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index

[OS-BUILD PATCH 0/16] redhat: Use SPEC variable naming

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1727 Depends: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1647 One of the common complaints about the redhat Makefiles, genspec.sh, and kernel.spec.template is that it is

[OS-BUILD PATCH 9/16] redhat/genspec: Rename BUILDID_DEFINE to SPECBUILDID

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/genspec: Rename BUILDID_DEFINE to SPECBUILDID Change BUILDID_DEFINE to SPECBUILDID so that readers understand it is passed into the spec file. Rename BUILDID_DEFINE to SPECBUILDID. Signed-off-by: Prarit Bhargava diff --git a/redhat/genspec.sh b/redhat/genspec.sh

[OS-BUILD PATCH 3/16] redhat/Makefile: Rename KVERSION to SPECVERSION

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Rename KVERSION to SPECVERSION KVERSION is passed into the spec file and is easy to confuse with the kernel KVERSION. Change the name to SPECVERSION so that readers understand it is the %Version field of the specfile. As a result RPMKSUBLEVEL can be

[OS-BUILD PATCH 13/16] redhat/genspec: Rename PATCHLIST_CHANGELOG to SPECPATCHLIST_CHANGELOG

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/genspec: Rename PATCHLIST_CHANGELOG to SPECPATCHLIST_CHANGELOG Change PATCHLIST_CHANGELOG to SPECPATCHLIST_CHANGELOG so that readers understand it is passed into the spec file. Rename PATCHLIST_CHANGELOG to SPECPATCHLIST_CHANGELOG. Signed-off-by: Prarit Bhargava

[OS-BUILD PATCH 16/16] redhat/self-test: Add test to verify SPEC variables

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/self-test: Add test to verify SPEC variables This test looks at the spec file variable replacement code in redhat/genspec.sh and confirms that each variable begins with "SPEC". Signed-off-by: Prarit Bhargava diff --git a/redhat/docs/makefile-changes.rst

[OS-BUILD PATCH 2/18] redhat/Makefile: Deprecate some simple targets

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Deprecate some simple targets Deprecate some simple targets. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -418,15 +418,23 @@

[OS-BUILD PATCH 2/16] redhat/Makefile: Deprecate some simple targets

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Deprecate some simple targets Deprecate some simple targets. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -418,15 +418,23 @@

[OS-BUILD PATCH 14/16] redhat/Makefile: Rename TARFILE_RELEASE to SPECTARFILE_RELEASE

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Rename TARFILE_RELEASE to SPECTARFILE_RELEASE Change TARFILE_RELEASE to SPECTARFILE_RELEASE so that readers understand it is passed into the spec file. Rename TARFILE_RELEASE to SPECTARFILE_RELEASE. Signed-off-by: Prarit Bhargava diff --git

[OS-BUILD PATCH 1/16] redhat/Makefile: Use KVERSION

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Use KVERSION Use KVERSION where appropriate in the Makefile. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -144,8 +144,8 @@ else

[OS-BUILD PATCH 15/16] redhat/Makefile: Add 'duplicate' SPEC entries for user set variables

2022-04-22 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Add 'duplicate' SPEC entries for user set variables INCLUDE_FEDORA_FILES, INCLUDE_RHEL_FILES, and RELEASED_KERNEL are specified in Makefile.variables as they can be set in userspace. Create duplicate entries for these variables that begin with SPEC. This

[OS-BUILD PATCHv8 9/11] redhat/scripts/create-tarball.sh: Use Makefile variables

2022-04-21 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/scripts/create-tarball.sh: Use Makefile variables Use Makefile variables in redhat/scripts/create-tarball.sh. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile

[OS-BUILD PATCHv8 2/11] redhat/kernel.spec.template: Use RPM_BUILD_NCPUS

2022-04-21 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/kernel.spec.template: Use RPM_BUILD_NCPUS RPM_BUILD_NCPUS allows users to modify the max number of cpus used by the RPM build. Use the RPM_BUILD_NCPUS variable in the spec file. Signed-off-by: Prarit Bhargava diff --git a/redhat/kernel.spec.template

[OS-BUILD PATCHv8 4/11] redhat/configs/build_configs.sh: Use Makefile variables

2022-04-21 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/configs/build_configs.sh: Use Makefile variables Use Makefile variables in build_configs.sh. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -363,8 +363,8

[OS-BUILD PATCHv8 1/11] redhat/configs/generate_all_configs.sh: Use Makefile variables

2022-04-21 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/configs/generate_all_configs.sh: Use Makefile variables Use Makefile variables in generate_all_configs.sh. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@

[OS-BUILD PATCHv8 10/11] redhat/Makefile.rhpkg: Remove quotes for RHDISTGIT

2022-04-21 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile.rhpkg: Remove quotes for RHDISTGIT Remove the quotes around RHDISTGIT. This causes problems with the bash scripts in the dist-git-test target. Signed-off-by: Justin M. Forbes Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile.rhpkg

[OS-BUILD PATCHv8 8/11] redhat/Makefile: Deprecate SINGLE_TARBALL

2022-04-21 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Deprecate SINGLE_TARBALL We don't know if there are any users of the SINGLE_TARBALL variable. Mark it for deprection. This commit can be reverted if anyone complains. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index

[OS-BUILD PATCHv8 5/11] redhat/scripts/rh-dist-git.sh: Use Makefile variables

2022-04-21 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/scripts/rh-dist-git.sh: Use Makefile variables Use Makefile variables in rh-dist-git.sh. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -637,7 +637,7 @@

[OS-BUILD PATCHv8 3/11] redhat/configs/process_configs.sh: Use Makefile variables

2022-04-21 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/configs/process_configs.sh: Use Makefile variables Cleanup up parameters and use Makefile variables in process_config.sh. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++

[OS-BUILD PATCHv8 7/11] redhat/Makefile: Move SINGLE_TARBALL to Makefile.variables

2022-04-21 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Move SINGLE_TARBALL to Makefile.variables Move the SINGLE_TARBALL variable to Makefile.variables, and clean up comments. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile

[OS-BUILD PATCHv8 6/11] redhat/Makefile: Use RPMVERSION

2022-04-21 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Use RPMVERSION Use RPMVERSION where appropriate in the Makefile. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -199,7 +199,7 @@

[OS-BUILD PATCHv8 0/11] redhat: Use Makefile variables in scripts

2022-04-21 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1647 Use Makefile variables in scripts that are called from the Makefile. Signed-off-by: Prarit Bhargava --- redhat/configs/build_configs.sh | 18 ++---

[OS-BUILD PATCHv8 11/11] redhat/self-test: Clean up data set

2022-04-21 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/self-test: Clean up data set After running 'make dist-self-test-data' it was noticed that there have been changes made to the kernel.spec file since the self-test data was introduced and a few more variables need to be changed for testing purposes. Additional fix:

Re: [OS-BUILD PATCHv7 0/11] redhat: Use Makefile variables in scripts

2022-04-20 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1647#note_918402722 What command are you running? Let me try it from my side and debug. ___ kernel mailing list -- kernel@lists.fedoraproject.org To

Re: [OS-BUILD PATCHv7 0/11] redhat: Use Makefile variables in scripts

2022-04-18 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1647#note_915606379 Thanks fixed. ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to

[OS-BUILD PATCHv7 11/11] redhat/Makefile: Deprecate SINGLE_TARBALL

2022-04-18 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Deprecate SINGLE_TARBALL jforbes points out that the removal of the SINGLE_TARBALL may affect some SIGs. Since the users of the variable are unknown and maybe zero, mark it as deprecated. This commit can be reverted if anyone requests it be kept in

[OS-BUILD PATCHv7 10/11] redhat/Makefile.rhpkg: Remove quotes for RHDISTGIT

2022-04-18 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile.rhpkg: Remove quotes for RHDISTGIT Remove the quotes around RHDISTGIT. This causes problems with the bash scripts in the dist-git-test target. Signed-off-by: Justin M. Forbes Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile.rhpkg

[OS-BUILD PATCHv7 8/11] redhat/scripts/create-tarball.sh: Use Makefile variables

2022-04-18 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/scripts/create-tarball.sh: Use Makefile variables Use Makefile variables in redhat/scripts/create-tarball.sh. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile

[OS-BUILD PATCHv7 9/11] redhat/self-test: Clean up data set

2022-04-18 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/self-test: Clean up data set After running 'make dist-self-test-data' it was noticed that there have been changes made to the kernel.spec file since the self-test data was introduced and a few more variables need to be changed for testing purposes. Clean up the

[OS-BUILD PATCHv7 7/11] redhat/Makefile: Cleanup TARBALL target

2022-04-18 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Cleanup TARBALL target The TARBALL target can be cleaned up by using GITID everywhere. This results in no changes, so the SINGLE_TARBALL variable can be dropped. Additional fix: Use GITID directly in create-tarball.sh. GITID is already GITID_NORMALIZE

[OS-BUILD PATCHv7 5/11] redhat/scripts/rh-dist-git.sh: Use Makefile variables

2022-04-18 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/scripts/rh-dist-git.sh: Use Makefile variables Use Makefile variables in rh-dist-git.sh. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -637,7 +637,7 @@

[OS-BUILD PATCHv7 4/11] redhat/configs/build_configs.sh: Use Makefile variables

2022-04-18 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/configs/build_configs.sh: Use Makefile variables Use Makefile variables in build_configs.sh. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -363,8 +363,8

[OS-BUILD PATCHv7 6/11] redhat/Makefile: Use RPMVERSION

2022-04-18 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Use RPMVERSION Use RPMVERSION where appropriate in the Makefile. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -199,7 +199,7 @@

[OS-BUILD PATCHv7 2/11] redhat/kernel.spec.template: Use RPM_BUILD_NCPUS

2022-04-18 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/kernel.spec.template: Use RPM_BUILD_NCPUS RPM_BUILD_NCPUS allows users to modify the max number of cpus used by the RPM build. Use the RPM_BUILD_NCPUS variable in the spec file. Signed-off-by: Prarit Bhargava diff --git a/redhat/kernel.spec.template

[OS-BUILD PATCHv7 3/11] redhat/configs/process_configs.sh: Use Makefile variables

2022-04-18 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/configs/process_configs.sh: Use Makefile variables Cleanup up parameters and use Makefile variables in process_config.sh. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++

[OS-BUILD PATCHv7 1/11] redhat/configs/generate_all_configs.sh: Use Makefile variables

2022-04-18 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/configs/generate_all_configs.sh: Use Makefile variables Use Makefile variables in generate_all_configs.sh. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@

[OS-BUILD PATCHv7 0/11] redhat: Use Makefile variables in scripts

2022-04-18 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1647 Use Makefile variables in scripts that are called from the Makefile. Signed-off-by: Prarit Bhargava --- redhat/configs/build_configs.sh | 18 ++---

Re: [OS-BUILD PATCHv6 0/11] redhat: Use Makefile variables in scripts

2022-04-15 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1647#note_913946847 Oops. I did miss this comment. This is fixed in the latest version. ___ kernel mailing list -- kernel@lists.fedoraproject.org To

[OS-BUILD PATCHv6 9/11] redhat/self-test: Clean up data set

2022-04-15 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/self-test: Clean up data set After running 'make dist-self-test-data' it was noticed that there have been changes made to the kernel.spec file since the self-test data was introduced and a few more variables need to be changed for testing purposes. Clean up the

[OS-BUILD PATCHv6 7/11] redhat/Makefile: Cleanup TARBALL target

2022-04-15 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Cleanup TARBALL target The TARBALL target can be cleaned up by using GITID everywhere. This results in no changes, so the SINGLE_TARBALL variable can be dropped. Additional fix: Use GITID directly in create-tarball.sh. GITID is already GITID_NORMALIZE

[OS-BUILD PATCHv6 11/11] redhat/Makefile: Deprecate SINGLE_TARBALL

2022-04-15 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Deprecate SINGLE_TARBALL jforbes points out that the removal of the SINGLE_TARBALL may affect some SIGs. Since the users of the variable are unknown and maybe zero, mark it as deprecated. This commit can be reverted if anyone requests it be kept in

<    5   6   7   8   9   10   11   12   13   14   >