...but if we're going to avoid using umount_partition, we need to actually unmount all the mountpoints mounted by setup_mountpoint

ubuntu/yakkety
Steve Langasek 9 years ago
parent 93314b5882
commit c62743e5f4

@ -24,4 +24,5 @@ chroot binary/boot/filesystem.dir dpkg-divert --remove --local --rename /usr/sbi
mv resolv.conf.tmp "binary/boot/filesystem.dir/etc/resolv.conf" mv resolv.conf.tmp "binary/boot/filesystem.dir/etc/resolv.conf"
umount "binary/boot/filesystem.dir/proc" umount "binary/boot/filesystem.dir/proc"
umount "binary/boot/filesystem.dir/sys" umount "binary/boot/filesystem.dir/sys"
umount "binary/boot/filesystem.dir/dev/pts"
umount "binary/boot/filesystem.dir/dev" umount "binary/boot/filesystem.dir/dev"

Loading…
Cancel
Save