aboutsummaryrefslogtreecommitdiff
diff options
from:
to:
context:
space:
mode:
authorGravatar Neal Gompa <ngompa@fedoraproject.org> 2025-01-10 15:11:08 -0500
committerGravatar Neal Gompa <ngompa@fedoraproject.org> 2025-01-10 15:11:08 -0500
commit7f04952a024c088270727807a31f9283c99b9b13 (patch)
tree9c993d097b0e6c6e51ad6c532aaaa7cc11adec68
parent88b268c9f16b64a96d43d46cd3db0c00a30efb0b (diff)
downloadkiwi-descriptions-7f04952a024c088270727807a31f9283c99b9b13.tar.gz
kiwi-descriptions-7f04952a024c088270727807a31f9283c99b9b13.zip
Add COSMIC spin variants
Reference: https://fedoraproject.org/wiki/Changes/FedoraCOSMIC
-rw-r--r--Fedora.kiwi2
-rw-r--r--components/desktops/cosmic.xml11
-rwxr-xr-xconfig.sh3
-rwxr-xr-xscripts/fedora-live-iso-label-generator1
-rw-r--r--teams/cosmic.xml15
5 files changed, 32 insertions, 0 deletions
diff --git a/Fedora.kiwi b/Fedora.kiwi
index ab31548..9cb7f3d 100644
--- a/Fedora.kiwi
+++ b/Fedora.kiwi
@@ -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"/>
diff --git a/components/desktops/cosmic.xml b/components/desktops/cosmic.xml
new file mode 100644
index 0000000..4d010a7
--- /dev/null
+++ b/components/desktops/cosmic.xml
@@ -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>
diff --git a/config.sh b/config.sh
index 2bd6ef3..74ce9f6 100755
--- a/config.sh
+++ b/config.sh
@@ -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
diff --git a/scripts/fedora-live-iso-label-generator b/scripts/fedora-live-iso-label-generator
index b1350de..7a3b943 100755
--- a/scripts/fedora-live-iso-label-generator
+++ b/scripts/fedora-live-iso-label-generator
@@ -32,6 +32,7 @@ volume_id_substitutions = {
"Cinnamon": "Cinn",
"Cloud": "C",
"Comp_Neuro": "CNr",
+ "COSMIC": "COSMIC",
"Design_suite": "Dsgn",
"Electronic_Lab": "Elec",
"Everything": "E",
diff --git a/teams/cosmic.xml b/teams/cosmic.xml
new file mode 100644
index 0000000..6fe057d
--- /dev/null
+++ b/teams/cosmic.xml
@@ -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>