From bcb2bcc1cd3b4925e573a609f5b328a2bec741e2 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Tue, 19 Sep 2017 13:17:26 -0700 Subject: [PATCH] Remove spurious call to 'sync'; we don't need to flush all disk caches on the system to cleanly unmount a partition. --- debian/changelog | 7 +++++++ live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index a72bd105..820ed91b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +livecd-rootfs (2.459) UNRELEASED; urgency=medium + + * Remove spurious call to 'sync'; we don't need to flush all disk caches + on the system to cleanly unmount a partition. + + -- Steve Langasek Tue, 19 Sep 2017 13:15:33 -0700 + livecd-rootfs (2.458) artful; urgency=medium * Move default netplan config for server-live image to where hook will diff --git a/live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary b/live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary index 47ec647f..dd48af3f 100755 --- a/live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary +++ b/live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary @@ -110,7 +110,6 @@ install_grub() { chroot mountpoint apt-get -y clean rm mountpoint/tmp/device.map - sync umount mountpoint/boot/efi mount umount_partition mountpoint