Advertisement
Guest User

Nemo Kick Starter by MAX83 v2.0

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