mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-12 13:57:08 +00:00
Remove boot/grub leftovers from our root squashfs, left behind after
grub purge.
This commit is contained in:
parent
ca8e7a90d5
commit
ad78957f01
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
||||
livecd-rootfs (2.477) UNRELEASED; urgency=medium
|
||||
|
||||
* Remove boot/grub leftovers from our root squashfs, left behind after
|
||||
grub purge.
|
||||
|
||||
-- Steve Langasek <steve.langasek@ubuntu.com> Fri, 13 Oct 2017 14:18:45 -0400
|
||||
|
||||
livecd-rootfs (2.476) artful; urgency=medium
|
||||
|
||||
* snap.subiquity.started.service must be RemainAfterExit=yes to satisfy
|
||||
|
@ -31,6 +31,7 @@ chroot binary/boot/squashfs.dir chmod +x /usr/sbin/grub-probe
|
||||
env DEBIAN_FRONTEND=noninteractive chroot binary/boot/squashfs.dir apt-get --purge remove --assume-yes '^linux-.*' 'linux-base+'
|
||||
env DEBIAN_FRONTEND=noninteractive chroot binary/boot/squashfs.dir apt-get --purge remove --assume-yes '^grub-.*'
|
||||
env DEBIAN_FRONTEND=noninteractive chroot binary/boot/squashfs.dir apt-get autoremove --purge --assume-yes
|
||||
rm -rf binary/boot/squashfs.dir/boot/grub
|
||||
chroot binary/boot/squashfs.dir mkdir /lib/modules
|
||||
|
||||
chroot binary/boot/squashfs.dir rm /usr/sbin/grub-probe
|
||||
|
Loading…
x
Reference in New Issue
Block a user