Advertisement
Guest User

Untitled

a guest
Feb 19th, 2016
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.46 KB | None | 0 0
  1. #version=DEVEL
  2. user --groups=audio,video --name=nemo --password=nemo
  3. # Keyboard layouts
  4. keyboard us# Root password
  5. rootpw --plaintext nemo
  6. # System language
  7. lang en_US.UTF-8
  8. # Installation logging level
  9. logging --level=info
  10.  
  11. # System timezone
  12. timezone --isUtc UTC
  13. # Default Desktop Settings
  14. desktop --autologinuser=meego
  15. repo --name="mer-core" --baseurl=http://repo.merproject.org/obs/mer-core:/armv7hl:/devel/Core_armv7hl/ --debuginfo --ssl_verify=yes
  16. repo --name="nemo-ux" --baseurl=http://repo.merproject.org/obs/nemo:/devel:/ux/mer-core_armv7hl_devel/ --ssl_verify=yes
  17. repo --name="nemo-apps" --baseurl=http://repo.merproject.org/obs/nemo:/devel:/apps/latest_armv7hl/ --ssl_verify=yes
  18. repo --name="hammerhead" --baseurl=http://repo.merproject.org/obs/nemo:/devel:/hw:/lge:/hammerhead/sailfish_latest_armv7hl/
  19. %packages
  20. #@jolla-hw-adaptation-hammerhead
  21. #PackageKit-Qt5
  22. #PackageKit-glib
  23. #PackageKit-zypp
  24. #PackageKit
  25. alsa-lib
  26. attr
  27. augeas-libs
  28. basesystem
  29. bash
  30. bluez-configs-mer
  31. bluez-libs
  32. bluez
  33. boardname
  34. boost-filesystem
  35. boost-system
  36. #buteo-mtp-qt5-sync-plugin
  37. #buteo-syncfw-qt5
  38. bzip2-libs
  39. bzip2
  40. ca-certificates
  41. cairo
  42. ce-backgrounds
  43. check
  44. cjkuni-fonts
  45. commhistory-daemon
  46. connman-qt5-declarative
  47. connman-qt5
  48. connman-test
  49. connman
  50. contactsd
  51. #contextkit-plugin-kbslider
  52. #contextkit-plugin-mce
  53. #contextkit-plugin-power-bme
  54. #contextkit
  55. cor
  56. coreutils
  57. crda
  58. curl
  59. db4-utils
  60. db4
  61. dbus-glib
  62. dbus-libs
  63. dbus-python
  64. #dbus-x11
  65. dbus
  66. deltarpm
  67. desktop-file-utils
  68. diffutils
  69. droid-sans-fonts
  70. droid-sans-mono-fonts
  71. droid-serif-fonts
  72. dsme
  73. e2fsprogs-libs
  74. e2fsprogs
  75. elfutils-libelf
  76. exempi
  77. expat
  78. farstream
  79. fbset
  80. file-libs
  81. file
  82. filesystem
  83. findutils
  84. fingerterm
  85. flac
  86. fontconfig
  87. fontpackages-filesystem
  88. freetype
  89. fuse-libs
  90. fuse
  91. gawk
  92. gconf
  93. gdb
  94. gdbm
  95. giflib
  96. glib-networking
  97. glib2
  98. glibc-common
  99. glibc
  100. gmime
  101. gnupg2
  102. gnutls
  103. google-opensans-fonts
  104. grep
  105. gst-plugins-bad-free
  106. gst-plugins-base
  107. gst-plugins-good
  108. gstreamer
  109. gzip
  110. hwdata
  111. info
  112. iotop
  113. iproute
  114. iptables
  115. iputils
  116. iw
  117. json-c
  118. kbd
  119. kcalcore-qt5
  120. kmod-libs
  121. kmod
  122. lcms-libs
  123. lcms
  124. libICE
  125. libSM
  126. libX11
  127. libXau
  128. libXaw
  129. libXdamage
  130. libXext
  131. libXfixes
  132. libXft
  133. libXi
  134. libXmu
  135. libXpm
  136. libXrender
  137. libXt
  138. libXtst
  139. libXv
  140. libaccounts-glib-tools
  141. libaccounts-glib
  142. libaccounts-qt5
  143. libacl
  144. libarchive
  145. libasyncns
  146. libattr
  147. libblkid
  148. libcanberra
  149. libcap
  150. libcom_err
  151. libcommhistory-qt5-declarative
  152. libcommhistory-qt5-tools
  153. libcommhistory-qt5
  154. libcontacts-qt5
  155. libcontentaction-qt5
  156. libcreds3
  157. libcurl
  158. libdbus-qeventloop-qt5
  159. libdrm
  160. libdsme
  161. libenca-libenca0
  162. libenca
  163. libsmack
  164. liberation-fonts-common
  165. liberation-mono-fonts
  166. liberation-sans-fonts
  167. liberation-serif-fonts
  168. libexif
  169. libffi
  170. libgcc
  171. libgcrypt
  172. libgpg-error
  173. libgsf
  174. libgudev1
  175. libical
  176. libicu
  177. libidn
  178. libiodata-qt5
  179. libiphb
  180. libiptcdata
  181. libjpeg-turbo
  182. libksba
  183. liblua
  184. libmlocale-qt5
  185. libngf-qt5
  186. libnice
  187. libnl
  188. libogg
  189. libpng
  190. libmeegotouchevents-qt5
  191. libngf-client
  192. libqmfclient1-qt5
  193. libqmfmessageserver1-qt5
  194. libqofono-qt5
  195. libqt5sparql-tracker-direct
  196. libqt5sparql
  197. libqtwebkit5-widgets
  198. libqtwebkit5
  199. libquillmetadata-qt5
  200. libresource
  201. libresourceqt-qt5
  202. libsailfishkeyprovider
  203. libshadowutils
  204. libsignon-glib
  205. libsignon-qt5
  206. libsndfile
  207. libsolv-tools
  208. libsolv0
  209. libsoup
  210. libss
  211. libstdc++
  212. libtasn1
  213. libtheora
  214. libtiff
  215. libtool-ltdl
  216. libtrace
  217. #libudev
  218. libusb
  219. libusb1
  220. libuser
  221. libutempter
  222. libuuid
  223. libvisual
  224. libvorbis
  225. libxcb
  226. libxkbcommon
  227. libxkbfile
  228. libxml2
  229. libxslt
  230. libzypp
  231. lipstick-glacier-home-qt5
  232. #lipstick-qt5-tools-ui
  233. lipstick-qt5-tools
  234. lipstick-qt5
  235. lsb-release
  236. lsof
  237. lynx
  238. maliit-framework-wayland-inputcontext
  239. maliit-framework-wayland
  240. maliit-plugins
  241. mapplauncherd-booster-qtcomponents-qt5
  242. mapplauncherd-qt5
  243. mapplauncherd
  244. mce-tools
  245. mce
  246. mer-gfx-tests
  247. mer-release
  248. mkcal-qt5
  249. mlite-qt5
  250. mobile-broadband-provider-info
  251. multi_c_rehash
  252. nano
  253. ncurses-base
  254. ncurses-libs
  255. ncurses
  256. #nemo-configs-connman
  257. #nemo-firstsession
  258. nemo-mobile-session-common
  259. nemo-mobile-session-wayland
  260. nemo-qml-plugin-accounts-qt5
  261. #nemo-qml-plugin-alarms-qt5
  262. nemo-qml-plugin-configuration-qt5
  263. nemo-qml-plugin-contacts-qt5-tools
  264. nemo-qml-plugin-contacts-qt5
  265. nemo-qml-plugin-dbus-qt5
  266. #nemo-qml-plugin-email-qt5
  267. #nemo-qml-plugin-folderlistmodel
  268. nemo-qml-plugin-messages-internal-qt5
  269. nemo-qml-plugin-notifications-qt5
  270. nemo-qml-plugin-signon-qt5
  271. nemo-qml-plugin-systemsettings
  272. nemo-qml-plugin-thumbnailer-qt5
  273. nemo-qml-plugin-time-qt5
  274. nemo-theme-glacier
  275. net-tools
  276. ngfd-settings-basic
  277. ngfd
  278. nspr
  279. nss-softokn-freebl
  280. nss-sysinit
  281. nss
  282. ofono-tests
  283. ofono
  284. ohm-configs-default
  285. ohm-plugin-core
  286. ohm
  287. oneshot
  288. openssh-clients
  289. openssh-server
  290. openssh
  291. openssl-libs
  292. orc
  293. pacrunner
  294. pam
  295. pango
  296. passwd
  297. pcre
  298. pixman
  299. #plymouth-lite
  300. polkit
  301. poppler-glib
  302. poppler
  303. popt
  304. prelink
  305. procps
  306. profiled-settings-default
  307. profiled
  308. psmisc
  309. pth
  310. pulseaudio-modules-nemo-common
  311. #-5.0.16-10.1.Nemo.i486
  312. pulseaudio-modules-nemo-mainvolume
  313. pulseaudio-modules-nemo-music
  314. pulseaudio-modules-nemo-parameters
  315. pulseaudio-modules-nemo-record
  316. pulseaudio-modules-nemo-stream-restore
  317. pulseaudio-modules-nemo-voice
  318. pulseaudio-policy-enforcement
  319. pulseaudio
  320. pygobject2
  321. python-libs
  322. python
  323. qmlcalc
  324. qmlcalendar
  325. #qmlclock
  326. #qmlcontacts
  327. #qmlfilemuncher
  328. qmlgallery
  329. #qmlmail
  330. qmlmaps
  331. #qmlmessages
  332. qmlmusicplayer
  333. #qmlnotes-theme-blanco-extra
  334. qmlnotes
  335. qmlpackagemanager
  336. qmlpinquery
  337. qmlsettings-account-plugin-email
  338. qmlsettings-account-plugin-jabber
  339. qmlsettings
  340. qmsystem-qt5
  341. qt-components-qt5-gallery
  342. qt-components-qt5
  343. qt5-plugin-generic-evdev
  344. qt5-plugin-imageformat-jpeg
  345. qt5-plugin-platform-eglfs
  346. qt5-plugin-platform-minimal
  347. qt5-plugin-sqldriver-sqlite
  348. qt5-qt3d
  349. qt5-qtconcurrent
  350. qt5-qtcore
  351. qt5-qtdbus
  352. qt5-qtdeclarative-import-localstorageplugin
  353. qt5-qtdeclarative-import-location
  354. qt5-qtdeclarative-import-multimedia
  355. qt5-qtdeclarative-import-qtquick2plugin
  356. qt5-qtdeclarative-import-window2
  357. qt5-qtdeclarative-import-xmllistmodel
  358. qt5-qtdeclarative-pim-organizer
  359. qt5-qtdeclarative-qmlscene
  360. qt5-qtdeclarative-qtquick
  361. qt5-qtdeclarative
  362. qt5-qtdocgallery
  363. qt5-qtfeedback
  364. qt5-qtgraphicaleffects
  365. qt5-qtgui
  366. qt5-qtlocation
  367. qt5-qtmultimedia-gsttools
  368. qt5-qtmultimedia-plugin-mediaservice-gstmediaplayer
  369. qt5-qtmultimedia
  370. qt5-qtnetwork
  371. qt5-qtopengl
  372. qt5-qtpim-contacts
  373. qt5-qtpim-organizer
  374. qt5-qtpim-versit
  375. qt5-qtpim-versitorganizer
  376. qt5-qtpositioning
  377. qt5-qtprintsupport
  378. qt5-qtquickcontrols-nemo-examples
  379. qt5-qtquickcontrols-nemo
  380. qt5-qtquickcontrols
  381. qt5-qtsensors-plugin-sensorfw
  382. qt5-qtsensors
  383. qt5-qtserviceframework
  384. qt5-qtsql
  385. qt5-qtsvg-plugin-imageformat-svg
  386. qt5-qtsvg
  387. qt5-qtsysteminfo
  388. qt5-qtwayland-wayland_egl-examples
  389. qt5-qtwayland-wayland_egl
  390. qt5-qtwebkit-uiprocess-launcher
  391. qt5-qtwidgets
  392. qt5-qtxml
  393. qt5-qtxmlpatterns
  394. qtcontacts-sqlite-qt5
  395. quillimagefilter-qt5
  396. readline
  397. recode
  398. rootfiles
  399. rpm-libs
  400. rpm
  401. screen
  402. sed
  403. sensorfw-qt5-configs
  404. sensorfw-qt5
  405. setup
  406. shadow-utils
  407. shared-mime-info
  408. signon-qt5
  409. sound-theme-freedesktop
  410. speex
  411. sqlite
  412. #ssu-vendor-data-nemo
  413. ssu
  414. statefs-contextkit-subscriber
  415. #statefs-pp
  416. statefs-qt5
  417. statefs
  418. ##systemd-console-ttyS0
  419. ##systemd-sysv
  420. systemd-config-mer
  421. systemd-analyze
  422. systemd-libs
  423. systemd-user-session-targets
  424. systemd
  425. taglib
  426. tar
  427. telepathy-accounts-signon
  428. telepathy-farstream
  429. telepathy-glib
  430. telepathy-mission-control
  431. telepathy-qt5-farstream
  432. telepathy-qt5
  433. telepathy-ring
  434. time
  435. timed-qt5
  436. tinycdb
  437. tone-generator
  438. totem-pl-parser
  439. tracker-utils
  440. tracker
  441. tumbler
  442. tzdata-timed
  443. tzdata
  444. unzip
  445. usb-moded
  446. usbutils
  447. util-linux
  448. v8
  449. vim-common
  450. vim-enhanced
  451. vim-filesystem
  452. vim-minimal
  453. voicecall-qt5
  454. voicecall-ui-reference
  455. wayland
  456. wget
  457. wireless-regdb
  458. wireless-tools
  459. wpa_supplicant
  460. xdg-user-dirs
  461. xdg-utils
  462. xkeyboard-config
  463. xorg-x11-filesystem
  464. xorg-x11-xkb-utils
  465. xz-libs
  466. xz
  467. zlib
  468. zypper
  469. #libhybris
  470. libhybris-libEGL
  471. libhybris-libGLESv1
  472. libhybris-libGLESv2
  473. libhybris-libOpenCL
  474. libhybris-libOpenVG
  475. libhybris-libwayland-egl
  476. libhybris-tests
  477. libhybris-libvibrator
  478. hybris-libsensorfw-qt5
  479. qt5-plugin-generic-evdev
  480. droid-hal-hammerhead
  481. droid-hal-hammerhead-img-boot
  482. droid-hal-hammerhead-kernel-modules
  483. droid-config-hammerhead-sailfish
  484. droid-config-hammerhead-pulseaudio-settings
  485. droid-config-hammerhead-preinit-plugin
  486. droid-hal-version-hammerhead
  487. pulseaudio-modules-droid
  488. qt5-qtwayland-wayland_egl
  489. qt5-qpa-hwcomposer-plugin
  490. qtscenegraph-adaptation
  491. gstreamer1.0
  492. gstreamer1.0-plugins-good
  493. gstreamer1.0-plugins-base
  494. gstreamer1.0-plugins-bad
  495. nemo-gstreamer1.0-interfaces
  496. gstreamer1.0-droid
  497. mce-plugin-libhybris
  498. usb-moded
  499. usb-moded-defaults-android
  500. usb-moded-developer-mode-android
  501. usb-moded-pc-suite-mode-android
  502. usb-moded-mass-storage-android-config
  503. usb-moded-connection-sharing-android-config
  504. usb-moded-diag-mode-android
  505.  
  506. #@nemo-mw
  507. #@nemo-ux-wayland
  508. #@nemo-apps-wayland
  509. #@nemo-rnd-wayland
  510. %end
  511. %attachment
  512. ### Commands from /tmp/sandbox/usr/share/ssu/kickstart/attachment/hammerhead
  513. /boot/hybris-boot.img
  514. /boot/hybris-updater-script
  515. /boot/hybris-updater-unpack.sh
  516. /boot/update-binary
  517. /etc/sailfish-release
  518.  
  519. %end
  520.  
  521. %pre
  522. export SSU_RELEASE_TYPE=release
  523. ### begin 01_init
  524. touch $INSTALL_ROOT/.bootstrap
  525. ### end 01_init
  526. %end
  527.  
  528. %post
  529.  
  530. export SSU_RELEASE_TYPE=release
  531. ### begin 01_arch-hack
  532. if [ "@ARCH@" == armv7hl ] || [ "@ARCH@" == armv7tnhl ]; then
  533. # Without this line the rpm does not get the architecture right.
  534. echo -n "@ARCH@-meego-linux" > /etc/rpm/platform
  535.  
  536. # Also libzypp has problems in autodetecting the architecture so we force tha as well.
  537. # https://bugs.meego.com/show_bug.cgi?id=11484
  538. echo "arch = @ARCH@" >> /etc/zypp/zypp.conf
  539. fi
  540. ### end 01_arch-hack
  541. ### begin 01_rpm-rebuilddb
  542. # Rebuild db using target's rpm
  543. echo -n "Rebuilding db using target rpm.."
  544. rm -f /var/lib/rpm/__db*
  545. rpm --rebuilddb
  546. echo "done"
  547. ### end 01_rpm-rebuilddb
  548. ### begin 50_oneshot
  549. # exit boostrap mode
  550. rm -f /.bootstrap
  551.  
  552. # export some important variables until there's a better solution
  553. export LANG=en_US.UTF-8
  554. export LC_COLLATE=en_US.UTF-8
  555. export GSETTINGS_BACKEND=gconf
  556.  
  557. # run the oneshot triggers for root and first user uid
  558. UID_MIN=$(grep "^UID_MIN" /etc/login.defs | tr -s " " | cut -d " " -f2)
  559. DEVICEUSER=`getent passwd $UID_MIN | sed 's/:.*//'`
  560.  
  561. if [ -x /usr/bin/oneshot ]; then
  562. su -c "/usr/bin/oneshot --mic"
  563. su -c "/usr/bin/oneshot --mic" $DEVICEUSER
  564. fi
  565. ### end 50_oneshot
  566. ### begin 60_ssu
  567. if [ "$SSU_RELEASE_TYPE" = "rnd" ]; then
  568. [ -n "@RNDRELEASE@" ] && ssu release -r @RNDRELEASE@
  569. [ -n "@RNDFLAVOUR@" ] && ssu flavour @RNDFLAVOUR@
  570. ssu mode 2
  571. else
  572. [ -n "@RELEASE@" ] && ssu release @RELEASE@
  573. ssu mode 4
  574. fi
  575. ### end 60_ssu
  576. ### begin 70_sdk-domain
  577.  
  578. export SSU_DOMAIN=@RNDFLAVOUR@
  579.  
  580. if [ "$SSU_RELEASE_TYPE" = "release" ] && [[ "$SSU_DOMAIN" = "public-sdk" ]];
  581. then
  582. ssu domain sailfish
  583. fi
  584. ### end 70_sdk-domain
  585. sed -i 's/at_console="true"/group="users"/g' /etc/dbus-1/system.d/*
  586. %end
  587.  
  588. %post --nochroot
  589. export SSU_RELEASE_TYPE=release
  590. ### begin 01_release
  591. if [ -n "$IMG_NAME" ]; then
  592. echo "BUILD: $IMG_NAME" >> $INSTALL_ROOT/etc/meego-release
  593. fi
  594. ### end 01_release
  595. %end
  596.  
  597. %pack
  598. export SSU_RELEASE_TYPE=release
  599. ### begin package-droid-updater
  600. pushd $IMG_OUT_DIR
  601.  
  602. DEVICE=hammerhead
  603.  
  604. # Locate rootfs tar.bz2 archive.
  605. for filename in *.tar.bz2; do
  606. GEN_IMG_BASE=$(basename $filename .tar.bz2)
  607. done
  608.  
  609. if [ ! -e "$GEN_IMG_BASE.tar.bz2" ]; then
  610. echo "No rootfs archive found, exiting ..."
  611. exit 1
  612. fi
  613.  
  614. IMG_SIZE=$(du -h $GEN_IMG_BASE.tar.bz2 | cut -f1)
  615.  
  616. # Output filenames
  617. DST_IMG_BASE=nemo-mer-hammerhead-devel
  618. DST_IMG=$DST_IMG_BASE.tar.bz2
  619.  
  620. # Copy boot image, updater scripts and updater binary into updater .zip tree.
  621. mkdir -p updater/META-INF/com/google/android
  622.  
  623. mv update-binary updater/META-INF/com/google/android/update-binary
  624. mv hybris-updater-script updater/META-INF/com/google/android/updater-script
  625. mv hybris-updater-unpack.sh updater/updater-unpack.sh
  626. mv hybris-boot.img updater/hybris-boot.img
  627.  
  628. # Temporarily move the rootfs into the updater directory
  629. mv $GEN_IMG_BASE.tar.bz2 updater/$DST_IMG
  630.  
  631. # Update updater-script with image details.
  632. sed -i -e "s %VERSION% $VERSION_ID g" -e "s %IMAGE_FILE% $DST_IMG g" -e "s %IMAGE_SIZE% $IMG_SIZE g" updater/META-INF/com/google/android/updater-script
  633.  
  634. # pack updater .zip
  635. pushd updater
  636. zip -r ../$DST_IMG_BASE.zip META-INF/com/google/android/update-binary META-INF/com/google/android/updater-script updater-unpack.sh hybris-boot.img $DST_IMG_BASE.ks $DST_IMG
  637. popd # updater
  638.  
  639. # Move the rootfs back out of the updater directory
  640. mv updater/$DST_IMG $GEN_IMG_BASE.tar.bz2
  641.  
  642. # Clean up updater .zip working directory.
  643. rm -rf updater
  644.  
  645. popd # $IMG_OUT_DIR
  646. ### end package-droid-updater
  647. %end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement