-
Notifications
You must be signed in to change notification settings - Fork 2
/
nemo-armv7hl-n900-rnd.ks
239 lines (194 loc) · 5.78 KB
/
nemo-armv7hl-n900-rnd.ks
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
# -*-mic2-options-*- -f raw --copy-kernel --record-pkgs=name --pkgmgr=zypp --arch=armv7hl -*-mic2-options-*-
#
# Do not Edit! Generated by:
# kickstarter.py
#
lang en_US.UTF-8
keyboard us
timezone --utc UTC
#part / --size 1500 --ondisk mmcblk0p --fstype=ext3
part / --size=3600 --ondisk mmcblk0p --fstype=ext4
# This is not used currently. It is here because the /boot partition
# needs to be the partition number 3 for the u-boot usage.
part swap --size=8 --ondisk mmcblk0p --fstype=swap
# This partition is made so that u-boot can find the kernel
part /boot --size=32 --ondisk mmcblk0p --fstype=vfat
rootpw nemo
user --name nemo --groups audio,video --password nemo
repo --name=mer-core --baseurl=http://releases.merproject.org/releases/@MER_RELEASE@/builds/armv7hl/packages --debuginfo
repo --name=nemo-ux --baseurl=http://repo.merproject.org/obs/nemo:/@FLAVOUR@:/ux/@NEMO_RELEASE@_armv7hl/
repo --name=nemo-apps --baseurl=http://repo.merproject.org/obs/nemo:/@FLAVOUR@:/apps/@NEMO_RELEASE@_armv7hl/
repo --name=nemo-adaptation-n900 --baseurl=http://repo.merproject.org/obs/nemo:/@FLAVOUR@:/hw:/ti:/omap3:/n900/@NEMO_RELEASE@_armv7hl/
repo --name=nemo-devel-n900 https://build.merproject.org/package/binaries?package=udev-rules-n900&project=nemo%3Adevel%3Ahw%3Ati%3Aomap3%3An900&repository=latest_armv7hl
repo --name=nemo-mw --baseurl=http://repo.merproject.org/obs/nemo:/@FLAVOUR@:/mw/@NEMO_RELEASE@_armv7hl/
repo --name=nemo-adaptation-n9xx-common --baseurl=http://repo.merproject.org/obs/nemo:/@FLAVOUR@:/hw:/ti:/omap3:/n9xx-common/@NEMO_RELEASE@_armv7hl/
repo --name=mer-qt --baseurl=http://repo.merproject.org/obs/mer:/qt:/devel/latest_armv7hl/
repo --name=faenil --baseurl=http://repo.merproject.org/obs/home:/faenil/latest_armv7hl/
%packages
@Mer Core
@Mer Connectivity
cjkuni-fonts
liberation-fonts-common
liberation-mono-fonts
liberation-sans-fonts
liberation-serif-fonts
droid-sans-fonts
droid-sans-mono-fonts
droid-serif-fonts
# No Xorg stuff
#@mer-minimal-xorg
# Nemo
@nemo-mw
# Deleting some Qt4 stuff from the rnd pattern
#@nemo-rnd
# We're getting rid of most of nemo-mw pattern
#@nemo-ux
#------ BEGIN N900-SUPPORT -------
#bme-rm-680-bin
bme-rx-51-bin
#contextkit-plugin-power-bme
contextkit-maemo-battery-rx51-bin
#contextkit-plugin-kbslider
dsme
#gst-nokia-camera
#gstreamer0.10-nokia-videosrc
gst-omapfb
kernel-adaptation-n900
n900-camera-firmware
nokia-n900-configs
#omap-update-display
#pulseaudio-module-x11
pulseaudio-modules-n900-cmtspeech
pulseaudio-modules-n900-mainvolume
pulseaudio-modules-n900-music
pulseaudio-modules-n900-record
pulseaudio-modules-n900-voice
pulseaudio-settings-n900
systemd-console-ttyS0
ti-omap3-sgx-libEGL
ti-omap3-sgx-libGLESv1
ti-omap3-sgx-libGLESv2
#ti-wl1271-firmware
#ti-wl1273-bt-firmware
#ti-wl1273-fm-radio-firmware
#udev-rules-n900
udev-rules-nokia-n900
wl1251-cal-bin
#Recommends
policy-settings-basic-n900
usb-moded-config-n900
#------ END N900-SUPPORT -------
#------ BEGIN NEMO-RND -------
connman-test
diffutils
gdb
iotop
libaccounts-glib-tools
#edited (it was libcommhistory-tools)
libcommhistory-qt5-tools
#edited (it was lipstick-tools)
lipstick-qt5-tools
lynx
mce-tools
mer-gfx-tests
nano
ofono-tests
openssh-clients
openssh-server
#edited (it was nemo-qml-plugin-contacts-tools)
nemo-qml-plugin-contacts-qt5-tools
screen
tar
tracker-utils
vim-enhanced
vim-minimal
wget
#------ END NEMO-RND -------
#------ BEGIN NEMO-UX -------
#Added to official pattern
mapplauncherd-qt5
nemo-firstsession
nemo-mobile-session-wayland
nemo-theme-default
meegotouch-theme-darko
lipstick-colorful-home-qt5
# Wifi indicator needs this.
contextkit-plugin-mce
# For splash screen
ce-backgrounds
plymouth-lite
#------ END NEMO-UX ---------
#------ START NEMO-APPS------
fingerterm
qt-components-qt5-gallery
qmlcalc
qmlnotes
qmlmaps
qmlgallery
qmlcalendar
qmlpinquery
qmlmusicplayer
qmlfilemuncher
qmlmail
qmlsettings
voicecall-ui-reference
qmlcontacts
qmlmessages
#------ END NEMO-APPS--------
qt5-plugin-generic-evdev
qt5-qtdeclarative-qmlscene
qt5-qtwayland-wayland_egl
qt5-qtwayland-wayland_egl-examples
qt5-plugin-imageformat-jpeg
qt5-plugin-platform-eglfs
qt5-qtsvg-plugin-imageformat-svg
qt5-qtmultimedia-gsttools
qt5-qtmultimedia-plugin-mediaservice-gstmediaplayer
gst-plugins-good
#nemo-configs-n900
ti-omap3-sgx-wayland-wsegl
%end
%post
# Set up proper target for libmeegotouch
Config_Src=`gconftool-2 --get-default-source`
gconftool-2 --direct --config-source $Config_Src \
-s -t string /meegotouch/target/name N900
# Wait a bit more than the default 5s when starting application.
mkdir -p /etc/xdg/mcompositor/
echo "close-timeout-ms 15000;" > /etc/xdg/mcompositor/new-mcompositor.conf
# Hack to fix the plymouth based splash screen on N900
mv /usr/bin/ply-image /usr/bin/ply-image-real
cat > /usr/bin/ply-image << EOF
#!/bin/sh
echo 32 > /sys/class/graphics/fb0/bits_per_pixel
exec /usr/bin/ply-image-real $@
EOF
chmod +x /usr/bin/ply-image
## rpm-rebuilddb.post from mer-kickstarter-configs package
# Rebuild db using target's rpm
echo -n "Rebuilding db using target rpm.."
rm -f /var/lib/rpm/__db*
rpm --rebuilddb
echo "done"
## end rpm-rebuilddb.post
if [ "@SSU_RELEASE_TYPE@" = "rnd" ]; then
[ -n "@NEMO_RELEASE@" ] && ssu release -r @NEMO_RELEASE@
[ -n "@FLAVOUR@" ] && ssu flavour @FLAVOUR@
ssu mode 2
else
[ -n "@NEMO_RELEASE@" ] && ssu release @NEMO_RELEASE@
ssu mode 4
fi
## arch-armv7hl.post from mer-kickstarter-configs package
# Without this line the rpm don't get the architecture right.
echo -n 'armv7hl-meego-linux' > /etc/rpm/platform
# Also libzypp has problems in autodetecting the architecture so we force tha as well.
# https://bugs.meego.com/show_bug.cgi?id=11484
echo 'arch = armv7hl' >> /etc/zypp/zypp.conf
## end arch-armv7hl.post
%end
%post --nochroot
if [ -n "$IMG_NAME" ]; then
echo "BUILD: $IMG_NAME" >> $INSTALL_ROOT/etc/meego-release
fi
%end