]> git.proxmox.com Git - lvm.git/commitdiff
actually apply config patches for real
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 19 Apr 2017 08:29:15 +0000 (10:29 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 19 Apr 2017 09:53:00 +0000 (11:53 +0200)
Makefile

index 903fc85e01c2a302cd69ac5d21b3417623b77323..d220523d5b3f6318a296f897615ad60e772a8cc1 100644 (file)
--- 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