]> Zhao Yanbai Git Server - minix.git/commitdiff
moving commands and contrib out of /usr/src broke the bin chowning
authorBen Gras <ben@minix3.org>
Mon, 12 Sep 2005 22:08:15 +0000 (22:08 +0000)
committerBen Gras <ben@minix3.org>
Mon, 12 Sep 2005 22:08:15 +0000 (22:08 +0000)
tools/release.sh

index 897f16de4d8921068a647f41a9f78971cf3ccc6e..fa8c874d27547f3d3c5a2a7ac22a9deb55925135 100755 (executable)
@@ -160,7 +160,7 @@ mkdir -m 1777 $RELEASEDIR/tmp
 mount $TMPDISK2 $RELEASEDIR/tmp
 
 echo " * Zeroing $TMPDISK"
-dd if=/dev/zero of=$TMPDISK bs=$BS count=$USRBLOCKS
+#dd if=/dev/zero of=$TMPDISK bs=$BS count=$USRBLOCKS
 mkfs -B $BS -b $USRBLOCKS $TMPDISK || exit
 echo " * Mounting $TMPDISK as $RELEASEDIR/usr"
 mount $TMPDISK $RELEASEDIR/usr || exit
@@ -213,7 +213,7 @@ then
        chroot $RELEASEDIR '/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
+       chown -R bin $RELEASEDIR/usr/src*
        cp issue.install $RELEASEDIR/etc/issue
 
        if [ "$HDEMU" -ne 0 ]; then hdemu_root_changes; fi