Must specify -rfakeroot to dpkg-buildpackage in Ubuntu.
authorFredrik Tolf <fredrik@dolda2000.com>
Sun, 6 Jan 2008 04:18:47 +0000 (05:18 +0100)
committerFredrik Tolf <fredrik@dolda2000.com>
Sun, 6 Jan 2008 04:18:47 +0000 (05:18 +0100)
dcp-init

index ab3dfc3..68296d5 100755 (executable)
--- a/dcp-init
+++ b/dcp-init
@@ -109,7 +109,7 @@ initapt() {
 
 set -e
 
-cmd=(dpkg-buildpackage -b)
+cmd=(dpkg-buildpackage -b -rfakeroot)
 if [ -n "\$CONF_MAINTAINER" ]; then
     cmd=("\${cmd[@]}" "-m\$CONF_MAINTAINER")
 fi