umount /usr first
This commit is contained in:
parent
b561091d13
commit
c273654032
1 changed files with 1 additions and 0 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue