Compare commits

...

39 Commits

Author SHA1 Message Date
Kalev Lember
a6d3b1c456 packagekit-cached-metadata.ks: Set up resolv.conf and hosts files
Copy over host system's /etc/resolv.conf and /etc/hosts to make it
possible to resolve kojipkgs.fedoraproject.org inside the chroot.
2015-10-20 21:29:24 +02:00
Kalev Lember
d293e561f4 packagekit-cached-metadata.ks: Use http for kojipkgs.fedoraproject.org
It turns out that koji builders can't access kojipkgs.fedoraproject.org
over https, but plain http works just fine.
2015-10-20 21:29:23 +02:00
Kalev Lember
2459d8254b Move packagekit-cached-metadata.ks to snippets/
... and make it a top-level script wrapped in %post ... %end.
2015-10-20 21:29:22 +02:00
Rex Dieter
6817b9661f split pk cached metadata hack into include'able snippet
and add to -kde-base
2015-10-20 11:12:14 -05:00
Rex Dieter
9fe671fe49 kde: Plasma session notifies for available updates
See also http://bugzilla.redhat.com/1262600
2015-10-20 08:41:12 -05:00
Kalev Lember
a355ff602c workstation: Include cached metadata for PackageKit
Instead of taking the metadata from PackageKit-cached-metadata package
as we were doing previously, copy it over directly during the compose
from https://kojipkgs.fedoraproject.org/mash/

This makes it much less error prone as we always get the very latest
metadata, and makes maintenance much simpler as we don't need to roll
PackageKit-cached-metadata by hand. Users are also going to appreciate
this because it makes post-GA updates smaller as they won't have to
download updates for the PackageKit-cached-metadata subpackage each time
PackageKit gets updated.
2015-10-19 20:46:36 +02:00
Luya Tshimbalanga
16d3e54ff7 design-suite: fix typo on f23-backgrounds-extras-base 2015-10-18 09:31:17 -07:00
Matthew Miller
9d0ef8b63c adds kbd,plymouth rpms back.
We have had -kbd in the kickstart for a long time, but because of BZ#1199868
it wasn't actually getting excluded. Not having it causes
systemd-vconsole-setup.service to fail so we are adding it back for now.

Additionally we need to add back plymouth to cover up the subsequent failure
of systemd-vconsole-setup.service. See BZ#1272684.
2015-10-17 13:01:18 -04:00
Kushal Das
c5098636e8 Fixes trac #128 Removes extra ifcfg file. 2015-10-15 13:46:12 +05:30
Luya Tshimbalanga
ba2ab327a1 design-suite: restore luxrender and add extra wallpapers 2015-10-13 10:37:40 -07:00
Bruno Wolff III
d62f2f1688 Games spin: xscreensaver-extras was supposed to get removed 2015-10-13 09:50:31 -05:00
Bruno Wolff III
524149a63e Games spin - cut to get back under 4 GiB 2015-10-12 19:30:16 -05:00
raveit65
077aacb29d Mate add f23-backgrounds-extras-base 2015-10-13 00:57:32 +02:00
Rex Dieter
7b8922bfca kde: drop (deprecated) xsession stuff 2015-09-25 10:09:04 -05:00
Rex Dieter
4dd1659d02 add trailing / , to ensure we copy to dir and not as file 2015-09-25 09:48:47 -05:00
Rex Dieter
b899a6e8ef kde: drop kdm reference 2015-09-25 09:20:25 -05:00
Rex Dieter
58fd2bb1b3 kde: drop reference to /etc/sysconfig/desktop
deprecated long ago
2015-09-25 09:19:13 -05:00
Rex Dieter
3dc4603931 kde: update default favorites 2015-09-25 09:17:20 -05:00
Rex Dieter
93c87e947c drop liveinst icon hack
no longer needed, and needlessly invalidates icon cache
2015-09-25 09:14:15 -05:00
Rex Dieter
22c37e61ca explicitly mkdir Desktop dir
workaround https://bugzilla.redhat.com/show_bug.cgi?id=1266243
2015-09-25 09:12:33 -05:00
Peter Robinson
78114bb82f adjust linux-firmware for cloud images 2015-09-23 07:16:18 +01:00
Rex Dieter
b44bc5a578 disable kwallet migrator 2015-09-21 20:16:13 -05:00
Kushal Das
ca778f7bc6 Removes extlinux parameter from bootloader information. 2015-09-15 02:49:38 +05:30
Dusty Mabe
29181aa376 cloud-base: workaround issue where langs are not getting installed.
Workaround BZ1262040 by removing the --instLangs arg from the
%packages line and rely on our previous hack to manually remove
langs after install. This fixes BZ1261249.

Signed-off-by: Kushal Das <kushaldas@gmail.com>
2015-09-15 02:45:50 +05:30
Luya Tshimbalanga
97fbfec937 design: use https for fpo address 2015-09-10 20:57:23 -07:00
Brendan Jones
aca277c870 Correct include, update ardour 2015-09-08 23:39:36 +02:00
David Ward
0ecfd28e29 fedora-live-base.ks: enable ModemManager service
The ModemManager package is already installed for all live images;
it should be enabled so users can connect to WWAN right after boot
using the NetworkManager applet.

Signed-off-by: David Ward <david.ward@ll.mit.edu>
2015-09-07 10:32:16 -06:00
Kevin Fenzi
a17b0e0933 Add ffado to jam spin. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1259053 2015-09-03 09:57:50 -06:00
Adam Miller
6ea47a9570 add tsflags=nodocs to dnf.conf as well as yum.conf 2015-09-01 15:55:14 -05:00
Colin Walters
f2c71083fe atomic-installer: Use https by default
Similar to https://git.fedorahosted.org/cgit/spin-kickstarts.git/commit/?id=1e408e111008f539c89212a9ca9bb955e2c4f823
2015-08-26 15:22:25 -04:00
Amit
3543c6c06a scientific: pvm is retired 2015-08-17 22:15:54 +10:00
Luya Tshimbalanga
16ee97ef54 design-suite: temporarily removal of luxrender-blender due to broken dependency (rhbz #1253408) 2015-08-13 09:26:35 -07:00
Dan Book
8d322093ec menu items should be excluded by cinnamon now 2015-08-12 14:36:32 -04:00
Rex Dieter
54dd9b2395 kde: +firefox
per
https://lists.fedoraproject.org/pipermail/kde/2015-August/015363.html
2015-08-11 13:31:29 -05:00
Stephen Gallagher
987c20e3b4 Fedora Server: Include @networkmanager-submodules
This is needed for optional installations including WiFI or WWAN
2015-08-10 14:23:37 -04:00
raveit65
cbf8ff5eb6 Mate: use f23 backgrounds 2015-08-07 16:31:46 +02:00
Stephen Gallagher
aeb995e9ad Pull in @virtualization-headless instead of @virtualization 2015-08-06 08:47:15 -04:00
raveit65
dc042df773 Mate: add lightdm-gtk-greeter-settings 2015-07-30 17:25:56 +02:00
Bruno Wolff III
27454a96cd Remove games that pull in fluid-soundfont-lite-patches
fluid-soundfont-lite-patches is 200MB installed and we need some
big cuts to get under size again.
2015-07-26 00:38:18 -05:00
18 changed files with 136 additions and 69 deletions

View File

@@ -4,5 +4,5 @@
<%page args="ostree_osname, ostree_ref"/> <%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 "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 "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"

View File

@@ -19,7 +19,7 @@ rootpw vagrant
# even on VirtualBox virt, we get a primary network device with "eth0" as the name # 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 # This simplifies things and allows a single disk image for both supported Vagrant
# platforms (virtualbox and kvm) # 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 %packages
# The default koji Vagrantfile configuration uses rsync to sync files between # The default koji Vagrantfile configuration uses rsync to sync files between

View File

@@ -52,7 +52,12 @@ reboot
# Package list. # Package list.
# FIXME: instLangs does not work, so there's a hack below # FIXME: instLangs does not work, so there's a hack below
# (see https://bugzilla.redhat.com/show_bug.cgi?id=1051816) # (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 kernel-core
@^cloud-server-environment @^cloud-server-environment
@@ -62,10 +67,14 @@ kernel-core
# Some things from @core we can do without in a minimal install # Some things from @core we can do without in a minimal install
-biosdevname -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 -NetworkManager
-iprutils -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 -uboot-tools
-kernel -kernel
-grub2 -grub2
@@ -117,8 +126,9 @@ echo .
# this is installed by default but we don't need it in virt # this is installed by default but we don't need it in virt
# Commenting out the following for #1234504 # Commenting out the following for #1234504
#echo "Removing linux-firmware package." # rpm works just fine for removing this, no idea why dnf can't cope
#dnf -C -y erase linux-firmware echo "Removing linux-firmware package."
rpm -e linux-firmware
# Remove firewalld; was supposed to be optional in F18+, but is pulled in # Remove firewalld; was supposed to be optional in F18+, but is pulled in
# in install/image building. # in install/image building.
@@ -247,5 +257,8 @@ dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
rm -f /var/tmp/zeros rm -f /var/tmp/zeros
echo "(Don't worry -- that out-of-space error was expected.)" 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 %end

View File

@@ -108,8 +108,10 @@ ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
echo . echo .
# this is installed by default but we don't need it in virt # 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." 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 # Remove firewalld; was supposed to be optional in F18+, but is required to
# be present for install/image building. # be present for install/image building.

View File

@@ -99,8 +99,10 @@ ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
echo . echo .
# this is installed by default but we don't need it in virt # 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." 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 # Remove firewalld; was supposed to be optional in F18+, but is required to
# be present for install/image building. # be present for install/image building.

View File

@@ -51,10 +51,17 @@ userdel -r none
LANG="en_US" LANG="en_US"
echo "%_install_lang $LANG" > /etc/rpm/macros.image-language-conf 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}' \ awk '(NF==0&&!done){print "override_install_langs='$LANG'\ntsflags=nodocs";done=1}{print}' \
< /etc/yum.conf > /etc/yum.conf.new < /etc/yum.conf > /etc/yum.conf.new
mv /etc/yum.conf.new /etc/yum.conf 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" echo "Import RPM GPG key"
releasever=$(rpm -q --qf '%{version}\n' fedora-release) releasever=$(rpm -q --qf '%{version}\n' fedora-release)
basearch=$(uname -i) basearch=$(uname -i)

View File

@@ -71,6 +71,7 @@ dracut-*
@standard @standard
@core @core
@hardware-support @hardware-support
@networkmanager-submodules
# Fedora Server. # Fedora Server.
# Including this causes the fedora-release-server package to be included, # Including this causes the fedora-release-server package to be included,
@@ -107,7 +108,7 @@ dracut-*
@network-server @network-server
@printing @printing
@smb-server @smb-server
@virtualization @virtualization-headless
@load-balancer @load-balancer
@ha @ha

View File

@@ -8,6 +8,9 @@
### The KDE-Desktop ### The KDE-Desktop
### Browser
firefox
### fixes ### fixes
# use kde-print-manager instead of system-config-printer # use kde-print-manager instead of system-config-printer

View File

@@ -15,7 +15,7 @@ selinux --enforcing
firewall --enabled --service=mdns firewall --enabled --service=mdns
xconfig --startxonboot xconfig --startxonboot
part / --size 4096 --fstype ext4 part / --size 4096 --fstype ext4
services --enabled=NetworkManager --disabled=network,sshd services --enabled=NetworkManager,ModemManager --disabled=network,sshd
%include fedora-repo.ks %include fedora-repo.ks

View File

@@ -22,10 +22,6 @@ PREFERRED=/usr/bin/cinnamon-session
DISPLAYMANAGER=/usr/sbin/lightdm DISPLAYMANAGER=/usr/sbin/lightdm
EOF 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 cat >> /etc/rc.d/init.d/livesys << EOF
# set up lightdm autologin # set up lightdm autologin

View File

@@ -15,7 +15,7 @@ part / --size 8192
%packages %packages
# graphics # graphics
blender blender
LuxRender-blender #LuxRender-blender
YafaRay-blender YafaRay-blender
bluefish bluefish
colord-extra-profiles colord-extra-profiles
@@ -75,6 +75,10 @@ lato-fonts
open-sans-fonts open-sans-fonts
overpass-fonts overpass-fonts
# Extra wallpapers
f23-backgrounds-extras-base
f23-backgrounds-extras-gnome
# removal of unneeded applications # removal of unneeded applications
-gnome-boxes -gnome-boxes
-gthumb -gthumb
@@ -97,7 +101,7 @@ cat >> /usr/share/applications/list-design-tutorials.desktop << FOE
Name=List of design tutorials Name=List of design tutorials
GenericName=List of Tutorials for Designers GenericName=List of Tutorials for Designers
Comment=Reference of Design Related Tutorials 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 Type=Application
Icon=applications-graphics Icon=applications-graphics
Categories=Graphics;Documentation; Categories=Graphics;Documentation;
@@ -110,7 +114,7 @@ cat >> /usr/share/applications/fedora-design-suite.desktop << FOE
Name=Design Suite Info Name=Design Suite Info
GenericName=About Design Suite GenericName=About Design Suite
Comment=Wiki page of 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 Type=Application
Icon=applications-internet Icon=applications-internet
Categories=Documentation; Categories=Documentation;
@@ -123,7 +127,7 @@ cat >> /usr/share/applications/fedora-design-team.desktop << FOE
Name=Design Team Info Name=Design Team Info
GenericName=About Design Team GenericName=About Design Team
Comment=Wiki page of 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 Type=Application
Icon=applications-internet Icon=applications-internet
Categories=Documentation; 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 glib-compile-schemas /usr/share/glib-2.0/schemas
%end %end

View File

@@ -20,6 +20,9 @@ part / --size 10240
# will likely put the games spin over size and it is freeze time. # will likely put the games spin over size and it is freeze time.
-libreoffice* -libreoffice*
# Extra screensavers isn't much help for the games spin
-xscreensaver-extras
# Allow joysticks and game pads to work # Allow joysticks and game pads to work
joystick-support joystick-support
@@ -62,15 +65,15 @@ supertux
ultimatestunts ultimatestunts
warzone2100 warzone2100
wesnoth wesnoth
worminator # worminator # Would pull in fluid-soundfont-lite-patches
warmux warmux
xmoto xmoto
# traditional (small) # traditional (small)
abe abe
alex4 # alex4 # Would pull in fluid-soundfont-lite-patches
ballz # ballz # Would pull in fluid-soundfont-lite-patches
blobwars blobwars
bombardier bombardier
cdogs-sdl cdogs-sdl
@@ -85,11 +88,11 @@ hedgewars
kcheckers kcheckers
knights knights
lbrickbuster2 lbrickbuster2
liquidwar # liquidwar # Would pull in fluid-soundfont-lite-patches
londonlaw londonlaw
lordsawar lordsawar
lure lure
machineball # machineball # Would pull in fluid-soundfont-lite-patches
nethack nethack
openlierox openlierox
pachi pachi
@@ -97,7 +100,7 @@ pioneers
quarry quarry
Ri-li Ri-li
rogue rogue
scorchwentbonkers # scorchwentbonkers # Would pull in fluid-soundfont-lite-patches
seahorse-adventures seahorse-adventures
solarwolf solarwolf
sopwith sopwith
@@ -109,11 +112,11 @@ xblast
auriferous auriferous
alienblaster alienblaster
duel3 # duel3 # Would pull in fluid-soundfont-lite-patches
lmarbles lmarbles
powermanga powermanga
raidem # raidem # Would pull in fluid-soundfont-lite-patches
raidem-music # raidem-music # Would pull in fluid-soundfont-lite-patches
trackballs trackballs
trackballs-music trackballs-music
@@ -123,7 +126,7 @@ ballbuster
CriticalMass CriticalMass
dd2 dd2
KoboDeluxe KoboDeluxe
lacewing # lacewing # Would pull in fluid-soundfont-lite-patches
Maelstrom Maelstrom
methane methane
njam njam
@@ -132,13 +135,13 @@ shippy
tecnoballz tecnoballz
wordwarvi wordwarvi
xgalaxy xgalaxy
zasx # zasx # Would pull in fluid-soundfont-lite-patches
# falling blocks games (small) # falling blocks games (small)
amoebax amoebax
crack-attack crack-attack
crystal-stacker # crystal-stacker # Would pull in fluid-soundfont-lite-patches
gemdropx gemdropx
gweled gweled
@@ -150,7 +153,7 @@ pingus
# puzzles (small) # puzzles (small)
escape escape
gbrainy # gbrainy Removed for space - only game that pulls in mono
magicor magicor
mirrormagic mirrormagic
pipenightdreams pipenightdreams

View File

@@ -11,7 +11,7 @@
# https://fedoraproject.org/wiki/User:jvlomax # https://fedoraproject.org/wiki/User:jvlomax
# Brendan Jones <brendan.jones.it@gmail.com> # Brendan Jones <brendan.jones.it@gmail.com>
%include fedora-livecd-kde.ks %include fedora-live-kde.ks
# DVD size partition # DVD size partition
part / --size 10240 --fstype ext4 part / --size 10240 --fstype ext4
@@ -40,6 +40,7 @@ jack-audio-connection-kit
jack-audio-connection-kit-dbus jack-audio-connection-kit-dbus
qjackctl qjackctl
jackctlmmc jackctlmmc
ffado
#pulse #pulse
pulseaudio-module-jack pulseaudio-module-jack
@@ -76,7 +77,7 @@ sooperlooper
#recodring and DAW #recodring and DAW
audacity audacity
ardour3 ardour4
rosegarden4 rosegarden4
seq24 seq24
muse muse

View File

@@ -4,15 +4,10 @@
%include fedora-live-base.ks %include fedora-live-base.ks
%include fedora-kde-packages.ks %include fedora-kde-packages.ks
%include snippets/packagekit-cached-metadata.ks
%post %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) # set default GTK+ theme for root (see #683855, #689070, #808062)
cat > /root/.gtkrc-2.0 << EOF cat > /root/.gtkrc-2.0 << EOF
include "/usr/share/themes/Adwaita/gtk-2.0/gtkrc" include "/usr/share/themes/Adwaita/gtk-2.0/gtkrc"
@@ -28,17 +23,6 @@ EOF
# add initscript # add initscript
cat >> /etc/rc.d/init.d/livesys << EOF 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 # set up autologin for user liveuser
if [ -f /etc/sddm.conf ]; then if [ -f /etc/sddm.conf ]; then
sed -i 's/^#User=.*/User=liveuser/' /etc/sddm.conf sed -i 's/^#User=.*/User=liveuser/' /etc/sddm.conf
@@ -55,23 +39,15 @@ fi
mkdir -p /home/liveuser/.config/ mkdir -p /home/liveuser/.config/
cat > /home/liveuser/.config/kickoffrc << MENU_EOF cat > /home/liveuser/.config/kickoffrc << MENU_EOF
[Favorites] [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 MENU_EOF
# show liveinst.desktop on desktop and in menu # show liveinst.desktop on desktop and in menu
sed -i 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop sed -i 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
# set executable bit disable KDE security warning
# chmod +x ~/Desktop/liveinst.desktop to disable KDE's security warning
chmod +x /usr/share/applications/liveinst.desktop chmod +x /usr/share/applications/liveinst.desktop
mkdir /home/liveuser/Desktop
# copy over the icons for liveinst to hicolor cp -a /usr/share/applications/liveinst.desktop /home/liveuser/Desktop/
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/
# Set akonadi backend # Set akonadi backend
mkdir -p /home/liveuser/.config/akonadi mkdir -p /home/liveuser/.config/akonadi
@@ -83,6 +59,7 @@ AKONADI_EOF
# Disable plasma-pk-updates # Disable plasma-pk-updates
sed -i \ sed -i \
-e "s|^X-KDE-PluginInfo-EnabledByDefault=true|X-KDE-PluginInfo-EnabledByDefault=false|g" \ -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 /usr/share/kservices5/plasma-applet-org.kde.plasma.pkupdates.desktop
# Disable baloo # Disable baloo
@@ -97,6 +74,12 @@ cat > /home/liveuser/.kde/share/config/kres-migratorrc << KRES_EOF
Enabled=false Enabled=false
KRES_EOF 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 # make sure to set the right permissions and selinux contexts
chown -R liveuser:liveuser /home/liveuser/ chown -R liveuser:liveuser /home/liveuser/
restorecon -R /home/liveuser/ restorecon -R /home/liveuser/

View File

@@ -110,8 +110,6 @@ pdfshuffler
openmpi openmpi
openmpi-devel openmpi-devel
valgrind-openmpi valgrind-openmpi
pvm
pvm-gui #will install 'pvm' as well
libgomp libgomp
python-pp python-pp
mpi4py-openmpi mpi4py-openmpi

View File

@@ -4,6 +4,7 @@
%include fedora-live-base.ks %include fedora-live-base.ks
%include fedora-workstation-packages.ks %include fedora-workstation-packages.ks
%include snippets/packagekit-cached-metadata.ks
part / --size 6144 part / --size 6144

View File

@@ -25,13 +25,14 @@ mate-disk-usage-analyzer
mate-netspeed mate-netspeed
# more backgrounds # more backgrounds
f22-backgrounds-mate f23-backgrounds-base
f21-backgrounds-extras-base f23-backgrounds-mate
f21-backgrounds-extras-mate f23-backgrounds-extras-base
# system tools # system tools
system-config-printer system-config-printer
system-config-printer-applet system-config-printer-applet
lightdm-gtk-greeter-settings
# audio video # audio video
parole parole

View 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