mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-10 10:51:11 +00:00
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.
This commit is contained in:
parent
4ca92b04a7
commit
e5e1c8dc96
@ -102,10 +102,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" ] &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user