Use kiwi knob to set mount options and enable zstd compression

This commit is contained in:
Davide Cavalca 2022-11-05 04:54:32 +00:00
parent f29df550f6
commit 0a490d4579
2 changed files with 1 additions and 4 deletions

View File

@ -14,7 +14,7 @@
</profile> </profile>
</profiles> </profiles>
<preferences profiles="WorkstationCommon"> <preferences profiles="WorkstationCommon">
<type image="oem" filesystem="btrfs" kernelcmdline="USE_BY_UUID_DEVICE_NAMES=1 scsi_mod.use_blk_mq=1 multipath=off rhgb quiet" devicepersistency="by-uuid" bootpartition="true" bootpartsize="1000" bootfilesystem="ext4" efipartsize="250" firmware="uefi"> <type image="oem" filesystem="btrfs" kernelcmdline="USE_BY_UUID_DEVICE_NAMES=1 scsi_mod.use_blk_mq=1 multipath=off rhgb quiet" devicepersistency="by-uuid" bootpartition="true" bootpartsize="1000" bootfilesystem="ext4" efipartsize="500" firmware="uefi" fsmountoptions="x-systemd.growfs,compress=zstd:1">
<bootloader name="grub2" console="serial" timeout="1" timeout_style="countdown"/> <bootloader name="grub2" console="serial" timeout="1" timeout_style="countdown"/>
<systemdisk name="fedora"> <systemdisk name="fedora">
<volume name="home"/> <volume name="home"/>

View File

@ -1,3 +0,0 @@
#!/bin/sh
gawk -i inplace '$2 == "/" { $4 = $4",x-systemd.growfs" } { print $0 }' /etc/fstab