Add COSMIC spin variants

Reference: https://fedoraproject.org/wiki/Changes/FedoraCOSMIC
This commit is contained in:
Neal Gompa 2025-01-10 15:11:08 -05:00
parent 88b268c9f1
commit 7f04952a02
5 changed files with 32 additions and 0 deletions

View File

@ -31,6 +31,7 @@
<include from="this://./components/desktops/sway.xml"/>
<include from="this://./components/desktops/budgie.xml"/>
<include from="this://./components/desktops/miraclewm.xml"/>
<include from="this://./components/desktops/cosmic.xml"/>
<include from="this://./components/liveinstall.xml"/>
<include from="this://./components/users.xml"/>
<include from="this://./teams/cloud/cloud.xml"/>
@ -49,6 +50,7 @@
<include from="this://./teams/sway.xml"/>
<include from="this://./teams/budgie.xml"/>
<include from="this://./teams/miraclewm.xml"/>
<include from="this://./teams/cosmic.xml"/>
<include from="this://./teams/asahi.xml"/>
<packages type="bootstrap">
<package name="basesystem"/>

View File

@ -0,0 +1,11 @@
<image>
<profiles>
<profile name="COSMIC-Desktop" description="COSMIC Desktop">
<requires profile="DesktopCommon"/>
</profile>
</profiles>
<packages type="image" patternType="plusRecommended" profiles="COSMIC-Desktop">
<!-- install env-group to resolve RhBug:1891500 -->
<namedCollection name="cosmic-desktop-environment"/>
</packages>
</image>

View File

@ -69,6 +69,9 @@ if [[ "$kiwi_profiles" == *"Live"* ]]; then
if [[ "$kiwi_profiles" == *"Cinnamon"* ]]; then
echo 'livesys_session="cinnamon"' > /etc/sysconfig/livesys
fi
if [[ "$kiwi_profiles" == *"COSMIC"* ]]; then
echo 'livesys_session="cosmic"' > /etc/sysconfig/livesys
fi
if [[ "$kiwi_profiles" == *"i3"* ]]; then
echo 'livesys_session="i3"' > /etc/sysconfig/livesys
fi

View File

@ -32,6 +32,7 @@ volume_id_substitutions = {
"Cinnamon": "Cinn",
"Cloud": "C",
"Comp_Neuro": "CNr",
"COSMIC": "COSMIC",
"Design_suite": "Dsgn",
"Electronic_Lab": "Elec",
"Everything": "E",

15
teams/cosmic.xml Normal file
View File

@ -0,0 +1,15 @@
<image>
<profiles>
<profile name="COSMIC-Live" description="COSMIC Spin Live DVD">
<requires profile="COSMIC-Desktop"/>
<requires profile="LiveInstall"/>
</profile>
<profile name="COSMIC-Disk" description="COSMIC Spin Install Disk">
<requires profile="COSMIC-Desktop"/>
<requires profile="BootDiskCore"/>
</profile>
</profiles>
<packages type="bootstrap" patternType="plusRecommended" profiles="COSMIC-Live,COSMIC-Disk">
<package name="fedora-release-cosmic"/>
</packages>
</image>