buildsys: use fakeroot for dpkg-deb

This commit is contained in:
Wolfgang Bumiller
2017-02-06 11:50:15 +01:00
parent 4ddba65091
commit 2978f2d3c6

View File

@ -57,7 +57,7 @@ ${DEB}:
install -m 0644 triggers debian/DEBIAN
gzip -9 debian/${DOCDIR}/changelog.Debian
echo "git clone git://git.proxmox.com/git/pve-storage.git\\ngit checkout ${GITVERSION}" > debian/${DOCDIR}/SOURCE
dpkg-deb --build debian
fakeroot dpkg-deb --build debian
mv debian.deb ${DEB}
rm -rf debian
lintian ${DEB}