platforms: Set subvolume mountpoints correctly

Without these being set, kiwi sets up a weird subvolume layout by
default.
This commit is contained in:
Neal Gompa 2023-07-31 15:23:04 -04:00
parent e35b149784
commit a37f7758c2
3 changed files with 10 additions and 10 deletions

View File

@ -6,11 +6,11 @@
</profile> </profile>
</profiles> </profiles>
<preferences profiles="Minimal"> <preferences profiles="Minimal">
<type image="oem" filesystem="btrfs" kernelcmdline="" target_blocksize="4096" bootpartition="true" bootpartsize="1000" bootfilesystem="ext4" efipartsize="500" firmware="uefi" fsmountoptions="x-systemd.growfs,compress=zstd:1"> <type image="oem" filesystem="btrfs" kernelcmdline="" target_blocksize="4096" bootpartition="true" bootpartsize="1000" bootfilesystem="ext4" efipartsize="500" firmware="uefi" btrfs_root_is_subvolume="true" btrfs_set_default_volume="false" rootfs_label="fedora" fsmountoptions="x-systemd.growfs,compress=zstd:1">
<bootloader name="grub2" console="console" timeout="5" timeout_style="hidden"/> <bootloader name="grub2" console="console" timeout="5" timeout_style="hidden"/>
<systemdisk name="fedora"> <systemdisk name="fedora">
<volume name="home"/> <volume name="@root=root"/>
<volume name="root"/> <volume name="home" parent="/"/>
</systemdisk> </systemdisk>
<oemconfig> <oemconfig>
<oem-resize>false</oem-resize> <oem-resize>false</oem-resize>

View File

@ -6,12 +6,12 @@
</profile> </profile>
</profiles> </profiles>
<preferences profiles="Server"> <preferences profiles="Server">
<type image="oem" filesystem="btrfs" kernelcmdline="" target_blocksize="4096" bootpartition="true" bootpartsize="1000" bootfilesystem="xfs" efipartsize="500" firmware="uefi" fsmountoptions="x-systemd.growfs,compress=zstd:1"> <type image="oem" filesystem="btrfs" kernelcmdline="" target_blocksize="4096" bootpartition="true" bootpartsize="1000" bootfilesystem="xfs" efipartsize="500" firmware="uefi" btrfs_root_is_subvolume="true" btrfs_set_default_volume="false" rootfs_label="fedora" fsmountoptions="x-systemd.growfs,compress=zstd:1">
<bootloader name="grub2" console="console" timeout="5" timeout_style="hidden"/> <bootloader name="grub2" console="console" timeout="5" timeout_style="hidden"/>
<systemdisk name="fedora"> <systemdisk name="fedora">
<volume name="home"/> <volume name="@root=root"/>
<volume name="root"/> <volume name="home" parent="/"/>
<volume name="var"/> <volume name="var" parent="/"/>
</systemdisk> </systemdisk>
<oemconfig> <oemconfig>
<oem-resize>false</oem-resize> <oem-resize>false</oem-resize>

View File

@ -14,11 +14,11 @@
</profile> </profile>
</profiles> </profiles>
<preferences profiles="WorkstationCommon"> <preferences profiles="WorkstationCommon">
<type image="oem" filesystem="btrfs" kernelcmdline="rhgb quiet" target_blocksize="4096" bootpartition="true" bootpartsize="1000" bootfilesystem="ext4" efipartsize="500" firmware="uefi" fsmountoptions="x-systemd.growfs,compress=zstd:1"> <type image="oem" filesystem="btrfs" kernelcmdline="rhgb quiet" target_blocksize="4096" bootpartition="true" bootpartsize="1000" bootfilesystem="ext4" efipartsize="500" firmware="uefi" btrfs_root_is_subvolume="true" btrfs_set_default_volume="false" rootfs_label="fedora" fsmountoptions="x-systemd.growfs,compress=zstd:1">
<bootloader name="grub2" console="console" timeout="5" timeout_style="hidden"/> <bootloader name="grub2" console="console" timeout="5" timeout_style="hidden"/>
<systemdisk name="fedora"> <systemdisk name="fedora">
<volume name="home"/> <volume name="@root=root"/>
<volume name="root"/> <volume name="home" parent="/"/>
</systemdisk> </systemdisk>
<oemconfig> <oemconfig>
<oem-resize>false</oem-resize> <oem-resize>false</oem-resize>