Imported 2.715

No reason for CPC update specified.
impish
CloudBuilder 4 years ago
parent 2e810ea85b
commit 5dea3d9a1f

8
debian/changelog vendored

@ -1,3 +1,11 @@
livecd-rootfs (2.715) hirsute; urgency=medium
[ Gauthier Jolly ]
* ubuntu-cpc: change mount options in fstab to be align with defaults
(LP: #1902103, LP: #1881006)
-- Robert C Jennings <robert.jennings@canonical.com> Tue, 02 Mar 2021 11:40:56 -0600
livecd-rootfs (2.714) hirsute; urgency=medium livecd-rootfs (2.714) hirsute; urgency=medium
* Suppress cloud-init output during boot of live server ISO. * Suppress cloud-init output during boot of live server ISO.

@ -94,7 +94,7 @@ create_and_mount_uefi_partition() {
mount "${uefi_dev}" "$mountpoint"/boot/efi mount "${uefi_dev}" "$mountpoint"/boot/efi
cat << EOF >> "mountpoint/etc/fstab" cat << EOF >> "mountpoint/etc/fstab"
LABEL=UEFI /boot/efi vfat defaults 0 1 LABEL=UEFI /boot/efi vfat umask=0077 0 1
EOF EOF
} }

@ -72,7 +72,7 @@ if [ -n "${root_fs_label}" ]; then
sed -i "s,^[^#${bl}]*\([${bl}]*/[${bl}].*\),${lstr}\1," "${rootd}/etc/fstab" sed -i "s,^[^#${bl}]*\([${bl}]*/[${bl}].*\),${lstr}\1," "${rootd}/etc/fstab"
fi fi
cat > /etc/fstab << EOM cat > /etc/fstab << EOM
LABEL=cloudimg-rootfs / ext4 defaults 0 1 LABEL=cloudimg-rootfs / ext4 discard,errors=remount-ro 0 1
EOM EOM
# for quantal and newer, add /etc/overlayroot.local.conf # for quantal and newer, add /etc/overlayroot.local.conf

Loading…
Cancel
Save