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>
</profiles>
<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"/>
<systemdisk name="fedora">
<volume name="home"/>
<volume name="root"/>
<volume name="@root=root"/>
<volume name="home" parent="/"/>
</systemdisk>
<oemconfig>
<oem-resize>false</oem-resize>

View File

@ -6,12 +6,12 @@
</profile>
</profiles>
<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"/>
<systemdisk name="fedora">
<volume name="home"/>
<volume name="root"/>
<volume name="var"/>
<volume name="@root=root"/>
<volume name="home" parent="/"/>
<volume name="var" parent="/"/>
</systemdisk>
<oemconfig>
<oem-resize>false</oem-resize>

View File

@ -14,11 +14,11 @@
</profile>
</profiles>
<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"/>
<systemdisk name="fedora">
<volume name="home"/>
<volume name="root"/>
<volume name="@root=root"/>
<volume name="home" parent="/"/>
</systemdisk>
<oemconfig>
<oem-resize>false</oem-resize>