From 9daf532fd4e04d4719357cdc2acddf5d71ca4783 Mon Sep 17 00:00:00 2001 From: Daniel Watkins Date: Wed, 8 Apr 2015 09:34:15 +0100 Subject: [PATCH] Put our fstab in place. --- live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot | 3 +++ 1 file changed, 3 insertions(+) diff --git a/live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot b/live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot index c0badb8e..c721ea4e 100755 --- a/live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot +++ b/live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot @@ -91,6 +91,9 @@ if [ -n "${root_fs_label}" ]; then lstr="LABEL=${root_fs_label}" sed -i "s,^[^#${bl}]*\([${bl}]*/[${bl}].*\),${lstr}\1," "${rootd}/etc/fstab" fi +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" ] &&