From: Ben Gras Date: Mon, 6 Feb 2006 16:40:15 +0000 (+0000) Subject: umount /usr first X-Git-Tag: v3.1.2a~372 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/invmod.png?a=commitdiff_plain;h=c273654032644acb37d8dc3368e696bc869ad7b6;p=minix.git umount /usr first --- diff --git a/commands/scripts/setup.sh b/commands/scripts/setup.sh index 427d225a1..a0c4c89d0 100755 --- a/commands/scripts/setup.sh +++ b/commands/scripts/setup.sh @@ -641,6 +641,7 @@ fi echo "Install is done. Running postinstall script.." # Now chroot-mount the new system and run the postinstall script +umount /dev/$usr || exit 1 mount /dev/$root /mnt || exit 1 mount /dev/$usr /mnt/usr || exit 1 chroot /mnt '/bin/sh /usr/src/commands/scripts/postinstall.sh'