From 21b502d78c8efcca18e76b94c1d862a8feee3b86 Mon Sep 17 00:00:00 2001 From: Dimitri John Ledkov Date: Mon, 8 Feb 2016 16:07:17 +0000 Subject: [PATCH] Do not remove linux-base, when purging all the linux-*, in the tarball build. Otherwise ubuntu-minimal is removed, and things get crazy. --- debian/changelog | 4 ++++ live-build/ubuntu-cpc/hooks/030-root-tarball.binary | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index da76cf5b..59f7e40b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -25,6 +25,10 @@ livecd-rootfs (2.376ubuntu1) UNRELEASED; urgency=medium * ubuntu-cpc: fix hooks/032-disk-image.binary call to create_empty_partition, which requires five args due to "-u" + [ Dimitri John Ledkov ] + * Do not remove linux-base, when purging all the linux-*, in the tarball + build. Otherwise ubuntu-minimal is removed, and things get crazy. + -- Ben Howard Sun, 07 Feb 2016 16:59:41 -0700 livecd-rootfs (2.375) xenial; urgency=medium diff --git a/live-build/ubuntu-cpc/hooks/030-root-tarball.binary b/live-build/ubuntu-cpc/hooks/030-root-tarball.binary index cefae924..bea831a8 100755 --- a/live-build/ubuntu-cpc/hooks/030-root-tarball.binary +++ b/live-build/ubuntu-cpc/hooks/030-root-tarball.binary @@ -19,7 +19,7 @@ chroot binary/boot/filesystem.dir dpkg-divert --local --rename /usr/sbin/grub-pr chroot binary/boot/filesystem.dir touch /usr/sbin/grub-probe chroot binary/boot/filesystem.dir chmod +x /usr/sbin/grub-probe -env DEBIAN_FRONTEND=noninteractive chroot binary/boot/filesystem.dir apt-get --purge remove --assume-yes '^linux-.*' +env DEBIAN_FRONTEND=noninteractive chroot binary/boot/filesystem.dir apt-get --purge remove --assume-yes '^linux-.*' 'linux-base+' env DEBIAN_FRONTEND=noninteractive chroot binary/boot/filesystem.dir apt-get --purge remove --assume-yes '^grub-.*' env DEBIAN_FRONTEND=noninteractive chroot binary/boot/filesystem.dir apt-get autoremove --purge --assume-yes