mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 05:48:01 +01:00
do not run complete debian build under fakeroot
Use dpkg-buildpackage -rfakeroot option to only run the parts of the package generation process which require (fake)root privileges under fakeroot. (e.g. debian/rules build should not be run as root.)
This commit is contained in:
committed by
Carlos R. Mafra
parent
fef3ee5742
commit
1150f741ec
2
debian/nightly_build.sh
vendored
2
debian/nightly_build.sh
vendored
@@ -78,7 +78,7 @@ doBuild() {
|
||||
if [ -n "${WM_GPG_KEY}" ]; then
|
||||
ARGS="-k${WM_GPG_KEY}"
|
||||
fi
|
||||
fakeroot dpkg-buildpackage $ARGS >>${BUILDLOG} 2>&1
|
||||
dpkg-buildpackage -rfakeroot $ARGS >>${BUILDLOG} 2>&1
|
||||
}
|
||||
|
||||
install -d `dirname $BUILDLOG`
|
||||
|
||||
Reference in New Issue
Block a user