Add initial definitions for the Jam lab
These are ported over from fedora-kickstarts with some small cleanups.
This commit is contained in:
@@ -61,6 +61,7 @@
|
|||||||
<include from="this://./teams/designsuite.xml"/>
|
<include from="this://./teams/designsuite.xml"/>
|
||||||
<include from="this://./teams/games.xml"/>
|
<include from="this://./teams/games.xml"/>
|
||||||
<include from="this://./teams/security.xml"/>
|
<include from="this://./teams/security.xml"/>
|
||||||
|
<include from="this://./teams/jam.xml"/>
|
||||||
<packages type="bootstrap">
|
<packages type="bootstrap">
|
||||||
<package name="filesystem"/>
|
<package name="filesystem"/>
|
||||||
</packages>
|
</packages>
|
||||||
|
|||||||
@@ -296,6 +296,37 @@ if [[ "$kiwi_profiles" == *"Container"* ]] || [[ "$kiwi_profiles" == *"FEX"* ]];
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "$kiwi_profiles" == *"Jam"* ]]; then
|
||||||
|
# Override boot configuration in Anaconda to enable threaded IRQs
|
||||||
|
cat > /usr/share/anaconda/post-scripts/85-jam-threadirqs.ks << THREADIRQS_EOF
|
||||||
|
%post
|
||||||
|
|
||||||
|
echo "Enable threaded IRQs"
|
||||||
|
grubby --update-kernel=ALL --args="threadirqs"
|
||||||
|
%end
|
||||||
|
THREADIRQS_EOF
|
||||||
|
|
||||||
|
# Override new user configuration to add audio groups
|
||||||
|
sed -e "s/UserGroups=.*/UserGroups=wheel,jackuser,audio/" -i /etc/xdg/plasmasetuprc
|
||||||
|
|
||||||
|
# Override livesys-kde settings
|
||||||
|
cat >> /var/lib/livesys/livesys-session-extra << EOF
|
||||||
|
|
||||||
|
#setup kickoff favorites
|
||||||
|
/bin/mkdir -p /etc/skel/.config
|
||||||
|
|
||||||
|
JAMFAVORITES=/usr/share/applications/firefox.desktop,/usr/share/applications/mozilla-thunderbird.desktop,/usr/share/applications/studio-controls.desktop,/usr/share/applications/ardour6.desktop,/usr/share/applications/carla.desktop,/usr/share/applications/org.kde.konsole.desktop,/usr/share/applications/org.kde.dolphin.desktop,/usr/share/applications/systemsettings.desktop
|
||||||
|
JAMFAVORITESLIVE=/usr/share/applications/liveinst.desktop,\$JAMFAVORITES
|
||||||
|
|
||||||
|
cat <<FOE >> /etc/skel/.config/kickoffrc
|
||||||
|
[Favorites]
|
||||||
|
FavoriteURLs=\$JAMFAVORITES
|
||||||
|
FOE
|
||||||
|
|
||||||
|
/usr/sbin/usermod -a -G jackuser,audio liveuser
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ "$kiwi_profiles" == *"Design_suite"* ]]; then
|
if [[ "$kiwi_profiles" == *"Design_suite"* ]]; then
|
||||||
# Add link to lists of tutorials
|
# Add link to lists of tutorials
|
||||||
cat >> /usr/share/applications/list-design-tutorials.desktop << FOE
|
cat >> /usr/share/applications/list-design-tutorials.desktop << FOE
|
||||||
|
|||||||
@@ -0,0 +1,50 @@
|
|||||||
|
<image>
|
||||||
|
<profiles>
|
||||||
|
<profile name="JamDesktop" description="Desktop packages for Jam">
|
||||||
|
<requires profile="KDE-Desktop"/>
|
||||||
|
</profile>
|
||||||
|
<profile name="Jam_KDE-Live" description="Jam KDE Lab Live DVD">
|
||||||
|
<requires profile="JamDesktop"/>
|
||||||
|
<requires profile="LiveInstall"/>
|
||||||
|
</profile>
|
||||||
|
<profile name="Jam_KDE-Disk" description="Jam KDE Lab Install Disk">
|
||||||
|
<requires profile="JamDesktop"/>
|
||||||
|
<requires profile="BootDiskCore"/>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
|
<packages type="bootstrap" patternType="plusRecommended" profiles="JamDesktop">
|
||||||
|
<package name="fedora-release-kde"/>
|
||||||
|
</packages>
|
||||||
|
<packages type="image" patternType="plusRecommended" profiles="JamDesktop">
|
||||||
|
<!-- Installing the default/mandatory packages for audio production -->
|
||||||
|
<namedCollection name="audio"/>
|
||||||
|
<!-- PipeWire -->
|
||||||
|
<package name="pipewire"/>
|
||||||
|
<!-- sound analysis, none of these are packaged yet -->
|
||||||
|
<!-- <package name="praat"/> --> <!-- rhbz#666656 -->
|
||||||
|
<!-- <package name="friture"/> -->
|
||||||
|
<!-- writing & publishing -->
|
||||||
|
<package name="emacs"/>
|
||||||
|
<package name="emacs-color-theme"/>
|
||||||
|
<package name="vim-enhanced"/>
|
||||||
|
<package name="nano"/>
|
||||||
|
<!-- fedora jam theming (to be customized) -->
|
||||||
|
<package name="fedora-jam-backgrounds"/>
|
||||||
|
<package name="fedora-jam-kde-theme"/>
|
||||||
|
<!-- Misc tools -->
|
||||||
|
<package name="multimedia-menus"/>
|
||||||
|
<package name="kernel-tools"/>
|
||||||
|
<package name="screen"/>
|
||||||
|
<!-- Add Mozilla Thunderbird -->
|
||||||
|
<package name="thunderbird"/>
|
||||||
|
<!-- Remove packages not needed -->
|
||||||
|
<ignore name="akregator"/>
|
||||||
|
<ignore name="kaddressbook"/>
|
||||||
|
<ignore name="kmail"/>
|
||||||
|
<ignore name="kontact"/>
|
||||||
|
<ignore name="korganizer"/>
|
||||||
|
<ignore name="non-mixer"/>
|
||||||
|
<ignore name="non-session-manager"/>
|
||||||
|
<ignore name="non-sequencer"/>
|
||||||
|
</packages>
|
||||||
|
</image>
|
||||||
Reference in New Issue
Block a user