[Devel] [PATCH RHEL7 COMMIT] fix for make rpm-pkg
Konstantin Khorenko
khorenko at virtuozzo.com
Fri Jul 29 19:54:20 MSK 2022
The commit is pushed to "branch-rh7-3.10.0-1160.66.1.vz7.188.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-1160.66.1.vz7.188.6
------>
commit b97ab826353c68a0fd0583e004aae745eb382c14
Author: Alexander Atanasov <alexander.atanasov at virtuozzo.com>
Date: Thu Jul 28 20:32:28 2022 +0300
fix for make rpm-pkg
Patch fixes 'make rpm-pkg' broken in rh76-based OpenVZ kernels
+ cd kernel-3.10.0_957.1.3.ovz.83.4+
+ make clean
Makefile:914: Makefile.qlock: No such file or directory
make[2]: *** No rule to make target `Makefile.qlock'. Stop.
+ exit 0
Link: https://lists.openvz.org/pipermail/devel/2019-January/073049.html
Signed-off-by: Vasily Averin <vvs at virtuozzo.com>
---
scripts/package/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/package/Makefile b/scripts/package/Makefile
index c5d473393816f..46703e21c698c 100644
--- a/scripts/package/Makefile
+++ b/scripts/package/Makefile
@@ -28,7 +28,7 @@ RPM := $(shell if [ -x "/usr/bin/rpmbuild" ]; then echo rpmbuild; \
# Remove hyphens since they have special meaning in RPM filenames
KERNELPATH := kernel-$(subst -,_,$(KERNELRELEASE))
# Include only those top-level files that are needed by make, plus the GPL copy
-TAR_CONTENT := $(KBUILD_ALLDIRS) kernel.spec .config .scmversion Makefile \
+TAR_CONTENT := $(KBUILD_ALLDIRS) kernel.spec .config .scmversion Makefile Makefile.qlock\
Kbuild Kconfig COPYING $(wildcard localversion*)
TAR_CONTENT := $(addprefix $(KERNELPATH)/,$(TAR_CONTENT))
MKSPEC := $(srctree)/scripts/package/mkspec
More information about the Devel
mailing list