[Devel] [PATCH RHEL9 COMMIT] Makefile: Fix "make rpm-pkg" in 5.14+
Konstantin Khorenko
khorenko at virtuozzo.com
Mon Aug 1 13:31:24 MSK 2022
The commit is pushed to "branch-rh9-5.14.0-70.13.1.vz9.16.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh9-5.14.0-70.13.1.vz9.16.6
------>
commit bead4b88c60a438cbb1206fabc0802ae57b259fb
Author: Alexander Atanasov <alexander.atanasov at virtuozzo.com>
Date: Thu Jul 28 20:37:16 2022 +0300
Makefile: Fix "make rpm-pkg" in 5.14+
When making the tar for rpmbuild two files are missed so it fails.
Signed-off-by: Alexander Atanasov <alexander.atanasov at virtuozzo.com>
---
scripts/Makefile.package | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/Makefile.package b/scripts/Makefile.package
index b74c65284fb2..4d76ab02913f 100644
--- a/scripts/Makefile.package
+++ b/scripts/Makefile.package
@@ -30,7 +30,8 @@ KBUILD_PKG_ROOTCMD ?="fakeroot -u"
export KDEB_SOURCENAME
# Include only those top-level files that are needed by make, plus the GPL copy
TAR_CONTENT := $(KBUILD_ALLDIRS) .config .scmversion Makefile \
- Kbuild Kconfig COPYING $(wildcard localversion*)
+ Kbuild Kconfig COPYING $(wildcard localversion*) \
+ Kconfig.redhat Makefile.rhelver
MKSPEC := $(srctree)/scripts/package/mkspec
quiet_cmd_src_tar = TAR $(2).tar.gz
More information about the Devel
mailing list