From 4e77d07a6c00fa544585ebec7ea01123eec1a5dd Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Tue, 12 Mar 2019 12:25:30 -0700 Subject: [PATCH] Also don't create the update-motd directory since we're not writing to it. It will almost certainly be created at some point but we don't need to create it here. --- live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot | 4 ---- 1 file changed, 4 deletions(-) diff --git a/live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot b/live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot index 67fdec82..56b6950c 100755 --- a/live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot +++ b/live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot @@ -126,10 +126,6 @@ cat > /etc/fstab << EOM LABEL=cloudimg-rootfs / ext4 defaults 0 0 EOM -## Make sure that the update-motd.d directory exists -[ ! -e "${rootd}/etc/update-motd.d" ] && - mkdir -p "${rootd}/etc/update-motd.d" - # for quantal and newer, add /etc/overlayroot.local.conf # but do not overwrite anything that somehow got there if [ -f "${rootd}/etc/overlayroot.conf" ] &&