push live images under 700 megs; add small hack to load plasma-netbook workspace on boot for testing issues

This commit is contained in:
Sebastian Vahl 2009-12-22 14:29:18 +01:00
parent 80a336488b
commit 2de411e328
1 changed files with 10 additions and 3 deletions

View File

@ -31,10 +31,11 @@
-kdeplasma-addons # ~5 megs
# Additional packages that are not default in kde-desktop but useful
-koffice-suite # don't include whole koffice-suite, just parts of it
koffice-kword
koffice-kspread # ~1 megs
koffice-kpresenter # ~3 megs
koffice-filters
#koffice-kspread # ~1 megs
#koffice-kpresenter # ~3 megs
#koffice-filters
kdeartwork # only include some parts of kdeartwork
k3b
#twinkle # (~10 megs)
@ -148,6 +149,12 @@ restorecon -R /home/liveuser/
# don't use prelink on a running KDE live image
sed -i 's/PRELINKING=yes/PRELINKING=no/' /etc/sysconfig/prelink
# small hack to enable plasma-netbook workspace on boot
if strstr "\`cat /proc/cmdline\`" netbook ; then
mv /usr/share/autostart/plasma-desktop.desktop /usr/share/autostart/plasma-netbook.desktop
sed -i 's/desktop/netbook/g' /usr/share/autostart/plasma-netbook.desktop
fi
EOF
%end