[pve-devel] [PATCH lvm 1/4] actually apply config patches for real

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed Apr 19 11:55:23 CEST 2017


Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 903fc85..d220523 100644
--- a/Makefile
+++ b/Makefile
@@ -31,8 +31,10 @@ ${DEBS}: ${LVMSRC}
 	tar xf ${LVMSRC}
 	echo "git clone git://git.proxmox.com/git/lvm.git\\ngit checkout ${GITVERSION}" > ${LVMDIR}/debian/SOURCE
 	for pkg in $(LVMPKGLIST) $(DMPKGLIST); do echo "debian/SOURCE" >> $(LVMDIR)/debian/$${pkg}.docs; done
-	cp -v patchdir/*.patch ${LVMDIR}/debian/patches
-	cat patchdir/series >> ${LVMDIR}/debian/patches/series
+	# Note: the patches in debian/patches are not used by the build process, so apply them manually here!
+	cd ${LVMDIR}; ln -s ../patchdir patches
+	cd ${LVMDIR}; quilt push -a
+	cd ${LVMDIR}; rm -rf .pc ./patches
 	mv ${LVMDIR}/debian/changelog ${LVMDIR}/debian/changelog.org
 	cat changelog.Debian ${LVMDIR}/debian/changelog.org > ${LVMDIR}/debian/changelog
 	cd ${LVMDIR}; dpkg-buildpackage -b -uc -us
-- 
2.1.4





More information about the pve-devel mailing list