mirror of
https://pagure.io/fedora-kickstarts.git
synced 2025-12-09 00:20:31 +08:00
Compare commits
43 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a6d3b1c456 | ||
|
|
d293e561f4 | ||
|
|
2459d8254b | ||
|
|
6817b9661f | ||
|
|
9fe671fe49 | ||
|
|
a355ff602c | ||
|
|
16d3e54ff7 | ||
|
|
9d0ef8b63c | ||
|
|
c5098636e8 | ||
|
|
ba2ab327a1 | ||
|
|
d62f2f1688 | ||
|
|
524149a63e | ||
|
|
077aacb29d | ||
|
|
7b8922bfca | ||
|
|
4dd1659d02 | ||
|
|
b899a6e8ef | ||
|
|
58fd2bb1b3 | ||
|
|
3dc4603931 | ||
|
|
93c87e947c | ||
|
|
22c37e61ca | ||
|
|
78114bb82f | ||
|
|
b44bc5a578 | ||
|
|
ca778f7bc6 | ||
|
|
29181aa376 | ||
|
|
97fbfec937 | ||
|
|
aca277c870 | ||
|
|
0ecfd28e29 | ||
|
|
a17b0e0933 | ||
|
|
6ea47a9570 | ||
|
|
f2c71083fe | ||
|
|
3543c6c06a | ||
|
|
16ee97ef54 | ||
|
|
8d322093ec | ||
|
|
54dd9b2395 | ||
|
|
987c20e3b4 | ||
|
|
cbf8ff5eb6 | ||
|
|
aeb995e9ad | ||
|
|
dc042df773 | ||
|
|
27454a96cd | ||
|
|
becb8f7b89 | ||
|
|
ddfcfc68fa | ||
|
|
3d0080cf04 | ||
|
|
d39c5a37b9 |
@@ -4,5 +4,5 @@
|
||||
<%page args="ostree_osname, ostree_ref"/>
|
||||
append usr/share/anaconda/interactive-defaults.ks "ostreesetup --nogpg --osname=${ostree_osname} --remote=${ostree_osname} --url=file:////run/install/repo/content/repo --ref=${ostree_ref}\n"
|
||||
append usr/share/anaconda/interactive-defaults.ks "services --disabled cloud-init,cloud-config,cloud-final,cloud-init-local\n"
|
||||
append usr/share/anaconda/interactive-defaults.ks "%post --erroronfail\nrm -f /etc/ostree/remotes.d/${ostree_osname}.conf\nostree remote add --set=gpg-verify=false fedora-atomic 'http://dl.fedoraproject.org/pub/fedora/linux/atomic/22/'\n%end\n"
|
||||
append usr/share/anaconda/interactive-defaults.ks "%post --erroronfail\nrm -f /etc/ostree/remotes.d/${ostree_osname}.conf\nostree remote add --set=gpg-verify=false fedora-atomic 'https://dl.fedoraproject.org/pub/fedora/linux/atomic/22/'\n%end\n"
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ rootpw vagrant
|
||||
# even on VirtualBox virt, we get a primary network device with "eth0" as the name
|
||||
# This simplifies things and allows a single disk image for both supported Vagrant
|
||||
# platforms (virtualbox and kvm)
|
||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0" --extlinux
|
||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0"
|
||||
|
||||
%packages
|
||||
# The default koji Vagrantfile configuration uses rsync to sync files between
|
||||
|
||||
@@ -52,7 +52,12 @@ reboot
|
||||
# Package list.
|
||||
# FIXME: instLangs does not work, so there's a hack below
|
||||
# (see https://bugzilla.redhat.com/show_bug.cgi?id=1051816)
|
||||
%packages --instLangs=en
|
||||
# FIXME: instLangs bug has been fixed but now having instLangs
|
||||
# with an arg causes no langs to get installed because of BZ1262040
|
||||
# which yields the errors in BZ1261249. For now fix by not using
|
||||
# --instLangs at all
|
||||
#%packages --instLangs=en
|
||||
%packages
|
||||
|
||||
kernel-core
|
||||
@^cloud-server-environment
|
||||
@@ -62,10 +67,14 @@ kernel-core
|
||||
|
||||
# Some things from @core we can do without in a minimal install
|
||||
-biosdevname
|
||||
-plymouth
|
||||
# Need to also add back plymouth in order to mask failure of
|
||||
# systemd-vconsole-setup.service. BZ#1272684. Comment out for now
|
||||
#-plymouth
|
||||
-NetworkManager
|
||||
-iprutils
|
||||
-kbd
|
||||
# Now that BZ#1199868 is fixed kbd really gets removed but it breaks
|
||||
# systemd-vconsole-setup.service on boot. Comment out for now
|
||||
#-kbd
|
||||
-uboot-tools
|
||||
-kernel
|
||||
-grub2
|
||||
@@ -117,8 +126,9 @@ echo .
|
||||
|
||||
# this is installed by default but we don't need it in virt
|
||||
# Commenting out the following for #1234504
|
||||
#echo "Removing linux-firmware package."
|
||||
#dnf -C -y erase linux-firmware
|
||||
# rpm works just fine for removing this, no idea why dnf can't cope
|
||||
echo "Removing linux-firmware package."
|
||||
rpm -e linux-firmware
|
||||
|
||||
# Remove firewalld; was supposed to be optional in F18+, but is pulled in
|
||||
# in install/image building.
|
||||
@@ -247,5 +257,8 @@ dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
|
||||
rm -f /var/tmp/zeros
|
||||
echo "(Don't worry -- that out-of-space error was expected.)"
|
||||
|
||||
# For trac ticket https://fedorahosted.org/cloud/ticket/128
|
||||
rm -f /etc/sysconfig/network-scripts/ifcfg-ens3
|
||||
|
||||
%end
|
||||
|
||||
|
||||
@@ -108,8 +108,10 @@ ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
|
||||
echo .
|
||||
|
||||
# this is installed by default but we don't need it in virt
|
||||
# Commenting out the following for #1234504
|
||||
# rpm works just fine for removing this, no idea why dnf can't cope
|
||||
echo "Removing linux-firmware package."
|
||||
yum -C -y remove linux-firmware
|
||||
rpm -e linux-firmware
|
||||
|
||||
# Remove firewalld; was supposed to be optional in F18+, but is required to
|
||||
# be present for install/image building.
|
||||
|
||||
@@ -99,8 +99,10 @@ ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
|
||||
echo .
|
||||
|
||||
# this is installed by default but we don't need it in virt
|
||||
# Commenting out the following for #1234504
|
||||
# rpm works just fine for removing this, no idea why dnf can't cope
|
||||
echo "Removing linux-firmware package."
|
||||
yum -C -y remove linux-firmware
|
||||
rpm -e linux-firmware
|
||||
|
||||
# Remove firewalld; was supposed to be optional in F18+, but is required to
|
||||
# be present for install/image building.
|
||||
|
||||
@@ -51,10 +51,17 @@ userdel -r none
|
||||
LANG="en_US"
|
||||
echo "%_install_lang $LANG" > /etc/rpm/macros.image-language-conf
|
||||
|
||||
# Carry these configs for both dnf and yum for users who are calling
|
||||
# yum-deprecated directly. This will keep the experience between both
|
||||
# consistent
|
||||
awk '(NF==0&&!done){print "override_install_langs='$LANG'\ntsflags=nodocs";done=1}{print}' \
|
||||
< /etc/yum.conf > /etc/yum.conf.new
|
||||
mv /etc/yum.conf.new /etc/yum.conf
|
||||
|
||||
awk '(NF==0&&!done){print "override_install_langs='$LANG'\ntsflags=nodocs";done=1}{print}' \
|
||||
< /etc/dnf/dnf.conf > /etc/dnf/dnf.conf.new
|
||||
mv /etc/dnf/dnf.conf.new /etc/dnf/dnf.conf
|
||||
|
||||
echo "Import RPM GPG key"
|
||||
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||
basearch=$(uname -i)
|
||||
|
||||
@@ -16,12 +16,12 @@
|
||||
# use the source repo, we can't just include fedora-repo.ks
|
||||
|
||||
# In the master branch the rawhide repo commands should be uncommented.
|
||||
#repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch --excludepkgs=fedora-productimg-workstation,fedora-productimg-server
|
||||
#repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch --excludepkgs=fedora-productimg-workstation,fedora-productimg-server
|
||||
repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch --excludepkgs=fedora-productimg-workstation,fedora-productimg-server
|
||||
repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch --excludepkgs=fedora-productimg-workstation,fedora-productimg-server
|
||||
|
||||
# In non-master branches the fedora repo commands should be uncommented
|
||||
repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch --excludepkgs=fedora-productimg-workstation,fedora-productimg-server
|
||||
repo --name=fedora-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch --excludepkgs=fedora-productimg-workstation,fedora-productimg-server
|
||||
#repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch --excludepkgs=fedora-productimg-workstation,fedora-productimg-server
|
||||
#repo --name=fedora-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch --excludepkgs=fedora-productimg-workstation,fedora-productimg-server
|
||||
|
||||
# Package manifest for the compose. Uses repo group metadata to translate groups.
|
||||
# (default groups for the configured repos are added by --default)
|
||||
|
||||
@@ -16,12 +16,12 @@
|
||||
# use the source repo, we can't just include fedora-repo.ks
|
||||
|
||||
# In the master branch the rawhide repo commands should be uncommented.
|
||||
#repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-workstation
|
||||
#repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-workstation
|
||||
repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-workstation
|
||||
repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-workstation
|
||||
|
||||
# In non-master branches the fedora repo commands should be uncommented
|
||||
repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-workstation
|
||||
repo --name=fedora-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-workstation
|
||||
#repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-workstation
|
||||
#repo --name=fedora-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-workstation
|
||||
|
||||
# Package manifest for the compose. Uses repo group metadata to translate groups.
|
||||
# (default groups for the configured repos are added by --default)
|
||||
@@ -71,6 +71,7 @@ dracut-*
|
||||
@standard
|
||||
@core
|
||||
@hardware-support
|
||||
@networkmanager-submodules
|
||||
|
||||
# Fedora Server.
|
||||
# Including this causes the fedora-release-server package to be included,
|
||||
@@ -107,7 +108,7 @@ dracut-*
|
||||
@network-server
|
||||
@printing
|
||||
@smb-server
|
||||
@virtualization
|
||||
@virtualization-headless
|
||||
@load-balancer
|
||||
@ha
|
||||
|
||||
|
||||
@@ -16,12 +16,12 @@
|
||||
# use the source repo, we can't just include fedora-repo.ks
|
||||
|
||||
# In the master branch the rawhide repo commands should be uncommented.
|
||||
#repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-server
|
||||
#repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-server
|
||||
repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-server
|
||||
repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-server
|
||||
|
||||
# In non-master branches the fedora repo commands should be uncommented
|
||||
repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-server
|
||||
repo --name=fedora-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-server
|
||||
#repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-server
|
||||
#repo --name=fedora-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-server
|
||||
|
||||
%include fedora-workstation-packages.ks
|
||||
|
||||
|
||||
@@ -8,6 +8,9 @@
|
||||
|
||||
### The KDE-Desktop
|
||||
|
||||
### Browser
|
||||
firefox
|
||||
|
||||
### fixes
|
||||
|
||||
# use kde-print-manager instead of system-config-printer
|
||||
|
||||
@@ -15,7 +15,7 @@ selinux --enforcing
|
||||
firewall --enabled --service=mdns
|
||||
xconfig --startxonboot
|
||||
part / --size 4096 --fstype ext4
|
||||
services --enabled=NetworkManager --disabled=network,sshd
|
||||
services --enabled=NetworkManager,ModemManager --disabled=network,sshd
|
||||
|
||||
%include fedora-repo.ks
|
||||
|
||||
|
||||
@@ -22,10 +22,6 @@ PREFERRED=/usr/bin/cinnamon-session
|
||||
DISPLAYMANAGER=/usr/sbin/lightdm
|
||||
EOF
|
||||
|
||||
# exclude GNOME-specific menu items
|
||||
desktop-file-edit --set-key=NoDisplay --set-value=true /usr/share/applications/fedora-release-notes.webapp.desktop
|
||||
desktop-file-edit --set-key=NoDisplay --set-value=true /usr/share/applications/yelp.desktop
|
||||
|
||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||
|
||||
# set up lightdm autologin
|
||||
|
||||
@@ -15,7 +15,7 @@ part / --size 8192
|
||||
%packages
|
||||
# graphics
|
||||
blender
|
||||
LuxRender-blender
|
||||
#LuxRender-blender
|
||||
YafaRay-blender
|
||||
bluefish
|
||||
colord-extra-profiles
|
||||
@@ -75,6 +75,10 @@ lato-fonts
|
||||
open-sans-fonts
|
||||
overpass-fonts
|
||||
|
||||
# Extra wallpapers
|
||||
f23-backgrounds-extras-base
|
||||
f23-backgrounds-extras-gnome
|
||||
|
||||
# removal of unneeded applications
|
||||
-gnome-boxes
|
||||
-gthumb
|
||||
@@ -97,7 +101,7 @@ cat >> /usr/share/applications/list-design-tutorials.desktop << FOE
|
||||
Name=List of design tutorials
|
||||
GenericName=List of Tutorials for Designers
|
||||
Comment=Reference of Design Related Tutorials
|
||||
Exec=xdg-open http://fedoraproject.org/wiki/Design_Suite/Tutorials
|
||||
Exec=xdg-open https://fedoraproject.org/wiki/Design_Suite/Tutorials
|
||||
Type=Application
|
||||
Icon=applications-graphics
|
||||
Categories=Graphics;Documentation;
|
||||
@@ -110,7 +114,7 @@ cat >> /usr/share/applications/fedora-design-suite.desktop << FOE
|
||||
Name=Design Suite Info
|
||||
GenericName=About Design Suite
|
||||
Comment=Wiki page of Design Suite
|
||||
Exec=xdg-open http://fedoraproject.org/wiki/Design_Suite
|
||||
Exec=xdg-open https://fedoraproject.org/wiki/Design_Suite
|
||||
Type=Application
|
||||
Icon=applications-internet
|
||||
Categories=Documentation;
|
||||
@@ -123,7 +127,7 @@ cat >> /usr/share/applications/fedora-design-team.desktop << FOE
|
||||
Name=Design Team Info
|
||||
GenericName=About Design Team
|
||||
Comment=Wiki page of Design Team
|
||||
Exec=xdg-open http://fedoraproject.org/wiki/Design
|
||||
Exec=xdg-open https://fedoraproject.org/wiki/Design
|
||||
Type=Application
|
||||
Icon=applications-internet
|
||||
Categories=Documentation;
|
||||
@@ -134,4 +138,3 @@ chmod a+x /usr/share/applications/fedora-design-team.desktop
|
||||
glib-compile-schemas /usr/share/glib-2.0/schemas
|
||||
|
||||
%end
|
||||
|
||||
|
||||
@@ -20,6 +20,9 @@ part / --size 10240
|
||||
# will likely put the games spin over size and it is freeze time.
|
||||
-libreoffice*
|
||||
|
||||
# Extra screensavers isn't much help for the games spin
|
||||
-xscreensaver-extras
|
||||
|
||||
# Allow joysticks and game pads to work
|
||||
joystick-support
|
||||
|
||||
@@ -62,15 +65,15 @@ supertux
|
||||
ultimatestunts
|
||||
warzone2100
|
||||
wesnoth
|
||||
worminator
|
||||
# worminator # Would pull in fluid-soundfont-lite-patches
|
||||
warmux
|
||||
xmoto
|
||||
|
||||
# traditional (small)
|
||||
|
||||
abe
|
||||
alex4
|
||||
ballz
|
||||
# alex4 # Would pull in fluid-soundfont-lite-patches
|
||||
# ballz # Would pull in fluid-soundfont-lite-patches
|
||||
blobwars
|
||||
bombardier
|
||||
cdogs-sdl
|
||||
@@ -85,11 +88,11 @@ hedgewars
|
||||
kcheckers
|
||||
knights
|
||||
lbrickbuster2
|
||||
liquidwar
|
||||
# liquidwar # Would pull in fluid-soundfont-lite-patches
|
||||
londonlaw
|
||||
lordsawar
|
||||
lure
|
||||
machineball
|
||||
# machineball # Would pull in fluid-soundfont-lite-patches
|
||||
nethack
|
||||
openlierox
|
||||
pachi
|
||||
@@ -97,7 +100,7 @@ pioneers
|
||||
quarry
|
||||
Ri-li
|
||||
rogue
|
||||
scorchwentbonkers
|
||||
# scorchwentbonkers # Would pull in fluid-soundfont-lite-patches
|
||||
seahorse-adventures
|
||||
solarwolf
|
||||
sopwith
|
||||
@@ -109,11 +112,11 @@ xblast
|
||||
|
||||
auriferous
|
||||
alienblaster
|
||||
duel3
|
||||
# duel3 # Would pull in fluid-soundfont-lite-patches
|
||||
lmarbles
|
||||
powermanga
|
||||
raidem
|
||||
raidem-music
|
||||
# raidem # Would pull in fluid-soundfont-lite-patches
|
||||
# raidem-music # Would pull in fluid-soundfont-lite-patches
|
||||
trackballs
|
||||
trackballs-music
|
||||
|
||||
@@ -123,7 +126,7 @@ ballbuster
|
||||
CriticalMass
|
||||
dd2
|
||||
KoboDeluxe
|
||||
lacewing
|
||||
# lacewing # Would pull in fluid-soundfont-lite-patches
|
||||
Maelstrom
|
||||
methane
|
||||
njam
|
||||
@@ -132,13 +135,13 @@ shippy
|
||||
tecnoballz
|
||||
wordwarvi
|
||||
xgalaxy
|
||||
zasx
|
||||
# zasx # Would pull in fluid-soundfont-lite-patches
|
||||
|
||||
# falling blocks games (small)
|
||||
|
||||
amoebax
|
||||
crack-attack
|
||||
crystal-stacker
|
||||
# crystal-stacker # Would pull in fluid-soundfont-lite-patches
|
||||
gemdropx
|
||||
gweled
|
||||
|
||||
@@ -150,7 +153,7 @@ pingus
|
||||
# puzzles (small)
|
||||
|
||||
escape
|
||||
gbrainy
|
||||
# gbrainy Removed for space - only game that pulls in mono
|
||||
magicor
|
||||
mirrormagic
|
||||
pipenightdreams
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
# https://fedoraproject.org/wiki/User:jvlomax
|
||||
# Brendan Jones <brendan.jones.it@gmail.com>
|
||||
|
||||
%include fedora-livecd-kde.ks
|
||||
%include fedora-live-kde.ks
|
||||
|
||||
# DVD size partition
|
||||
part / --size 10240 --fstype ext4
|
||||
@@ -40,6 +40,7 @@ jack-audio-connection-kit
|
||||
jack-audio-connection-kit-dbus
|
||||
qjackctl
|
||||
jackctlmmc
|
||||
ffado
|
||||
|
||||
#pulse
|
||||
pulseaudio-module-jack
|
||||
@@ -76,7 +77,7 @@ sooperlooper
|
||||
|
||||
#recodring and DAW
|
||||
audacity
|
||||
ardour3
|
||||
ardour4
|
||||
rosegarden4
|
||||
seq24
|
||||
muse
|
||||
|
||||
@@ -4,15 +4,10 @@
|
||||
|
||||
%include fedora-live-base.ks
|
||||
%include fedora-kde-packages.ks
|
||||
%include snippets/packagekit-cached-metadata.ks
|
||||
|
||||
%post
|
||||
|
||||
# create /etc/sysconfig/desktop (needed for installation)
|
||||
cat > /etc/sysconfig/desktop <<EOF
|
||||
DESKTOP="KDE"
|
||||
DISPLAYMANAGER="KDE"
|
||||
EOF
|
||||
|
||||
# set default GTK+ theme for root (see #683855, #689070, #808062)
|
||||
cat > /root/.gtkrc-2.0 << EOF
|
||||
include "/usr/share/themes/Adwaita/gtk-2.0/gtkrc"
|
||||
@@ -28,17 +23,6 @@ EOF
|
||||
# add initscript
|
||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||
|
||||
if [ -e /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png ] ; then
|
||||
# use image also for kdm
|
||||
mkdir -p /usr/share/apps/kdm/faces
|
||||
cp /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png /usr/share/apps/kdm/faces/fedora.face.icon
|
||||
fi
|
||||
|
||||
# make liveuser use KDE
|
||||
echo "startkde" > /home/liveuser/.xsession
|
||||
chmod a+x /home/liveuser/.xsession
|
||||
chown liveuser:liveuser /home/liveuser/.xsession
|
||||
|
||||
# set up autologin for user liveuser
|
||||
if [ -f /etc/sddm.conf ]; then
|
||||
sed -i 's/^#User=.*/User=liveuser/' /etc/sddm.conf
|
||||
@@ -55,23 +39,15 @@ fi
|
||||
mkdir -p /home/liveuser/.config/
|
||||
cat > /home/liveuser/.config/kickoffrc << MENU_EOF
|
||||
[Favorites]
|
||||
FavoriteURLs=/usr/share/applications/kde4/konqbrowser.desktop,/usr/share/applications/kde4/dolphin.desktop,/usr/share/applications/systemsettings.desktop,/usr/share/applications/org.kde.konsole.desktop,/usr/share/applications/liveinst.desktop
|
||||
FavoriteURLs=/usr/share/applications/firefox.desktop,/usr/share/applications/org.kde.dolphin.desktop,/usr/share/applications/systemsettings.desktop,/usr/share/applications/org.kde.konsole.desktop,/usr/share/applications/liveinst.desktop
|
||||
MENU_EOF
|
||||
|
||||
# show liveinst.desktop on desktop and in menu
|
||||
sed -i 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
|
||||
|
||||
# chmod +x ~/Desktop/liveinst.desktop to disable KDE's security warning
|
||||
# set executable bit disable KDE security warning
|
||||
chmod +x /usr/share/applications/liveinst.desktop
|
||||
|
||||
# copy over the icons for liveinst to hicolor
|
||||
cp /usr/share/icons/gnome/16x16/apps/system-software-install.png /usr/share/icons/hicolor/16x16/apps/
|
||||
cp /usr/share/icons/gnome/22x22/apps/system-software-install.png /usr/share/icons/hicolor/22x22/apps/
|
||||
cp /usr/share/icons/gnome/24x24/apps/system-software-install.png /usr/share/icons/hicolor/24x24/apps/
|
||||
cp /usr/share/icons/gnome/32x32/apps/system-software-install.png /usr/share/icons/hicolor/32x32/apps/
|
||||
cp /usr/share/icons/gnome/48x48/apps/system-software-install.png /usr/share/icons/hicolor/48x48/apps/
|
||||
cp /usr/share/icons/gnome/256x256/apps/system-software-install.png /usr/share/icons/hicolor/256x256/apps/
|
||||
touch /usr/share/icons/hicolor/
|
||||
mkdir /home/liveuser/Desktop
|
||||
cp -a /usr/share/applications/liveinst.desktop /home/liveuser/Desktop/
|
||||
|
||||
# Set akonadi backend
|
||||
mkdir -p /home/liveuser/.config/akonadi
|
||||
@@ -83,6 +59,7 @@ AKONADI_EOF
|
||||
# Disable plasma-pk-updates
|
||||
sed -i \
|
||||
-e "s|^X-KDE-PluginInfo-EnabledByDefault=true|X-KDE-PluginInfo-EnabledByDefault=false|g" \
|
||||
/usr/share/plasma/plasmoids/org.kde.plasma.pkupdates/metadata.desktop \
|
||||
/usr/share/kservices5/plasma-applet-org.kde.plasma.pkupdates.desktop
|
||||
|
||||
# Disable baloo
|
||||
@@ -97,6 +74,12 @@ cat > /home/liveuser/.kde/share/config/kres-migratorrc << KRES_EOF
|
||||
Enabled=false
|
||||
KRES_EOF
|
||||
|
||||
# Disable kwallet migrator
|
||||
cat > /home/liveuser/.config/kwalletrc << KWALLET_EOL
|
||||
[Migration]
|
||||
alreadyMigrated=true
|
||||
KWALLET_EOL
|
||||
|
||||
# make sure to set the right permissions and selinux contexts
|
||||
chown -R liveuser:liveuser /home/liveuser/
|
||||
restorecon -R /home/liveuser/
|
||||
|
||||
@@ -110,8 +110,6 @@ pdfshuffler
|
||||
openmpi
|
||||
openmpi-devel
|
||||
valgrind-openmpi
|
||||
pvm
|
||||
pvm-gui #will install 'pvm' as well
|
||||
libgomp
|
||||
python-pp
|
||||
mpi4py-openmpi
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
|
||||
%include fedora-live-base.ks
|
||||
%include fedora-workstation-packages.ks
|
||||
%include snippets/packagekit-cached-metadata.ks
|
||||
|
||||
part / --size 6144
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
%packages
|
||||
-PackageKit* # we switched to yumex, so we don't need this
|
||||
firefox
|
||||
@mate
|
||||
compiz
|
||||
@@ -24,31 +25,29 @@ mate-disk-usage-analyzer
|
||||
mate-netspeed
|
||||
|
||||
# more backgrounds
|
||||
f22-backgrounds-mate
|
||||
f21-backgrounds-extras-base
|
||||
f21-backgrounds-extras-mate
|
||||
f23-backgrounds-base
|
||||
f23-backgrounds-mate
|
||||
f23-backgrounds-extras-base
|
||||
|
||||
# system tools
|
||||
system-config-printer
|
||||
system-config-printer-applet
|
||||
lightdm-gtk-greeter-settings
|
||||
|
||||
# audio video
|
||||
parole
|
||||
exaile
|
||||
PackageKit-gstreamer-plugin
|
||||
|
||||
# blacklist applications which breaks mate-desktop
|
||||
-audacious
|
||||
|
||||
# office
|
||||
@libreoffice
|
||||
|
||||
# dsl tools
|
||||
rp-pppoe
|
||||
|
||||
# drop packages
|
||||
-PackageKit* # we switched to yumex, so we don't need this
|
||||
|
||||
# blacklist applications which breaks mate-desktop
|
||||
-audacious
|
||||
|
||||
# FIXME; apparently the glibc maintainers dislike this, but it got put into the
|
||||
# desktop image at some point. We won't touch this one for now.
|
||||
nss-mdns
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# Exactly one of the following should be uncommented
|
||||
|
||||
# For the master branch the following should be uncommented
|
||||
# %include fedora-repo-rawhide.ks
|
||||
%include fedora-repo-rawhide.ks
|
||||
|
||||
# For non-master branches the following should be uncommented
|
||||
%include fedora-repo-not-rawhide.ks
|
||||
# %include fedora-repo-not-rawhide.ks
|
||||
|
||||
53
snippets/packagekit-cached-metadata.ks
Normal file
53
snippets/packagekit-cached-metadata.ks
Normal file
@@ -0,0 +1,53 @@
|
||||
# %post script to include initial metadata for PackageKit
|
||||
|
||||
%post --nochroot
|
||||
# Copy over files needed for networking inside the chroot
|
||||
for f in /etc/resolv.conf /etc/hosts ; do
|
||||
test -f $f && cp -a $f ${INSTALL_ROOT}${f}.kickstart
|
||||
done
|
||||
%end
|
||||
|
||||
%post
|
||||
|
||||
# Use host machine's resolv.conf and hosts files
|
||||
for f in /etc/resolv.conf /etc/hosts ; do
|
||||
test -f $f && mv $f $f.orig
|
||||
test -f $f.kickstart && mv -f $f.kickstart $f
|
||||
done
|
||||
|
||||
PK_PREFIX=`mktemp -d`
|
||||
mkdir -p $PK_PREFIX/etc/yum.repos.d
|
||||
if [ -f /etc/yum.repos.d/fedora.repo ] ; then
|
||||
cp /etc/yum.repos.d/fedora.repo $PK_PREFIX/etc/yum.repos.d/
|
||||
sed -i -e 's|^metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch|baseurl=http://kojipkgs.fedoraproject.org/mash/branched/$basearch/os/|' \
|
||||
$PK_PREFIX/etc/yum.repos.d/fedora.repo
|
||||
fi
|
||||
if [ -f /etc/yum.repos.d/fedora-updates.repo ] ; then
|
||||
cp /etc/yum.repos.d/fedora-updates.repo $PK_PREFIX/etc/yum.repos.d/
|
||||
sed -i -e 's|^metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch|baseurl=http://kojipkgs.fedoraproject.org/mash/updates/f$releasever-updates/$basearch/|' \
|
||||
$PK_PREFIX/etc/yum.repos.d/fedora-updates.repo
|
||||
fi
|
||||
if [ -f /etc/yum.repos.d/fedora-updates-testing.repo ] ; then
|
||||
cp /etc/yum.repos.d/fedora-updates-testing.repo $PK_PREFIX/etc/yum.repos.d/
|
||||
sed -i -e 's|^metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch|baseurl=http://kojipkgs.fedoraproject.org/mash/updates/f$releasever-updates-testing/$basearch/|' \
|
||||
$PK_PREFIX/etc/yum.repos.d/fedora-updates-testing.repo
|
||||
fi
|
||||
if [ -f /etc/yum.repos.d/fedora-rawhide.repo ] ; then
|
||||
cp /etc/yum.repos.d/fedora-rawhide.repo $PK_PREFIX/etc/yum.repos.d/
|
||||
sed -i -e 's|^metalink=https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=$basearch|baseurl=http://kojipkgs.fedoraproject.org/mash/rawhide/$basearch/os/|' \
|
||||
$PK_PREFIX/etc/yum.repos.d/fedora-rawhide.repo
|
||||
fi
|
||||
rpm --root=$PK_PREFIX --initdb
|
||||
DESTDIR=$PK_PREFIX /usr/libexec/packagekit-direct refresh
|
||||
if [ -d /var/cache/PackageKit ] ; then
|
||||
mv $PK_PREFIX/var/cache/PackageKit/* /var/cache/PackageKit/
|
||||
fi
|
||||
rm -rf $PK_PREFIX
|
||||
|
||||
# Restore original resolv.conf and hosts files
|
||||
for f in /etc/resolv.conf /etc/hosts ; do
|
||||
rm -f $f
|
||||
test -f $f.orig && mv $f.orig $f
|
||||
done
|
||||
|
||||
%end
|
||||
Reference in New Issue
Block a user