create a minimal build profile

this will:
1. allow developers to quickly test the build process
2. give users the option of installing a minimalistic environment
This commit is contained in:
Leif Liddy 2022-12-23 21:32:21 +01:00 committed by ngompa
parent b4777d0f33
commit d569746e81
2 changed files with 21 additions and 0 deletions

View File

@ -21,6 +21,7 @@
<include from="this://./components/base.xml"/> <include from="this://./components/base.xml"/>
<include from="this://./components/desktop-environments.xml"/> <include from="this://./components/desktop-environments.xml"/>
<include from="this://./components/users.xml"/> <include from="this://./components/users.xml"/>
<include from="this://./platforms/minimal.xml"/>
<include from="this://./platforms/server.xml"/> <include from="this://./platforms/server.xml"/>
<include from="this://./platforms/workstation.xml"/> <include from="this://./platforms/workstation.xml"/>
<packages type="bootstrap"> <packages type="bootstrap">

20
platforms/minimal.xml Normal file
View File

@ -0,0 +1,20 @@
<image>
<profiles>
<profile name="minimal" description="Minimal Environment">
<requires profile="BootCore"/>
<requires profile="Common"/>
</profile>
</profiles>
<preferences profiles="minimal">
<type image="oem" filesystem="btrfs" kernelcmdline="scsi_mod.use_blk_mq=1 multipath=off" target_blocksize="4096" bootpartition="true" bootpartsize="1000" bootfilesystem="ext4" efipartsize="500" firmware="uefi" 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"/>
</systemdisk>
<oemconfig>
<oem-resize>false</oem-resize>
</oemconfig>
</type>
</preferences>
</image>