From f9cae3ff7fd6a77147f4faa68e474e9b35c0cbb6 Mon Sep 17 00:00:00 2001 From: Daniel Watkins Date: Thu, 7 Jun 2018 16:24:59 -0700 Subject: [PATCH] Restore removal of /boot/grub from rootfs artifacts --- live-build/ubuntu-cpc/hooks/031-0-create-root-dir.binary | 1 + 1 file changed, 1 insertion(+) diff --git a/live-build/ubuntu-cpc/hooks/031-0-create-root-dir.binary b/live-build/ubuntu-cpc/hooks/031-0-create-root-dir.binary index 786548cc..9a916658 100755 --- a/live-build/ubuntu-cpc/hooks/031-0-create-root-dir.binary +++ b/live-build/ubuntu-cpc/hooks/031-0-create-root-dir.binary @@ -19,6 +19,7 @@ setup_mountpoint $rootfs_dir env DEBIAN_FRONTEND=noninteractive chroot $rootfs_dir apt-get --purge remove --assume-yes '^linux-.*' 'linux-base+' env DEBIAN_FRONTEND=noninteractive chroot $rootfs_dir apt-get --purge remove --assume-yes '^grub-.*' env DEBIAN_FRONTEND=noninteractive chroot $rootfs_dir apt-get autoremove --purge --assume-yes +rm -rf $rootfs_dir/boot/grub teardown_mountpoint $rootfs_dir