Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/soas.ks
blob: 6640c38e64d8d81cf3344d3c110401b541ce485e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
%include soas-sugar.ks

%packages

####
# packages for non-XO SoaS
####


# general
kernel
DeviceKit-disks
evince-djvu
gvfs

# e-mail client
alpine

# additional wifi support
b43-openfwwf

# include first boot configuration
firstboot
smolt-firstboot

# get ready for installer support
gparted
zyx-liveinstaller

# sound
pulseaudio
alsa-plugins-pulseaudio
alsa-utils
gstreamer-plugins-good
gstreamer-plugins-espeak

# fonts
google-droid-fonts-common
google-droid-sans-fonts
google-droid-sans-mono-fonts
google-droid-serif-fonts

%end

%post

# check modules and themes and run firstboot
rm -f /usr/share/firstboot/modules/create_user.*
rm -f /usr/share/firstboot/modules/date.*
rm -f /usr/share/firstboot/modules/eula.*

touch /etc/reconfigSys
chkconfig --level 345 firstboot on 2>/dev/null

%end


%post
# keep in sync with soas-base.ks's value
KERNEL_POSTINST_SCRIPT=/etc/kernel/postinst.d/olpc-fth-update

# run kernel-postinst-script to make this bootable on the XO, since
# installing the olpc-fth-update script in %pre doesn't seem to have
# any effect

current_kernel=$(ls /boot/vmlinuz-* | tail -1)
$KERNEL_POSTINST_SCRIPT $(basename $current_kernel | sed -e 's/vmlinuz-//') $current_kernel

%end