From: Ben Gras Date: Fri, 16 Sep 2005 12:10:15 +0000 (+0000) Subject: Build as bin X-Git-Tag: v3.1.0~79 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=15d95873ef6e289cf524c7d1aed571874eafd654;p=minix.git Build as bin --- diff --git a/tools/release.sh b/tools/release.sh index 531a84246..f805ab4d2 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -204,13 +204,14 @@ then chown -R bin $RELEASEDIR/usr/src find $RELEASEDIR/usr/src -type d | xargs chmod 755 find $RELEASEDIR/usr/src -type f | xargs chmod 644 + find $RELEASEDIR/usr/src -name configure | xargs chmod 755 # Bug tracking system not for on cd rm -rf $RELEASEDIR/usr/src/doc/bugs # Make sure the CD knows it's a CD date >$RELEASEDIR/CD echo " * Chroot build" - chroot $RELEASEDIR '/bin/sh -x /usr/src/tools/chrootmake.sh' || exit 1 + chroot $RELEASEDIR "/usr/bin su bin -c '/bin/sh -x /usr/src/tools/chrootmake.sh'" || exit 1 echo " * Chroot build done" # The build process leaves some file in src as root. chown -R bin $RELEASEDIR/usr/src*