From c273654032644acb37d8dc3368e696bc869ad7b6 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Mon, 6 Feb 2006 16:40:15 +0000 Subject: [PATCH] umount /usr first --- commands/scripts/setup.sh | 1 + 1 file changed, 1 insertion(+) 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'