mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-10 04:37:29 +00:00
Perform fsck on all rootfs.
LP: #1912835 (cherry picked from commit 33b7272a2331279b4c7aa8de73ed8a9069d0bd39)
This commit is contained in:
parent
e2b5f91355
commit
40d9405aa3
@ -49,7 +49,7 @@ create_and_mount_uefi_partition() {
|
||||
mount "${uefi_dev}" "$mountpoint"/boot/efi
|
||||
|
||||
cat << EOF >> "mountpoint/etc/fstab"
|
||||
LABEL=UEFI /boot/efi vfat defaults 0 0
|
||||
LABEL=UEFI /boot/efi vfat defaults 0 1
|
||||
EOF
|
||||
}
|
||||
|
||||
|
@ -2,5 +2,5 @@
|
||||
|
||||
cat >>/etc/fstab<<EOT
|
||||
# Minimal setup required for systemd to provide a r/w FS
|
||||
/dev/root / rootfs defaults 0 0
|
||||
/dev/root / rootfs defaults 0 1
|
||||
EOT
|
||||
|
@ -72,7 +72,7 @@ if [ -n "${root_fs_label}" ]; then
|
||||
sed -i "s,^[^#${bl}]*\([${bl}]*/[${bl}].*\),${lstr}\1," "${rootd}/etc/fstab"
|
||||
fi
|
||||
cat > /etc/fstab << EOM
|
||||
LABEL=cloudimg-rootfs / ext4 defaults 0 0
|
||||
LABEL=cloudimg-rootfs / ext4 defaults 0 1
|
||||
EOM
|
||||
|
||||
# for quantal and newer, add /etc/overlayroot.local.conf
|
||||
|
@ -48,7 +48,7 @@ hv_sock
|
||||
EOF
|
||||
|
||||
cat << EOF >> "${scratch_d}/etc/fstab"
|
||||
LABEL=$FS_LABEL / ext4 defaults 0 0
|
||||
LABEL=$FS_LABEL / ext4 defaults 0 1
|
||||
EOF
|
||||
|
||||
# Customise xrdp
|
||||
|
Loading…
x
Reference in New Issue
Block a user