Restore removal of /boot/grub from rootfs artifacts

ubuntu/cosmic
Daniel Watkins 7 years ago
parent ab85167fb5
commit f9cae3ff7f

@ -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

Loading…
Cancel
Save