755 root operator /etc/defaults
755 root operator /etc/system.conf.d
755 root operator /boot
+755 root operator /boot/minix_default
755 root operator /boot/minix
555 root operator /mnt
555 root operator /proc
then make $@
exit $?
fi
-
make world
+cp /usr/mdec/boot_monitor /
+cp /boot/minix_latest/* /boot/minix_default/
-cd tools
-rm revision
-make install
-
-make cleandepend clean depend image
-rm revision
-rm -rf /boot/minix/* # on old systems might not be present
-make install
-cp ../sys/arch/i386/stand/boot/biosboot/boot_monitor /
-cp -rf /boot/minix/* /boot/minix_default
-
-cd /usr/src
if [ $MAKEMAP -ne 0 ]; then
find . -type f -perm 755 | xargs nm -n 2> /dev/null > symbols.txt
fi
-make clean
-make cleandepend
+make clean cleandepend
[ -d /boot/minix/.temp ] || exit 1
mv /boot/minix/.temp /boot/minix/"$target"
rm -f /boot/minix_latest
- ln -s /boot/minix/"$target" /boot/minix_latest
+ ln -s minix/"$target" /boot/minix_latest
else
# Install the new image.
echo "install $hdboot_t $root:/boot/$hdboot_t/$target"
chmod 755 $RELEASEDIR/usr/share/mk
cp $RELEASEDIR/usr/src/share/mk/* $RELEASEDIR/usr/share/mk/
chown -R root $RELEASEDIR/usr/share/mk
+rm -f $RELEASEDIR/usr/$SRC/tools/revision
cp chrootmake.sh $RELEASEDIR/usr/$SRC/tools/chrootmake.sh
echo " * Make hierarchy"
then echo $PKG_ADD_URL >$RELEASEDIR/usr/pkg/etc/pkgin/repositories.conf
fi
+echo " * Resetting timestamps"
+find $RELEASEDIR | xargs touch
echo " * Chroot build"
chroot $RELEASEDIR "PATH=/$XBIN:/usr/pkg/bin MAKEMAP=$MAKEMAP sh -x /usr/$SRC/tools/chrootmake.sh" || exit 1
echo " * Chroot build done"
chown -R root $RELEASEDIR/usr/src*
cp issue.install $RELEASEDIR/etc/issue
-echo " * Resetting timestamps"
-find $RELEASEDIR | xargs touch
-
echo $version_pretty, SVN revision $REVISION, generated `date` >$RELEASEDIR/etc/version
rm -rf $RELEASEDIR/tmp/*
mv $bootimage $IMG
else
cp $RELEASEDIR/usr/mdec/boot_monitor $CDFILES/boot
- cp -rf $RELEASEDIR/boot/minix_default/* $CDFILES/
+ cp -rf $RELEASEDIR/boot/minix_latest/* $CDFILES/
writeisofs -s0x0 -l MINIX -B $bootimage $boottype $CDFILES $IMG || exit 1
if [ "$HDEMU" -eq 0 ]