Made setup.sh more CD-aware (understand that the system looks like an
installed system already, but isn't). Install sed in /bin too, so /etc/rc can use it for some /usr magic before /usr is mounted.
This commit is contained in:
parent
0e859fd436
commit
8cd654f94f
@ -112,20 +112,25 @@ case $thisroot:$fdusr in
|
|||||||
/dev/fd*:/dev/fd*) fdroot=$thisroot # ROOT is mounted directly
|
/dev/fd*:/dev/fd*) fdroot=$thisroot # ROOT is mounted directly
|
||||||
;;
|
;;
|
||||||
*) fdroot=$thisroot # ?
|
*) fdroot=$thisroot # ?
|
||||||
echo -n "\
|
if [ -f /CD ]
|
||||||
|
then
|
||||||
|
:
|
||||||
|
else
|
||||||
|
echo -n "\
|
||||||
It looks like Minix has been installed on disk already. Are you sure you
|
It looks like Minix has been installed on disk already. Are you sure you
|
||||||
know what you are doing? [n] "
|
know what you are doing? [n] "
|
||||||
read yn
|
read yn
|
||||||
case "$yn" in
|
case "$yn" in
|
||||||
[yY]*|sure) ;;
|
[yY]*|sure) ;;
|
||||||
*) exit
|
*) exit
|
||||||
esac
|
esac
|
||||||
|
fi
|
||||||
esac
|
esac
|
||||||
|
|
||||||
echo -n "\
|
echo -n "\
|
||||||
This is the Minix installation script.
|
This is the Minix installation script.
|
||||||
|
|
||||||
Note 1: If the screen blanks suddenly then hit F3 to select \"software
|
Note 1: If the screen blanks suddenly then hit control+F3 to select \"software
|
||||||
scrolling\".
|
scrolling\".
|
||||||
|
|
||||||
Note 2: If things go wrong then hit DEL and start over.
|
Note 2: If things go wrong then hit DEL and start over.
|
||||||
@ -326,6 +331,8 @@ else
|
|||||||
cpdir -f /dev /mnt/dev # Copy any extra MAKEDEV'd devices
|
cpdir -f /dev /mnt/dev # Copy any extra MAKEDEV'd devices
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# CD remnants that aren't for the installed system
|
||||||
|
rm /mnt/etc/issue /mnt/CD 2>/dev/null
|
||||||
# Change /etc/fstab.
|
# Change /etc/fstab.
|
||||||
echo >/mnt/etc/fstab "\
|
echo >/mnt/etc/fstab "\
|
||||||
# Poor man's File System Table.
|
# Poor man's File System Table.
|
||||||
|
@ -942,6 +942,7 @@ install: \
|
|||||||
/usr/bin/rmdir \
|
/usr/bin/rmdir \
|
||||||
/usr/bin/rsh \
|
/usr/bin/rsh \
|
||||||
/usr/bin/sed \
|
/usr/bin/sed \
|
||||||
|
/bin/sed \
|
||||||
/usr/bin/shar \
|
/usr/bin/shar \
|
||||||
/usr/bin/size \
|
/usr/bin/size \
|
||||||
/usr/bin/sleep \
|
/usr/bin/sleep \
|
||||||
@ -1362,6 +1363,9 @@ install: \
|
|||||||
/usr/bin/sed: sed
|
/usr/bin/sed: sed
|
||||||
install -cs -o bin $? $@
|
install -cs -o bin $? $@
|
||||||
|
|
||||||
|
/bin/sed: sed
|
||||||
|
install -cs -o bin $? $@
|
||||||
|
|
||||||
/usr/bin/shar: shar
|
/usr/bin/shar: shar
|
||||||
install -cs -o bin $? $@
|
install -cs -o bin $? $@
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user