From 28c10e02db651c816e3fb8a10ee5320c42fdd3c0 Mon Sep 17 00:00:00 2001 From: Ben Howard Date: Mon, 8 Feb 2016 10:23:14 -0700 Subject: [PATCH] ubuntu-cpc: in hooks/030-root-tarball.binary create /lib/modules to fix (LP: 1543204). --- debian/changelog | 2 ++ live-build/ubuntu-cpc/hooks/030-root-tarball.binary | 1 + 2 files changed, 3 insertions(+) diff --git a/debian/changelog b/debian/changelog index 59f7e40b..f8d03b7f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -24,6 +24,8 @@ livecd-rootfs (2.376ubuntu1) UNRELEASED; urgency=medium [ Ben Howard ] * ubuntu-cpc: fix hooks/032-disk-image.binary call to create_empty_partition, which requires five args due to "-u" + * ubuntu-cpc: in hooks/030-root-tarball.binary create /lib/modules to fix + (LP: 1543204). [ Dimitri John Ledkov ] * Do not remove linux-base, when purging all the linux-*, in the tarball diff --git a/live-build/ubuntu-cpc/hooks/030-root-tarball.binary b/live-build/ubuntu-cpc/hooks/030-root-tarball.binary index bea831a8..a5b1c3ad 100755 --- a/live-build/ubuntu-cpc/hooks/030-root-tarball.binary +++ b/live-build/ubuntu-cpc/hooks/030-root-tarball.binary @@ -22,6 +22,7 @@ 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-.*' '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 +chroot binary/boot/filesystem.dir mkdir /lib/modules chroot binary/boot/filesystem.dir rm /usr/sbin/grub-probe chroot binary/boot/filesystem.dir dpkg-divert --remove --local --rename /usr/sbin/grub-probe