]> Zhao Yanbai Git Server - minix.git/commitdiff
Fix release script
authorThomas Veerman <thomas@minix3.org>
Tue, 19 Jun 2012 08:50:33 +0000 (08:50 +0000)
committerThomas Veerman <thomas@minix3.org>
Tue, 19 Jun 2012 08:50:33 +0000 (08:50 +0000)
releasetools/release.sh

index 1302e9eb0c76d5b2b52cb9987da86c1fec9d9fc7..8a7931cccc688007b108373d8536a8b1bd5ef9b1 100755 (executable)
@@ -199,7 +199,7 @@ echo " * Transfering bootstrap dirs to $RELEASEDIR"
 # Actual binaries
 cp -p /bin/* /usr/bin/* /usr/sbin/* /sbin/* $RELEASEDIR/$XBIN
 cp -rp /bin/cat /bin/sh /bin/echo /bin/rm /bin/date /bin/ls $RELEASEDIR/bin
-cp -rp /usr/bin/make /usr/bin/yacc /usr/bin/lex /usr/bin/install \
+cp -rp /usr/bin/make /usr/bin/yacc /usr/bin/lex /usr/bin/install /usr/bin/m4 \
        /usr/bin/grep /usr/bin/egrep /usr/bin/awk /usr/bin/sed $RELEASEDIR/usr/bin
 
 # For dynamically linked binaries: put interpreter there the
@@ -262,6 +262,8 @@ cp $RELEASEDIR/usr/src/share/mk/* $RELEASEDIR/usr/share/mk/
 chown -R root $RELEASEDIR/usr/share/mk
 rm -f $RELEASEDIR/usr/$SRC/releasetools/revision
 cp chrootmake.sh $RELEASEDIR/usr/$SRC/releasetools/chrootmake.sh
+mkdir -p $RELEASEDIR/etc
+cp $RELEASEDIR/usr/src/etc/group $RELEASEDIR/etc
 
 echo " * Make hierarchy"
 sh -c "$LD_LIB chroot $RELEASEDIR sh -c \"$BUILDENV sh -x /usr/$SRC/releasetools/chrootmake.sh etcfiles\"" || exit 1