Advertisement
Guest User

Nemo Kick Starter by MAX83

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