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
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
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
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
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
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.
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
On 4/22/22 12:38, Prarit Bhargava (via Email Bridge) wrote:
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
Damn Email Bridge. I really thought Depends
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
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
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
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
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
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
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.
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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 @@
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 @@
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
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
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
From: Mark Salter
redhat/configs: aarch64: enable CPU_FREQ_GOV_SCHEDUTIL
RHEL8 has CPU_FREQ_GOV_SCHEDUTIL=y as default and individual arches
needed to disable it if desired. Ark/Centos-Stream/RHEL9 has the
default =n and individual arches must enable. Aarch64 was missed in
this transition, so
38 matches
Mail list logo