From d2e70ab48e3dfc314765a37e218472492eb852d8 Mon Sep 17 00:00:00 2001 From: Dimitri John Ledkov Date: Mon, 1 Feb 2021 14:45:42 +0000 Subject: [PATCH] Perform fsck on all rootfs. LP: #1912835 (cherry picked from commit 33b7272a2331279b4c7aa8de73ed8a9069d0bd39) --- live-build/buildd/hooks/02-disk-image-uefi.binary | 2 +- live-build/ubuntu-core/hooks/05-create_minimal_fstab.chroot | 2 +- live-build/ubuntu-cpc/hooks.d/chroot/999-cpc-fixes.chroot | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/live-build/buildd/hooks/02-disk-image-uefi.binary b/live-build/buildd/hooks/02-disk-image-uefi.binary index 35208c7a..7baa2286 100755 --- a/live-build/buildd/hooks/02-disk-image-uefi.binary +++ b/live-build/buildd/hooks/02-disk-image-uefi.binary @@ -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 } diff --git a/live-build/ubuntu-core/hooks/05-create_minimal_fstab.chroot b/live-build/ubuntu-core/hooks/05-create_minimal_fstab.chroot index 461c752f..17c2e931 100755 --- a/live-build/ubuntu-core/hooks/05-create_minimal_fstab.chroot +++ b/live-build/ubuntu-core/hooks/05-create_minimal_fstab.chroot @@ -2,5 +2,5 @@ cat >>/etc/fstab< /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