From 1f497fe04f2b8fdf5596d7b9d209a82818871458 Mon Sep 17 00:00:00 2001 From: Dave Jones Date: Tue, 28 Mar 2023 16:00:38 +0100 Subject: [PATCH] Get rid of growfs option in fstab --- .../ubuntu/hooks/099-ubuntu-image-customization.chroot | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/live-build/ubuntu/hooks/099-ubuntu-image-customization.chroot b/live-build/ubuntu/hooks/099-ubuntu-image-customization.chroot index 6e54e2c2..5fa3f713 100644 --- a/live-build/ubuntu/hooks/099-ubuntu-image-customization.chroot +++ b/live-build/ubuntu/hooks/099-ubuntu-image-customization.chroot @@ -17,12 +17,10 @@ if [ "$IMAGEFORMAT" == "none" ]; then /usr/sbin/oem-config-prepare --quiet touch "/var/lib/oem-config/run" - # Update the fstab to include the "discard" option, and - # "x-systemd.growfs" to ensure the root partition is expanded on first - # boot + # Update the fstab to include the "discard" option awk \ -v root_fs_label="writable" \ - -v root_fs_options="discard,x-systemd.growfs" \ + -v root_fs_options="discard" \ ' BEGIN { OFS="\t"; count=0; }