-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathjolla-n950-kickstart-1.0.3.7.ks
298 lines (249 loc) · 7.2 KB
/
jolla-n950-kickstart-1.0.3.7.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
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
# -*-mic2-options-*- -f fs --compress-disk-image=tar.bz2 --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 3500 --ondisk sda --fstype=ext3
rootpw nemo
user --name nemo --groups audio,video,privileged --password nemo
#repo --name=mer-core --baseurl=http://releases.merproject.org/releases/latest/builds/armv7hl/packages --debuginfo
#repo --name=nemo-ux --baseurl=http://repo.merproject.org/obs/nemo:/devel:/ux/latest_armv7hl/
#repo --name=nemo-apps --baseurl=http://repo.merproject.org/obs/nemo:/devel:/apps/latest_armv7hl/
#repo --name=nemo-mw --baseurl=http://repo.merproject.org/obs/nemo:/devel:/mw/latest_armv7hl/
#repo --name=mer-qt --baseurl=http://repo.merproject.org/obs/mer:/qt:/devel/latest_armv7hl/
repo --name=nemo-adaptation-n950-n9 --baseurl=http://repo.merproject.org/obs/nemo:/devel:/hw:/ti:/omap3:/n950-n9/latest_armv7hl/
repo --name=nemo-adaptation-n9xx-common --baseurl=http://repo.merproject.org/obs/nemo:/devel:/hw:/ti:/omap3:/n9xx-common/latest_armv7hl/
#1.0.3.7
repo --name=jolla --baseurl=http://releases.jolla.com/releases/1.0.3.7/jolla/armv7hl/
repo --name=hotfixes --baseurl=http://releases.jolla.com/releases/1.0.3.7/hotfixes/armv7hl/
repo --name=apps --baseurl=http://releases.jolla.com/jolla-apps/latest-release/armv7hl/
repo --name=limited-nemo-mw --baseurl=http://repo.merproject.org/obs/home:/vgrade:/branches:/nemo:/devel:/mw/latest_armv7hl/
repo --name=jalnmwr --baseurl=http://repo.merproject.org/obs/home:/SourenAraya:/branches:/nemo:/devel:/mw/latest_armv7hl/
repo --name=bme-patched-service-unit --baseurl=http://repo.merproject.org/obs/home:/SourenAraya:/branches:/nemo:/devel:/hw:/ti:/omap3:/n950-n9/latest_armv7hl/ --includepkgs=bme-rm-680-bin
repo --name=mer --baseurl=http://repo.merproject.org/obs/home:/vgrade:/branches:/mer-core:/devel/latest_armv7hl/
%packages
#@jolla-mw
qt5-qtmultimedia-plugin-resourcepolicy-resourceqt
alsa-plugins-pulseaudio
statefs-provider-connman
droid-sans-fonts
xdg-utils
droid-sans-mono-fonts
droid-serif-fonts
buteo-mtp-qt5-sync-plugin
jolla-keyboard
bluez-configs-sailfish
ohm
statefs-provider-keyboard-generic
jolla-firstsession
statefs-provider-mce
qt5-plugin-bearer-connman
statefs-provider-ofono
statefs-provider-profile
qt5-qtsensors-plugin-sensorfw
connman-configs-sailfish
-statefs-provider-upower
buteo-sync-plugins-qt5
mapplauncherd-privileges-jolla
jolla-preload-pictures
statefs-provider-bluez
#@jolla-core
fontpackages-filesystem
lsb-release
wireless-tools
kbd
wpa_supplicant
systemd-sysv
iproute
setup
ssu
ofono
xdg-user-dirs
e2fsprogs
pam
shadow-utils
passwd
shared-mime-info
mer-release
prelink
iputils
procps
ssu-vendor-data-jolla
connman
readline
rootfiles
rpm
coreutils
basesystem
bash
jolla-ca
crda
busybox-symlinks-gzip
bluez
boardname
net-tools
jolla-common-configurations
nss
deltarpm
usbutils
file
time
util-linux
filesystem
#=================================================
#@jolla-configuration-n9
#@jolla-ui-wayland
jolla-sessions-qt5
lipstick-jolla-home-qt5
jolla-actdead-charging
#@jolla-sailfish-applications
all-translations-pack
jolla-handwriting
transferengine-plugins
jolla-vault
jolla-settings-bluetooth
jolla-settings-sync
jolla-contacts
jolla-startupwizard
jolla-settings-accounts
#jolla-camera
jolla-settings-accounts-extensions
jolla-settings-layout
jolla-settings-networking
sailfish-browser
jolla-settings-transferui-qt5
jolla-gallery
voicecall-ui-jolla
jolla-messages
jolla-vault-units
-jolla-xt9
-jolla-xt9-cp
store-client
jolla-settings-system
jolla-hacks
#@jolla-store-applications
jolla-calendar
#yandex-store
jolla-mediaplayer
jolla-clock
jolla-notes
jolla-email
jolla-calculator
sailfish-office
#@jolla-hw-adaptation-n9
#===========================================================
#@nokia-n950-support-wayland
bme-rm-680-bin
statefs-provider-bme
dsme
gstreamer0.10-nokia-videosrc
gst-omapfb
kernel-adaptation-n950
n950-camera-fw
nokia-n950-configs
nemo-configs-n950-n9
omap-update-display
#pulseaudio-settings-n950
systemd-console-ttyS0
ti-omap3-sgx-libEGL
ti-omap3-sgx-libGLESv1
ti-omap3-sgx-libGLESv2
ti-omap3-sgx-wayland-wsegl
ti-wl1271-firmware
ti-wl1273-bt-firmware
ti-wl1273-fm-radio-firmware
udev-rules-n950
wl1271-cal-bin
policy-settings-basic-n950
usb-moded-config-n950-n9
#===========================================================
qt5-plugin-platform-eglfs
nemo-configs-n950-n9-wayland
qt5-qtwayland-wayland_egl
#=================================================
jolla-common-configurations
libsailfishkeyprovider-data-jolla
#pulseaudio-policy-enforcement
-usb-moded-settings-sailfish
jolla-developer-mode
#=== MULTIMEDIA =================================
gst-av
#alsa-utils
#================================================
#===== tools ===========================
nano
zypper
#==== END tools ==============================
%end
%pre
touch $INSTALL_ROOT/.bootstrap
%end
%post
rm $INSTALL_ROOT/.bootstrap
Config_Src=`gconftool-2 --get-default-source`
# Set up proper target for libmeegotouch
gconftool-2 --direct --config-source $Config_Src \
-s -t string /meegotouch/target/name N950
# 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
# Hack to fix the proximity sensor on n950
cat > /usr/sbin/enable_prox << EOF
#!/bin/sh
echo 1 > /sys/devices/platform/i2c_omap.2/i2c-2/2-0039/prox_enable
EOF
chmod +x /usr/sbin/enable_prox
cat > /etc/systemd/system/proximity-fix.service << EOF
[Unit]
Description=Fix proximity sensor on N950
[Service]
Type=oneshot
ExecStart=/usr/sbin/enable_prox
TimeoutSec=0
StandardOutput=tty
RemainAfterExit=yes
SysVStartPriority=99
[Install]
WantedBy=multi-user.target
EOF
ln -s /etc/systemd/system/proximity-fix.service /etc/systemd/system/multi-user.target.wants/
## fix permissions
chown -R 100000:100000 /home/nemo
# developer mode password workaround
sed -i 's/system/privileged/' /etc/dbus-1/system.d/org.nemo.passwordmanager.conf
## 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