From 8e344b1f6b4773baceeda15f640592cb9e094b5e Mon Sep 17 00:00:00 2001 From: Daniel Watkins Date: Wed, 6 Jun 2018 14:53:58 -0700 Subject: [PATCH] Add comment explaining /lib/modules creation --- live-build/ubuntu-cpc/hooks/031-root-xz.binary | 3 +++ 1 file changed, 3 insertions(+) diff --git a/live-build/ubuntu-cpc/hooks/031-root-xz.binary b/live-build/ubuntu-cpc/hooks/031-root-xz.binary index 4e52369b..ab91adb1 100644 --- a/live-build/ubuntu-cpc/hooks/031-root-xz.binary +++ b/live-build/ubuntu-cpc/hooks/031-root-xz.binary @@ -19,6 +19,9 @@ setup_mountpoint $tardir env DEBIAN_FRONTEND=noninteractive chroot $tardir apt-get --purge remove --assume-yes '^linux-.*' 'linux-base+' env DEBIAN_FRONTEND=noninteractive chroot $tardir apt-get --purge remove --assume-yes '^grub-.*' env DEBIAN_FRONTEND=noninteractive chroot $tardir apt-get autoremove --purge --assume-yes + +# This directory is required downstream by MAAS (LP: #1543204), so ensure it +# exists chroot $tardir mkdir -p /lib/modules teardown_mountpoint $tardir