Advertisement
Guest User

Untitled

a guest
Oct 18th, 2014
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.92 KB | None | 0 0
  1.  
  2.  
  3. #version=DEVEL
  4. user --groups=audio,video --name=nemo --password=nemo
  5. # Keyboard layouts
  6. keyboard us
  7. # Root password
  8. rootpw --plaintext nemo
  9. # System language
  10. lang en_US.UTF-8
  11. # Installation logging level
  12. logging --level=info
  13.  
  14. # System timezone
  15. timezone --isUtc UTC
  16. # Default Desktop Settings
  17. desktop --autologinuser=meego
  18. repo --name="mer-core" --baseurl=http://repo.merproject.org/obs/mer-core:/armv7hl:/devel/Core_armv7hl/ --debuginfo --ssl_verify=yes
  19. repo --name="nemo-ux" --baseurl=http://repo.merproject.org/obs/nemo:/devel:/ux/mer-core_armv7hl_devel/ --ssl_verify=yes
  20. repo --name="nemo-apps" --baseurl=http://repo.merproject.org/obs/nemo:/devel:/apps/latest_armv7hl/ --ssl_verify=yes
  21. #repo --name=nemo-adaptation-n950-n9-testing --baseurl=http://repo.merproject.org/obs/nemo:/testing:/hw:/ti:/omap3:/n950-n9/latest_armv7hl --includepkgs=linux-firmware-ti-connectivity
  22. repo --name=nemo-adaptation-n950-n9 --baseurl=http://repo.merproject.org/obs/nemo:/devel:/hw:/ti:/omap3:/n950-n9/latest_armv7hl/
  23. repo --name=nemo-adaptation-n9xx-common --baseurl=http://repo.merproject.org/obs/nemo:/devel:/hw:/ti:/omap3:/n9xx-common/latest_armv7hl/
  24. #repo --name="mer-qt" --baseurl=http://repo.merproject.org/obs/mer:/qt:/devel/latest_armv7hl/ --ssl_verify=yes
  25. repo --name=filippz --baseurl=http://repo.merproject.org/obs/home:/filippz/latest_armv7hl/ --includepkgs=kernel-adaptation-n950
  26. #repo --name=filippz-devel --baseurl=http://repo.merproject.org/obs/home:/filippz:/devel/latest_armv7hl/
  27. #repo --name=jalnmwr --baseurl=http://repo.merproject.org/obs/home:/SourenAraya:/branches:/nemo:/devel:/mw/latest_armv7hl/
  28. # Disk partitioning information
  29. part / --fstype="ext3" --ondisk=sda --size=1500
  30.  
  31. %pre
  32. touch $INSTALL_ROOT/.bootstrap
  33. %end
  34.  
  35. %post
  36. rm $INSTALL_ROOT/.bootstrap
  37.  
  38. #having mce prevents N9 from booting
  39. mv /lib/systemd/system/mce.service /lib/systemd/system/mce.service.bak
  40.  
  41. #user-session@.service is history
  42. #so remove it...
  43. rm /lib/systemd/system/user-session@.service
  44. #...and set start-user-session to call user@.service instead...
  45. sed -i 's/USER_SERVICE=.*/USER_SERVICE=user\\@${DEF_UID}.service/' /usr/lib/startup/start-user-session
  46. #we also need to check is session dbus dameon running - if not then start it
  47. sed -i '/USER_SERVICE=.*/a\
  48. \
  49. if [ ! -S /run/user/${DEF_UID}/dbus/user_bus_socket ]; then\
  50. mkdir -p /run/user/${DEF_UID}/dbus\
  51. chown -R ${DEF_UID}:${DEF_UID} /run/user/${DEF_UID}\
  52. dbus-daemon --session --fork --address=unix:path=/run/user/${DEF_UID}/dbus/user_bus_socket --systemd-activation\
  53. fi\
  54. ' /usr/lib/startup/start-user-session
  55.  
  56. #add XDG_RUNTIME_DIR var
  57. sed -i '/Environment=.*/a\
  58. Environment=XDG_RUNTIME_DIR=/run/user/%i' lib/systemd/system/user@.service
  59.  
  60. # Hack to fix the proximity sensor on n950
  61. cat > /usr/sbin/enable_prox << EOF
  62. #!/bin/sh
  63. echo 1 > /sys/devices/platform/i2c_omap.2/i2c-2/2-0039/prox_enable
  64. EOF
  65. chmod +x /usr/sbin/enable_prox
  66.  
  67. cat > /etc/systemd/system/proximity-fix.service << EOF
  68. [Unit]
  69. Description=Fix proximity sensor on N950
  70.  
  71. [Service]
  72. Type=oneshot
  73. ExecStart=/usr/sbin/enable_prox
  74. TimeoutSec=0
  75. StandardOutput=tty
  76. RemainAfterExit=yes
  77. SysVStartPriority=99
  78.  
  79. [Install]
  80. WantedBy=multi-user.target
  81. EOF
  82. ln -s /etc/systemd/system/proximity-fix.service /etc/systemd/system/multi-user.target.wants/
  83.  
  84. ## fix permissions
  85. chown -R 100000:100000 /home/nemo
  86.  
  87. ## rpm-rebuilddb.post from mer-kickstarter-configs package
  88. # Rebuild db using target's rpm
  89. echo -n "Rebuilding db using target rpm.."
  90. rm -f /var/lib/rpm/__db*
  91. rpm --rebuilddb
  92. echo "done"
  93. ## end rpm-rebuilddb.post
  94.  
  95. #if [ "@SSU_RELEASE_TYPE@" = "rnd" ]; then
  96. # [ -n "@NEMO_RELEASE@" ] && ssu release -r @NEMO_RELEASE@
  97. # [ -n "@FLAVOUR@" ] && ssu flavour @FLAVOUR@
  98. # ssu mode 2
  99. #else
  100. # [ -n "@NEMO_RELEASE@" ] && ssu release @NEMO_RELEASE@
  101. # ssu mode 4
  102. #fi
  103.  
  104. ## arch-armv7hl.post from mer-kickstarter-configs package
  105. # Without this line the rpm don't get the architecture right.
  106. echo -n 'armv7hl-meego-linux' > /etc/rpm/platform
  107.  
  108. # Also libzypp has problems in autodetecting the architecture so we force tha as well.
  109. # https://bugs.meego.com/show_bug.cgi?id=11484
  110. echo 'arch = armv7hl' >> /etc/zypp/zypp.conf
  111. ## end arch-armv7hl.post
  112.  
  113. # Remove service to mount debugfs installed by systemd (it causes liptick to crash)
  114. rm -f /lib/systemd/system/sys-kernel-debug.mount
  115. rm -f /lib/systemd/system/sysinit.target.wants/sys-kernel-debug.mount
  116.  
  117.  
  118. %end
  119.  
  120. %post --nochroot
  121. if [ -n "$IMG_NAME" ]; then
  122. echo "BUILD: $IMG_NAME" >> $INSTALL_ROOT/etc/meego-release
  123. fi
  124.  
  125.  
  126. %end
  127.  
  128. %packages
  129. PackageKit-Qt5
  130. PackageKit-glib
  131. PackageKit-zypp
  132. PackageKit
  133. alsa-lib
  134. attr
  135. augeas-libs
  136. basesystem
  137. bash
  138. bluez-configs-mer
  139. bluez-libs
  140. bluez
  141. bme-rm-680-bin
  142. boardname
  143. boost-filesystem
  144. boost-system
  145. #buteo-mtp-qt5-sync-plugin
  146. #buteo-syncfw-qt5
  147. bzip2-libs
  148. bzip2
  149. ca-certificates
  150. cairo
  151. ce-backgrounds
  152. check
  153. cjkuni-fonts
  154. commhistory-daemon
  155. connman-qt5-declarative
  156. connman-qt5
  157. connman-test
  158. connman
  159. contactsd
  160. #contextkit-plugin-kbslider
  161. #contextkit-plugin-mce
  162. #contextkit-plugin-power-bme
  163. #contextkit
  164. cor
  165. coreutils
  166. crda
  167. curl
  168. db4-utils
  169. db4
  170. dbus-glib
  171. dbus-libs
  172. dbus-python
  173. #dbus-x11
  174. dbus
  175. deltarpm
  176. desktop-file-utils
  177. diffutils
  178. droid-sans-fonts
  179. droid-sans-mono-fonts
  180. droid-serif-fonts
  181. dsme
  182. e2fsprogs-libs
  183. e2fsprogs
  184. elfutils-libelf
  185. exempi
  186. expat
  187. farstream
  188. fbset
  189. file-libs
  190. file
  191. filesystem
  192. findutils
  193. fingerterm
  194. flac
  195. fontconfig
  196. fontpackages-filesystem
  197. freetype
  198. fuse-libs
  199. fuse
  200. gawk
  201. gconf
  202. gdb
  203. gdbm
  204. giflib
  205. glib-networking
  206. glib2
  207. glibc-common
  208. glibc
  209. gmime
  210. gnupg2
  211. gnutls
  212. google-opensans-fonts
  213. grep
  214. gst-omapfb
  215. gst-plugins-bad-free
  216. gst-plugins-base
  217. gst-plugins-good
  218. gstreamer
  219. gstreamer0.10-nokia-videosrc
  220. gzip
  221. hwdata
  222. info
  223. iotop
  224. iproute
  225. iptables
  226. iputils
  227. iw
  228. json-c
  229. kbd
  230. kcalcore-qt5
  231. kernel-adaptation-n950
  232. kmod-libs
  233. kmod
  234. lcms-libs
  235. lcms
  236. libICE
  237. libSM
  238. libX11
  239. libXau
  240. libXaw
  241. libXdamage
  242. libXext
  243. libXfixes
  244. libXft
  245. libXi
  246. libXmu
  247. libXpm
  248. libXrender
  249. libXt
  250. libXtst
  251. libXv
  252. libaccounts-glib-tools
  253. libaccounts-glib
  254. libaccounts-qt5
  255. libacl
  256. libarchive
  257. libasyncns
  258. libattr
  259. libblkid
  260. libcal-rm-680-bin
  261. libcanberra
  262. libcap
  263. libcmtspeechdata
  264. libcom_err
  265. libcommhistory-qt5-declarative
  266. libcommhistory-qt5-tools
  267. libcommhistory-qt5
  268. libcontacts-qt5
  269. libcontentaction-qt5
  270. libcreds3
  271. libcurl
  272. libdbus-qeventloop-qt5
  273. libdrm
  274. libdsme
  275. libenca-libenca0
  276. libenca
  277. liberation-fonts-common
  278. liberation-mono-fonts
  279. liberation-sans-fonts
  280. liberation-serif-fonts
  281. libexif
  282. libffi
  283. libgcc
  284. libgcrypt
  285. libgpg-error
  286. libgsf
  287. libgudev1
  288. libical
  289. libicu
  290. libidn
  291. libiodata-qt5
  292. libiphb
  293. libiptcdata
  294. libjpeg-turbo
  295. libksba
  296. liblua
  297. libmlocale-qt5
  298. libngf-qt5
  299. libnice
  300. libnl
  301. libnl1
  302. libogg
  303. libomap3camd
  304. libpng
  305. libmeegotouchevents-qt5
  306. libngf-client
  307. libqmfclient1-qt5
  308. libqmfmessageserver1-qt5
  309. libqofono-qt5
  310. libqt5sparql-tracker-direct
  311. libqt5sparql
  312. libqtwebkit5-widgets
  313. libqtwebkit5
  314. libquillmetadata-qt5
  315. libresource
  316. libresourceqt-qt5
  317. libsailfishkeyprovider
  318. libshadowutils
  319. libsignon-glib
  320. libsignon-qt5
  321. libsmack
  322. libsndfile
  323. libsolv-tools
  324. libsolv0
  325. libsoup
  326. libss
  327. libstdc++
  328. libsysfs
  329. libtasn1
  330. libtheora
  331. libtiff
  332. libtool-ltdl
  333. libtrace
  334. #libudev
  335. libusb
  336. libusb1
  337. libuser
  338. libutempter
  339. libuuid
  340. libvisual
  341. libvorbis
  342. libwl1271-bin
  343. libxcb
  344. libxkbcommon
  345. libxkbfile
  346. libxml2
  347. libxslt
  348. libzypp
  349. lipstick-glacier-home-qt5
  350. lipstick-qt5-tools-ui
  351. lipstick-qt5-tools
  352. lipstick-qt5
  353. linux-firmware-ti-connectivity
  354. lsb-release
  355. lsof
  356. lynx
  357. maliit-framework-wayland-inputcontext
  358. maliit-framework-wayland
  359. maliit-plugins
  360. mapplauncherd-booster-qtcomponents-qt5
  361. mapplauncherd-qt5
  362. mapplauncherd
  363. mce-tools
  364. mce
  365. mer-gfx-tests
  366. mer-release
  367. mkcal-qt5
  368. mlite-qt5
  369. mobile-broadband-provider-info
  370. mtdev
  371. multi_c_rehash
  372. n950-camera-fw
  373. nano
  374. ncurses-base
  375. ncurses-libs
  376. ncurses
  377. #nemo-configs-connman
  378. nemo-configs-n950-n9-wayland
  379. nemo-configs-n950-n9
  380. #nemo-firstsession
  381. nemo-mobile-session-common
  382. nemo-mobile-session-wayland
  383. nemo-qml-plugin-accounts-qt5
  384. #nemo-qml-plugin-alarms-qt5
  385. nemo-qml-plugin-configuration-qt5
  386. nemo-qml-plugin-contacts-qt5-tools
  387. nemo-qml-plugin-contacts-qt5
  388. nemo-qml-plugin-dbus-qt5
  389. #nemo-qml-plugin-email-qt5
  390. #nemo-qml-plugin-folderlistmodel
  391. nemo-qml-plugin-messages-internal-qt5
  392. nemo-qml-plugin-notifications-qt5
  393. nemo-qml-plugin-signon-qt5
  394. nemo-qml-plugin-systemsettings
  395. nemo-qml-plugin-thumbnailer-qt5
  396. nemo-qml-plugin-time-qt5
  397. nemo-theme-glacier
  398. net-tools
  399. ngfd-settings-basic
  400. ngfd
  401. #nokia-n950-configs
  402. nspr
  403. nss-softokn-freebl
  404. nss-sysinit
  405. nss
  406. ofono-tests
  407. ofono
  408. ohm-configs-default
  409. ohm-plugin-core
  410. ohm
  411. omap-update-display
  412. oneshot
  413. openssh-clients
  414. openssh-server
  415. openssh
  416. openssl-libs
  417. orc
  418. pacrunner
  419. pam
  420. pango
  421. passwd
  422. pcre
  423. pixman
  424. #plymouth-lite
  425. policy-settings-basic-n950
  426. polkit
  427. poppler-glib
  428. poppler
  429. popt
  430. prelink
  431. procps
  432. profiled-settings-default
  433. profiled
  434. psmisc
  435. pth
  436. pulseaudio-module-cmtspeech-n9xx
  437. pulseaudio-modules-nemo-common
  438. pulseaudio-modules-nemo-mainvolume
  439. pulseaudio-modules-nemo-music
  440. pulseaudio-modules-nemo-parameters
  441. pulseaudio-modules-nemo-record
  442. pulseaudio-modules-nemo-stream-restore
  443. pulseaudio-modules-nemo-voice
  444. pulseaudio-policy-enforcement
  445. pulseaudio-settings-n950
  446. pulseaudio
  447. pygobject2
  448. python-libs
  449. python
  450. qmlcalc
  451. qmlcalendar
  452. #qmlclock
  453. #qmlcontacts
  454. #qmlfilemuncher
  455. qmlgallery
  456. #qmlmail
  457. qmlmaps
  458. #qmlmessages
  459. qmlmusicplayer
  460. #qmlnotes-theme-blanco-extra
  461. qmlnotes
  462. qmlpackagemanager
  463. qmlpinquery
  464. qmlsettings-account-plugin-email
  465. qmlsettings-account-plugin-jabber
  466. qmlsettings
  467. qmsystem-qt5
  468. qt-components-qt5-gallery
  469. qt-components-qt5
  470. qt5-plugin-generic-evdev
  471. qt5-plugin-imageformat-jpeg
  472. qt5-plugin-platform-eglfs
  473. qt5-plugin-platform-minimal
  474. qt5-plugin-sqldriver-sqlite
  475. qt5-qt3d
  476. qt5-qtconcurrent
  477. qt5-qtcore
  478. qt5-qtdbus
  479. qt5-qtdeclarative-import-localstorageplugin
  480. qt5-qtdeclarative-import-location
  481. qt5-qtdeclarative-import-multimedia
  482. qt5-qtdeclarative-import-qtquick2plugin
  483. qt5-qtdeclarative-import-window2
  484. qt5-qtdeclarative-import-xmllistmodel
  485. qt5-qtdeclarative-pim-organizer
  486. qt5-qtdeclarative-qmlscene
  487. qt5-qtdeclarative-qtquick
  488. qt5-qtdeclarative
  489. qt5-qtdocgallery
  490. qt5-qtfeedback
  491. qt5-qtgraphicaleffects
  492. qt5-qtgui
  493. qt5-qtlocation
  494. qt5-qtmultimedia-gsttools
  495. qt5-qtmultimedia-plugin-mediaservice-gstmediaplayer
  496. qt5-qtmultimedia
  497. qt5-qtnetwork
  498. qt5-qtopengl
  499. qt5-qtpim-contacts
  500. qt5-qtpim-organizer
  501. qt5-qtpim-versit
  502. qt5-qtpim-versitorganizer
  503. qt5-qtpositioning
  504. qt5-qtprintsupport
  505. #qt5-qtquickcontrols-nemo-examples
  506. #qt5-qtquickcontrols-nemo
  507. #qt5-qtquickcontrols
  508. qt5-qtsensors-plugin-sensorfw
  509. qt5-qtsensors
  510. qt5-qtserviceframework
  511. qt5-qtsql
  512. qt5-qtsvg-plugin-imageformat-svg
  513. qt5-qtsvg
  514. qt5-qtsysteminfo
  515. qt5-qtwayland-wayland_egl-examples
  516. qt5-qtwayland-wayland_egl
  517. qt5-qtwebkit-uiprocess-launcher
  518. qt5-qtwidgets
  519. qt5-qtxml
  520. qt5-qtxmlpatterns
  521. qtcontacts-sqlite-qt5
  522. quillimagefilter-qt5
  523. readline
  524. recode
  525. rootfiles
  526. rpm-libs
  527. rpm
  528. screen
  529. sed
  530. sensorfw-qt5-configs
  531. sensorfw-qt5
  532. setup
  533. shadow-utils
  534. shared-mime-info
  535. signon-qt5
  536. sound-theme-freedesktop
  537. speex
  538. sqlite
  539. #ssu-vendor-data-nemo
  540. ssu
  541. statefs-contextkit-subscriber
  542. statefs-pp
  543. statefs-provider-bme
  544. statefs-qt5
  545. statefs
  546. sysfsutils
  547. systemd-config-mer
  548. #systemd-console-ttyS0
  549. #systemd-sysv
  550. systemd-libs
  551. systemd-user-session-targets
  552. systemd-config-mer
  553. systemd
  554. taglib
  555. tar
  556. telepathy-accounts-signon
  557. telepathy-farstream
  558. telepathy-glib
  559. telepathy-mission-control
  560. telepathy-qt5-farstream
  561. telepathy-qt5
  562. telepathy-ring
  563. #ti-omap3-sgx-wayland-wsegl
  564. ti-omap3-sgx
  565. #ti-wl1271-firmware
  566. ti-wl1273-bt-firmware
  567. ti-wl1273-fm-radio-firmware
  568. time
  569. timed-qt5
  570. tinycdb
  571. tone-generator
  572. totem-pl-parser
  573. tracker-utils
  574. tracker
  575. tumbler
  576. tzdata-timed
  577. tzdata
  578. udev-rules-n950
  579. unzip
  580. usb-moded-config-n950-n9
  581. usb-moded
  582. usbutils
  583. util-linux
  584. v8
  585. vim-common
  586. vim-enhanced
  587. vim-filesystem
  588. vim-minimal
  589. voicecall-qt5
  590. voicecall-ui-reference
  591. wayland
  592. wget
  593. wireless-regdb
  594. wireless-tools
  595. wl1271-cal-bin
  596. wpa_supplicant
  597. xdg-user-dirs
  598. xdg-utils
  599. xkeyboard-config
  600. xorg-x11-filesystem
  601. xorg-x11-xkb-utils
  602. xz-libs
  603. xz
  604. zlib
  605. zypper
  606.  
  607.  
  608. %end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement