buildsys: use fakeroot for dpkg-deb
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 6 Feb 2017 10:47:37 +0000 (11:47 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 6 Feb 2017 10:47:37 +0000 (11:47 +0100)
Makefile

index ca82850..1c5aa0d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -60,7 +60,7 @@ ${DEB}:
        install -D -m 0644 copyright build/${DOCDIR}/copyright
        install -m 0644 changelog.Debian build/${DOCDIR}/
        gzip -9 -n build/${DOCDIR}/changelog.Debian
-       dpkg-deb --build build
+       fakeroot dpkg-deb --build build
        mv build.deb ${DEB}
        #rm -rf build
        lintian ${DEB}