[Devel] [PATCH v1 1/1] Fix make rpm-pkg in 5.14+

Alexander Atanasov alexander.atanasov at virtuozzo.com
Thu Jul 28 20:37:16 MSK 2022


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
-- 
2.31.1



More information about the Devel mailing list