mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-31 04:31:32 +00:00
Get rid of growfs option in fstab
This commit is contained in:
parent
021960a5ab
commit
1f497fe04f
@ -17,12 +17,10 @@ if [ "$IMAGEFORMAT" == "none" ]; then
|
|||||||
/usr/sbin/oem-config-prepare --quiet
|
/usr/sbin/oem-config-prepare --quiet
|
||||||
touch "/var/lib/oem-config/run"
|
touch "/var/lib/oem-config/run"
|
||||||
|
|
||||||
# Update the fstab to include the "discard" option, and
|
# Update the fstab to include the "discard" option
|
||||||
# "x-systemd.growfs" to ensure the root partition is expanded on first
|
|
||||||
# boot
|
|
||||||
awk \
|
awk \
|
||||||
-v root_fs_label="writable" \
|
-v root_fs_label="writable" \
|
||||||
-v root_fs_options="discard,x-systemd.growfs" \
|
-v root_fs_options="discard" \
|
||||||
'
|
'
|
||||||
BEGIN { OFS="\t"; count=0; }
|
BEGIN { OFS="\t"; count=0; }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user