From c62743e5f42b56aaaf9b648ae3572ee4b6e2b619 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Wed, 10 Feb 2016 09:29:55 -0800 Subject: [PATCH] ...but if we're going to avoid using umount_partition, we need to actually unmount all the mountpoints mounted by setup_mountpoint --- live-build/ubuntu-cpc/hooks/030-root-tarball.binary | 1 + 1 file changed, 1 insertion(+) diff --git a/live-build/ubuntu-cpc/hooks/030-root-tarball.binary b/live-build/ubuntu-cpc/hooks/030-root-tarball.binary index 8fde069f..fd818595 100755 --- a/live-build/ubuntu-cpc/hooks/030-root-tarball.binary +++ b/live-build/ubuntu-cpc/hooks/030-root-tarball.binary @@ -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" umount "binary/boot/filesystem.dir/proc" umount "binary/boot/filesystem.dir/sys" +umount "binary/boot/filesystem.dir/dev/pts" umount "binary/boot/filesystem.dir/dev"