Skip to content

Commit

Permalink
data/profile.d: Add profiles for KDE & Kinoite Spins
Browse files Browse the repository at this point in the history
Both profiles are based on Workstation but use the generic Fedora Linux
branding until we make specific ones for those two spins.

Fedora Kinoite is a new Fedora variant similar to Fedora Silverblue,
introduced in Fedora 35.

See https://fedoraproject.org/wiki/Changes/Fedora_Kinoite
  • Loading branch information
travier committed Aug 27, 2021
1 parent 3d9f464 commit 8c4637b
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
15 changes: 15 additions & 0 deletions data/profile.d/fedora-kde.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Anaconda configuration file for Fedora KDE Spin.

[Profile]
# Define the profile.
profile_id = fedora-kde
base_profile = fedora-workstation

[Profile Detection]
# Match os-release values.
os_id = fedora
variant_id = kde

# Use the generic Fedora Linux stylesheet as we don't have a specific one yet
[User Interface]
custom_stylesheet = /usr/share/anaconda/pixmaps/fedora.css
15 changes: 15 additions & 0 deletions data/profile.d/fedora-kinoite.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Anaconda configuration file for Fedora Kinoite.

[Profile]
# Define the profile.
profile_id = fedora-kinoite
base_profile = fedora-workstation

[Profile Detection]
# Match os-release values.
os_id = fedora
variant_id = kinoite

# Use the generic Fedora Linux stylesheet as we don't have a specific one yet
[User Interface]
custom_stylesheet = /usr/share/anaconda/pixmaps/fedora.css
12 changes: 12 additions & 0 deletions tests/unit_tests/pyanaconda_tests/core/test_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,18 @@ def test_fedora_profiles(self):
["fedora.conf", "fedora-workstation.conf", "fedora-silverblue.conf"],
WORKSTATION_PARTITIONING
)
self._check_default_profile(
"fedora-kde",
("fedora", "kde"),
["fedora.conf", "fedora-workstation.conf", "fedora-kde.conf"],
WORKSTATION_PARTITIONING
)
self._check_default_profile(
"fedora-kinoite",
("fedora", "kinoite"),
["fedora.conf", "fedora-workstation.conf", "fedora-kinoite.conf"],
WORKSTATION_PARTITIONING
)
self._check_default_profile(
"fedora-iot",
("fedora", "iot"),
Expand Down

0 comments on commit 8c4637b

Please sign in to comment.