Guest User

Untitled

a guest
Jul 7th, 2019
152
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. Build with all patterns enabled, and board-mappings moved out of the way
  3.  
  4. PlatformSDK [vince@dozer builds]$ EXTRA_NAME=-vknecht-20190707-4nobmaps
  5. PlatformSDK [vince@dozer builds]$ sudo mic create fs --arch=$PORT_ARCH --tokenmap=ARCH:$PORT_ARCH,RELEASE:$RELEASE,EXTRA_NAME:$EXTRA_NAME --record-pkgs=name,url --outdir=sfe-$DEVICE-$RELEASE$EXTRA_NAME --pack-to=sfe-$DEVICE-$RELEASE$EXTRA_NAME.tar.bz2 ../KS/3.0.3.9/Jolla-\@RELEASE\@-f5121-\@ARCH\@.ks
  6. [07/07 13:10:23] : mic 0.14 (Sailfish OS 3.0.3.9 (Hossa))
  7. Info[07/07 13:10:23] : Substitute macro variable @RELEASE@ with 3.0.3.9
  8. Info[07/07 13:10:23] : Substitute macro variable @EXTRA_NAME@ with -vknecht-20190707-4nobmaps
  9. Info[07/07 13:10:23] : Substitute macro variable @ARCH@ with armv7hl
  10. Info[07/07 13:10:23] : Retrieving repo metadata:
  11. Info[07/07 13:10:23] : Retrieving 5ebac193dc40289b10d712290da81af0ad4eb73732244c2c119b0f9330fa3e81-primary.xml.gz ...Info[07/07 13:10:23] : filename /var/tmp/mic/cache/adaptation-community-f5121-3.0.3.9/5ebac193dc40289b10d712290da81af0ad4eb73732244c2c119b0f9330fa3e81-primary.xml.gz gunzipped
  12. Info[07/07 13:10:23] : filename is now /var/tmp/mic/cache/adaptation-community-f5121-3.0.3.9/5ebac193dc40289b10d712290da81af0ad4eb73732244c2c119b0f9330fa3e81-primary.xml
  13. Info[07/07 13:10:23] : /var/tmp/mic/cache/adaptation-community-f5121-3.0.3.9/191eea53a5b39687652f9410665ea438b243243f7534c448a97b66983c1ebac9-patterns.xml checksum 8a123dc36385803e39d88f58b53ee86e348cc5ae6f92ac0188b06529b783c55c matches cache
  14. Info[07/07 13:10:23] : /var/tmp/mic/cache/adaptation-community-f5121-3.0.3.9/bd870208ab7b13de2748a47df8be241b983db67b7b87f5a38fb8bcff44f07fb3-group.xml checksum ff05f1a276c983ded20f60a6ec27601629e97332b03aecd629e4b2f6c0f7a940 does not match cache, removing it
  15. Info[07/07 13:10:23] : Retrieving bd870208ab7b13de2748a47df8be241b983db67b7b87f5a38fb8bcff44f07fb3-group.xml.gz ...Info[07/07 13:10:23] : filename /var/tmp/mic/cache/adaptation-community-f5121-3.0.3.9/bd870208ab7b13de2748a47df8be241b983db67b7b87f5a38fb8bcff44f07fb3-group.xml.gz gunzipped
  16. Info[07/07 13:10:23] : filename is now /var/tmp/mic/cache/adaptation-community-f5121-3.0.3.9/bd870208ab7b13de2748a47df8be241b983db67b7b87f5a38fb8bcff44f07fb3-group.xml
  17. Info[07/07 13:10:23] : Retrieving repomd.xml ...Info[07/07 13:10:24] : /var/tmp/mic/cache/adaptation-community-common-f5121-3.0.3.9/d717b31aa351c98167f0a47e7488604e0b612e906a7fe5438766e1b48ada7126-primary.xml checksum 3590873cbc9c698c3cf5f50f271e56ca719c39803d13c2037c32d26ab82d06ca matches cache
  18. Info[07/07 13:10:24] : Retrieving repomd.xml ...Info[07/07 13:10:24] : /var/tmp/mic/cache/apps-3.0.3.9/primary.xml checksum d8ce8b60434ae828f28af095e2cf91babd6d9ecd matches cache
  19. Info[07/07 13:10:24] : Retrieving repomd.xml ...Info[07/07 13:10:24] : /var/tmp/mic/cache/hotfixes-3.0.3.9/primary.xml checksum a79fecf5e7aed5576bee5d4cce635b4bfd57f850 matches cache
  20. Info[07/07 13:10:25] : Retrieving repomd.xml ...Info[07/07 13:10:25] : /var/tmp/mic/cache/jolla-3.0.3.9/primary.xml checksum c7278690b4563507a00d0eef163e7b29589ed7ed matches cache
  21. Info[07/07 13:10:25] : /var/tmp/mic/cache/jolla-3.0.3.9/patterns.xml checksum f8fec5473c72db15d04a56bc736fe527530120c4 matches cache
  22. Info[07/07 13:10:25] : Retrieving repomd.xml.key ...[07/07 13:10:25] : DONE
  23. Warning[07/07 13:10:26] : Can't get version info of /usr/bin/qemu-arm-static, please make sure it's higher than 0.13.0
  24. Info[07/07 13:10:26] : Running pre scripts ...
  25. Info[07/07 13:10:26] : Refreshing repository: adaptation-community-common-f5121-3.0.3.9 ...
  26. Info[07/07 13:10:26] : Refreshing repository: jolla-3.0.3.9 ...
  27. Info[07/07 13:10:29] : Refreshing repository: apps-3.0.3.9 ...
  28. Info[07/07 13:10:30] : Refreshing repository: adaptation-community-f5121-3.0.3.9 ...
  29. Info[07/07 13:10:31] : Refreshing repository: hotfixes-3.0.3.9 ...
  30. Info[07/07 13:10:33] : zypp architecture is <armv7hl>
  31. Info[07/07 13:10:33] : marking pattern jolla-configuration-f5121 1-1 to be installed
  32. Warning[07/07 13:10:33] : repo problem: pattern:jolla-configuration-f5121-1-1.noarch requires droid-config-f5121-bluez5, but this requirement cannot be provided, not installable providers: droid-config-f5121-bluez5-1+master.20190707180155.e7c1de1-1.3.1.jolla.armv7hl[adaptation-community-f5121-3.0.3.9]
  33.  
  34. Error <repo>[07/07 13:10:33] : found 1 resolver problem, abort!
  35.  
  36.  
  37.  
  38.  
  39. *********** Modify KS to only use offending droid-config-f5121-bluez5
  40. ----------> droid-config-f5121 and droid-config-f5121-bluez5 get retrieved and installed...
  41. (but only 162 packages in total, no droid-hal-*)
  42. but not the other droid-config packages...
  43. Complete KS and package list at the end
  44.  
  45. PlatformSDK [vince@dozer builds]$ vi ../KS/3.0.3.9/Jolla-\@RELEASE\@-f5121-\@ARCH\@.ks
  46. PlatformSDK [vince@dozer builds]$ grep -B 1 -A 3 '%packages' ../KS/3.0.3.9/Jolla-\@RELEASE\@-f5121-\@ARCH\@.ks
  47.  
  48. %packages
  49. #Jolla Configuration f5121
  50. droid-config-f5121-bluez5
  51. %end
  52. PlatformSDK [vince@dozer builds]$ EXTRA_NAME=-vknecht-20190707-5dcdbluez5
  53. PlatformSDK [vince@dozer builds]$
  54. PlatformSDK [vince@dozer builds]$ sudo mic create fs --arch=$PORT_ARCH --tokenmap=ARCH:$PORT_ARCH,RELEASE:$RELEASE,EXTRA_NAME:$EXTRA_NAME --record-pkgs=name,url --outdir=sfe-$DEVICE-$RELEASE$EXTRA_NAME --pack-to=sfe-$DEVICE-$RELEASE$EXTRA_NAME.tar.bz2 ../KS/3.0.3.9/Jolla-\@RELEASE\@-f5121-\@ARCH\@.ks
  55. [07/07 13:16:24] : mic 0.14 (Sailfish OS 3.0.3.9 (Hossa))
  56. Info[07/07 13:16:24] : Substitute macro variable @RELEASE@ with 3.0.3.9
  57. Info[07/07 13:16:24] : Substitute macro variable @EXTRA_NAME@ with -vknecht-20190707-5dcdbluez5
  58. Info[07/07 13:16:24] : Substitute macro variable @ARCH@ with armv7hl
  59. Info[07/07 13:16:24] : Retrieving repo metadata:
  60. Info[07/07 13:16:24] : Retrieving repomd.xml ...Info[07/07 13:16:24] : /var/tmp/mic/cache/adaptation-community-f5121-3.0.3.9/5ebac193dc40289b10d712290da81af0ad4eb73732244c2c119b0f9330fa3e81-primary.xml checksum a6125c1af4fc73f72a3bd26899307d2c5022306c5d1d402af7c87c5a9603e19b matches cache
  61. Info[07/07 13:16:24] : /var/tmp/mic/cache/adaptation-community-f5121-3.0.3.9/191eea53a5b39687652f9410665ea438b243243f7534c448a97b66983c1ebac9-patterns.xml checksum 8a123dc36385803e39d88f58b53ee86e348cc5ae6f92ac0188b06529b783c55c matches cache
  62. Info[07/07 13:16:24] : /var/tmp/mic/cache/adaptation-community-f5121-3.0.3.9/bd870208ab7b13de2748a47df8be241b983db67b7b87f5a38fb8bcff44f07fb3-group.xml checksum ff05f1a276c983ded20f60a6ec27601629e97332b03aecd629e4b2f6c0f7a940 does not match cache, removing it
  63. Info[07/07 13:16:24] : Retrieving bd870208ab7b13de2748a47df8be241b983db67b7b87f5a38fb8bcff44f07fb3-group.xml.gz ...Info[07/07 13:16:24] : filename /var/tmp/mic/cache/adaptation-community-f5121-3.0.3.9/bd870208ab7b13de2748a47df8be241b983db67b7b87f5a38fb8bcff44f07fb3-group.xml.gz gunzipped
  64. Info[07/07 13:16:24] : filename is now /var/tmp/mic/cache/adaptation-community-f5121-3.0.3.9/bd870208ab7b13de2748a47df8be241b983db67b7b87f5a38fb8bcff44f07fb3-group.xml
  65. Info[07/07 13:16:25] : Retrieving repomd.xml ...Info[07/07 13:16:25] : /var/tmp/mic/cache/adaptation-community-common-f5121-3.0.3.9/d717b31aa351c98167f0a47e7488604e0b612e906a7fe5438766e1b48ada7126-primary.xml checksum 3590873cbc9c698c3cf5f50f271e56ca719c39803d13c2037c32d26ab82d06ca matches cache
  66. Info[07/07 13:16:25] : Retrieving repomd.xml ...Info[07/07 13:16:25] : /var/tmp/mic/cache/apps-3.0.3.9/primary.xml checksum d8ce8b60434ae828f28af095e2cf91babd6d9ecd matches cache
  67. Info[07/07 13:16:25] : Retrieving repomd.xml ...Info[07/07 13:16:25] : /var/tmp/mic/cache/hotfixes-3.0.3.9/primary.xml checksum a79fecf5e7aed5576bee5d4cce635b4bfd57f850 matches cache
  68. Info[07/07 13:16:25] : Retrieving repomd.xml ...Info[07/07 13:16:25] : /var/tmp/mic/cache/jolla-3.0.3.9/primary.xml checksum c7278690b4563507a00d0eef163e7b29589ed7ed matches cache
  69. Info[07/07 13:16:25] : /var/tmp/mic/cache/jolla-3.0.3.9/patterns.xml checksum f8fec5473c72db15d04a56bc736fe527530120c4 matches cache
  70. Info[07/07 13:16:26] : Retrieving repomd.xml.key ...[07/07 13:16:26] : DONE
  71. Warning[07/07 13:16:26] : Can't get version info of /usr/bin/qemu-arm-static, please make sure it's higher than 0.13.0
  72. Info[07/07 13:16:26] : Running pre scripts ...
  73. Info[07/07 13:16:27] : Refreshing repository: adaptation-community-common-f5121-3.0.3.9 ...
  74. Info[07/07 13:16:27] : Refreshing repository: jolla-3.0.3.9 ...
  75. Info[07/07 13:16:30] : Refreshing repository: apps-3.0.3.9 ...
  76. Info[07/07 13:16:31] : Refreshing repository: adaptation-community-f5121-3.0.3.9 ...
  77. Info[07/07 13:16:32] : Refreshing repository: hotfixes-3.0.3.9 ...
  78. Info[07/07 13:16:34] : zypp architecture is <armv7hl>
  79. Info[07/07 13:16:34] : Checking packages cache and packages integrity ...
  80. Info[07/07 13:16:36] : 162 packages to be installed, 160 packages gotten from cache, 2 packages to be downloaded
  81. Info[07/07 13:16:36] : Downloading packages ...
  82. Info[07/07 13:16:38] : Retrieving droid-config-f5121-1+master.20190707180155.e7c1de1-1.3.1.jolla.armv7hl.rpm [2/2] ...
  83.  
  84. Info[07/07 13:16:58] : Installing: dbus ++++++++++++++++++++++++ [116/162]Running in chroot, ignoring request.
  85. Running in chroot, ignoring request.
  86.  
  87. Info[07/07 13:16:58] : Installing: statefs ++++++++++++++++++++++++ [119/162]WARNING: there is no privileged group, failed
  88. Info[07/07 13:16:59] : Installing: statefs-provider-ino +++++++++++++++++++++++++ [120/162]unregister
  89. Register inout_power
  90. add-oneshot: /etc/oneshot.d/0/statefs-03-register-inout_power - job saved OK
  91. Info[07/07 13:16:59] : Installing: dconf +++++++++++++++++++++++++ [121/162]add-oneshot: /etc/oneshot.d/0/dconf-update - job saved OK
  92. Info[07/07 13:17:04] : Installing: kf5bluezqt-bluez5 ++++++++++++++++++++++++++++++ [149/162]Running in chroot, ignoring request.
  93.  
  94. Info[07/07 13:17:04] : Installing: bluez5 +++++++++++++++++++++++++++++++ [150/162]Running in chroot, ignoring request.
  95. Running in chroot, ignoring request.
  96.  
  97. Info[07/07 13:17:05] : Installing: ofono +++++++++++++++++++++++++++++++++ [159/162]Running in chroot, ignoring request.
  98.  
  99. Info[07/07 13:17:05] : Installing: connman +++++++++++++++++++++++++++++++++ [160/162]/bin/find: /var/lib/connman: No such file or directory
  100. Running in chroot, ignoring request.
  101.  
  102. Info[07/07 13:17:06] : Installing: ssu-network-proxy-pl ++++++++++++++++++++++++++++++++++ [162/162]
  103. Warning[07/07 13:17:06] : No file matching attachment '/boot/hybris-boot.img'
  104. Warning[07/07 13:17:06] : No file matching attachment '/boot/hybris-updater-script'
  105. Warning[07/07 13:17:06] : No file matching attachment '/boot/update-binary'
  106. Warning[07/07 13:17:06] : No file matching attachment '/boot/hybris-updater-unpack.sh'
  107. Info[07/07 13:17:06] : Applying configurations ...
  108. Q: Failed to apply RootPasswordConfig, skip and continue?(Y/n)
  109. Warning <kickstart>[07/07 13:18:21] : Can't find /usr/bin/passwd in chroot
  110. Info[07/07 13:18:21] : Running post scripts ...
  111. Rebuilding db using target rpm..done
  112. qemu: Unsupported syscall: 311
  113. Unknown username "radio" in message bus configuration file
  114. Unknown username "radio" in message bus configuration file
  115. Unknown group "system" in message bus configuration file
  116. Unsupported ancillary data: 1/2
  117. Unsupported ancillary data: 1/2
  118.  
  119. (/usr/bin/dconf:22521): GLib-GIO-CRITICAL **: 18:18:23.859: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed
  120. Unsupported ancillary data: 1/2
  121. oneshot: /etc/oneshot.d/0/dconf-update - FAIL
  122. oneshot: /etc/oneshot.d/0/groupadd-user.later - OK
  123. Trying to dump inout provider "/usr/share/statefs/inout_power.conf"
  124. Can't find inout loader
  125. Can't retrieve information from /usr/share/statefs/inout_power.conf
  126. oneshot: /etc/oneshot.d/0/statefs-03-register-inout_power - OK
  127. qemu: Unsupported syscall: 311
  128. qemu: Unsupported syscall: 384
  129. Changing release from latest to 3.0.3.9
  130. Your device is now in release mode!
  131. WARNING: DBus call failed, falling back to libssu: The permission of the setuid helper is not correct
  132. Setting device mode from 0 to 4
  133. WARNING: DBus call failed, falling back to libssu: The permission of the setuid helper is not correct
  134. cat: /var/tmp/mic/imgcreate-fxy1IV/install_root/etc/os-release: No such file or directory
  135. Info[07/07 13:18:33] : Pack rootfs to /home/vince/Projects/Sailfish/Loire/OBS/builds/sfe-f5121-3.0.3.9-vknecht-20190707-5dcdbluez5/sfe-f5121-3.0.3.9-vknecht-20190707-5dcdbluez5.tar.bz2. Please wait...
  136. Info[07/07 13:18:58] : Running pack scripts ...
  137. /home/vince/Projects/Sailfish/Loire/OBS/builds/sfe-f5121-3.0.3.9-vknecht-20190707-5dcdbluez5 /home/vince/Projects/Sailfish/Loire/OBS/builds
  138. mv: cannot stat `update-binary': No such file or directory
  139. mv: cannot stat `hybris-updater-script': No such file or directory
  140. mv: cannot stat `hybris-updater-unpack.sh': No such file or directory
  141. mv: cannot stat `hybris-boot.img': No such file or directory
  142. sed: can't read updater/META-INF/com/google/android/updater-script: No such file or directory
  143. /home/vince/Projects/Sailfish/Loire/OBS/builds/sfe-f5121-3.0.3.9-vknecht-20190707-5dcdbluez5/updater /home/vince/Projects/Sailfish/Loire/OBS/builds/sfe-f5121-3.0.3.9-vknecht-20190707-5dcdbluez5 /home/vince/Projects/Sailfish/Loire/OBS/builds
  144.  
  145. zip error: Invalid command arguments (option '1' (compress 1) not negatable)
  146. /home/vince/Projects/Sailfish/Loire/OBS/builds/sfe-f5121-3.0.3.9-vknecht-20190707-5dcdbluez5 /home/vince/Projects/Sailfish/Loire/OBS/builds
  147. /home/vince/Projects/Sailfish/Loire/OBS/builds
  148. Info[07/07 13:18:58] : The new image can be found here:
  149. /home/vince/Projects/Sailfish/Loire/OBS/builds/sfe-f5121-3.0.3.9-vknecht-20190707-5dcdbluez5/Jolla-3.0.3.9-f5121-armv7hl.ks
  150. /home/vince/Projects/Sailfish/Loire/OBS/builds/sfe-f5121-3.0.3.9-vknecht-20190707-5dcdbluez5/Jolla-3.0.3.9-f5121-armv7hl.ks
  151. /home/vince/Projects/Sailfish/Loire/OBS/builds/sfe-f5121-3.0.3.9-vknecht-20190707-5dcdbluez5/Jolla-3.0.3.9-f5121-armv7hl.packages
  152. /home/vince/Projects/Sailfish/Loire/OBS/builds/sfe-f5121-3.0.3.9-vknecht-20190707-5dcdbluez5/Jolla-3.0.3.9-f5121-armv7hl.urls
  153. /home/vince/Projects/Sailfish/Loire/OBS/builds/sfe-f5121-3.0.3.9-vknecht-20190707-5dcdbluez5/os-release
  154. /home/vince/Projects/Sailfish/Loire/OBS/builds/sfe-f5121-3.0.3.9-vknecht-20190707-5dcdbluez5/sfe-f5121-3.0.3.9-vknecht-20190707-5dcdbluez5.tar.bz2
  155.  
  156. Info[07/07 13:18:58] : Finished.
  157.  
  158. PlatformSDK [vince@dozer builds]$ cat sfe-f5121-3.0.3.9-vknecht-20190707-5dcdbluez5/Jolla-3.0.3.9-f5121-armv7hl.ks
  159. # DisplayName: Jolla f5121/armv7hl (release) 1+master.20190707180155.e7c1de1
  160. # KickstartType: release
  161. # DeviceModel: f5121
  162. # DeviceVariant: f5121
  163. # SuggestedImageType: fs
  164. # SuggestedArchitecture: armv7hl
  165.  
  166. timezone --utc UTC
  167. lang en_US.UTF-8
  168. keyboard us
  169. user --name nemo --groups audio,input,video --password nemo
  170.  
  171. ### Commands from /tmp/sandbox/usr/share/ssu/kickstart/part/default
  172. part / --size 500 --ondisk sda --fstype=ext4
  173.  
  174. ## No suitable configuration found in /tmp/sandbox/usr/share/ssu/kickstart/bootloader
  175.  
  176. repo --name=adaptation-community-f5121-3.0.3.9 --baseurl=http://repo.merproject.org/obs/home:/vknecht:/hw:/qualcomm:/f5121/sailfish_latest_armv7hl/
  177. repo --name=adaptation-community-common-f5121-3.0.3.9 --baseurl=http://repo.merproject.org/obs/nemo:/devel:/hw:/common/sailfish_latest_armv7hl/
  178. repo --name=apps-3.0.3.9 --baseurl=https://releases.jolla.com/jolla-apps/3.0.3.9/armv7hl/
  179. repo --name=hotfixes-3.0.3.9 --baseurl=https://releases.jolla.com/releases/3.0.3.9/hotfixes/armv7hl/
  180. repo --name=jolla-3.0.3.9 --baseurl=https://releases.jolla.com/releases/3.0.3.9/jolla/armv7hl/
  181.  
  182. %packages
  183. #Jolla Configuration f5121
  184. droid-config-f5121-bluez5
  185. %end
  186.  
  187. %attachment
  188. ### Commands from /tmp/sandbox/usr/share/ssu/kickstart/attachment/f5121
  189. /boot/hybris-boot.img
  190. /boot/hybris-updater-script
  191. /boot/hybris-updater-unpack.sh
  192. /boot/update-binary
  193.  
  194. %end
  195.  
  196. %pre
  197. export SSU_RELEASE_TYPE=release
  198. ### begin 01_init
  199. touch $INSTALL_ROOT/.bootstrap
  200. ### end 01_init
  201. %end
  202.  
  203. %post
  204. export SSU_RELEASE_TYPE=release
  205. ### begin 01_arch-hack
  206. if [ "armv7hl" == armv7hl ] || [ "armv7hl" == armv7tnhl ]; then
  207. # Without this line the rpm does not get the architecture right.
  208. echo -n "armv7hl-meego-linux" > /etc/rpm/platform
  209.  
  210. # Also libzypp has problems in autodetecting the architecture so we force tha as well.
  211. # https://bugs.meego.com/show_bug.cgi?id=11484
  212. echo "arch = armv7hl" >> /etc/zypp/zypp.conf
  213. fi
  214. ### end 01_arch-hack
  215. ### begin 01_rpm-rebuilddb
  216. # Rebuild db using target's rpm
  217. echo -n "Rebuilding db using target rpm.."
  218. rm -f /var/lib/rpm/__db*
  219. rpm --rebuilddb
  220. echo "done"
  221. ### end 01_rpm-rebuilddb
  222. ### begin 50_oneshot
  223. # exit boostrap mode
  224. rm -f /.bootstrap
  225.  
  226. # export some important variables until there's a better solution
  227. export LANG=en_US.UTF-8
  228. export LC_COLLATE=en_US.UTF-8
  229. export GSETTINGS_BACKEND=gconf
  230.  
  231. # run the oneshot triggers for root and first user uid
  232. UID_MIN=$(grep "^UID_MIN" /etc/login.defs | tr -s " " | cut -d " " -f2)
  233. DEVICEUSER=`getent passwd $UID_MIN | sed 's/:.*//'`
  234.  
  235. if [ -x /usr/bin/oneshot ]; then
  236. su -c "/usr/bin/oneshot --mic"
  237. su -c "/usr/bin/oneshot --mic" $DEVICEUSER
  238. fi
  239. ### end 50_oneshot
  240. ### begin 60_ssu
  241. if [ "$SSU_RELEASE_TYPE" = "rnd" ]; then
  242. [ -n "@RNDRELEASE@" ] && ssu release -r @RNDRELEASE@
  243. [ -n "@RNDFLAVOUR@" ] && ssu flavour @RNDFLAVOUR@
  244. # RELEASE is reused in RND setups with parallel release structures
  245. # this makes sure that an image created from such a structure updates from there
  246. [ -n "3.0.3.9" ] && ssu set update-version 3.0.3.9
  247. ssu mode 2
  248. else
  249. [ -n "3.0.3.9" ] && ssu release 3.0.3.9
  250. ssu mode 4
  251. fi
  252. ### end 60_ssu
  253. %end
  254.  
  255. %post --nochroot
  256. export SSU_RELEASE_TYPE=release
  257. ### begin 50_os-release
  258. (
  259. CUSTOMERS=$(find $INSTALL_ROOT/usr/share/ssu/features.d -name 'customer-*.ini' \
  260. |xargs --no-run-if-empty sed -n 's/^name[[:space:]]*=[[:space:]]*//p')
  261.  
  262. cat $INSTALL_ROOT/etc/os-release
  263. echo "SAILFISH_CUSTOMER=\"${CUSTOMERS//$'\n'/ }\""
  264. ) > $IMG_OUT_DIR/os-release
  265. ### end 50_os-release
  266. %end
  267.  
  268. %pack
  269. export SSU_RELEASE_TYPE=release
  270. ### begin hybris
  271. pushd $IMG_OUT_DIR
  272.  
  273. DEVICE=f5121
  274.  
  275. VERSION_FILE=./os-release
  276. source $VERSION_FILE
  277.  
  278. # Locate rootfs tar.bz2 archive.
  279. for filename in *.tar.bz2; do
  280. GEN_IMG_BASE=$(basename $filename .tar.bz2)
  281. done
  282.  
  283. if [ ! -e "$GEN_IMG_BASE.tar.bz2" ]; then
  284. echo "No rootfs archive found, exiting ..."
  285. exit 1
  286. fi
  287.  
  288. IMG_SIZE=$(du -h $GEN_IMG_BASE.tar.bz2 | cut -f1)
  289.  
  290. # Output filenames
  291. DST_IMG_BASE=$ID-$DEVICE-$SAILFISH_FLAVOUR-$VERSION_ID-vknecht-20190707-5dcdbluez5
  292. DST_IMG=$DST_IMG_BASE.tar.bz2
  293.  
  294. # Copy boot image, updater scripts and updater binary into updater .zip tree.
  295. mkdir -p updater/META-INF/com/google/android
  296.  
  297. mv update-binary updater/META-INF/com/google/android/update-binary
  298. mv hybris-updater-script updater/META-INF/com/google/android/updater-script
  299. mv hybris-updater-unpack.sh updater/updater-unpack.sh
  300. mv hybris-boot.img updater/hybris-boot.img
  301.  
  302. # Temporarily move the rootfs into the updater directory
  303. mv $GEN_IMG_BASE.tar.bz2 updater/$DST_IMG
  304.  
  305. # Update updater-script with image details.
  306. 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
  307.  
  308. # pack updater .zip
  309. pushd updater
  310. 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
  311. popd # updater
  312.  
  313. # Move the rootfs back out of the updater directory
  314. mv updater/$DST_IMG $GEN_IMG_BASE.tar.bz2
  315.  
  316. # Clean up updater .zip working directory.
  317. rm -rf updater
  318.  
  319. popd # $IMG_OUT_DIR
  320. ### end hybris
  321. %end
  322.  
  323. PlatformSDK [vince@dozer builds]$ cat sfe-f5121-3.0.3.9-vknecht-20190707-5dcdbluez5/Jolla-3.0.3.9-f5121-armv7hl.packages
  324. bash.armv7hl 1:3.2.57-1.2.5.jolla
  325. bluez5-libs.armv7hl 5.47+git11-1.7.2.jolla
  326. bluez5-obexd.armv7hl 5.47+git11-1.7.2.jolla
  327. bluez5.armv7hl 5.47+git11-1.7.2.jolla
  328. boost-filesystem.armv7hl 1.66.0-1.3.8.jolla
  329. boost-system.armv7hl 1.66.0-1.3.8.jolla
  330. boost-thread.armv7hl 1.66.0-1.3.8.jolla
  331. busybox-symlinks-gzip.armv7hl 1.29.3+git5-1.1.5.jolla
  332. busybox.armv7hl 1.29.3+git5-1.1.5.jolla
  333. bzip2-libs.armv7hl 1.0.6-1.2.9.jolla
  334. bzip2.armv7hl 1.0.6-1.2.9.jolla
  335. ca-certificates.noarch 2018.2.24-1.2.14.jolla
  336. community-adaptation-devel.armv7hl 0.0.1-1.4.7.jolla
  337. connman-configs-mer.armv7hl 1.32+git65-1.25.2.jolla
  338. connman-qt5.armv7hl 1.2.16-1.10.1.jolla
  339. connman.armv7hl 1.32+git65-1.25.2.jolla
  340. cor.armv7hl 0.1.18-1.2.1.jolla
  341. coreutils.armv7hl 1:6.9-1.2.6.jolla
  342. cryptsetup-libs.armv7hl 2.1.0+git1-1.3.5.jolla
  343. curl.armv7hl 7.64.0+git1-1.8.5.jolla
  344. db4-utils.armv7hl 4.8.30-1.3.12.jolla
  345. db4.armv7hl 4.8.30-1.3.12.jolla
  346. dbus-libs.armv7hl 1.10.8+git1-1.1.12.jolla
  347. dbus.armv7hl 1.10.8+git1-1.1.12.jolla
  348. dconf.armv7hl 0.28.0-1.1.2.jolla
  349. desktop-file-utils.armv7hl 0.23+git1-1.2.9.jolla
  350. device-mapper-event-libs.armv7hl 2.02.177+git3-1.3.7.jolla
  351. device-mapper-event.armv7hl 2.02.177+git3-1.3.7.jolla
  352. device-mapper-libs.armv7hl 2.02.177+git3-1.3.7.jolla
  353. device-mapper.armv7hl 2.02.177+git3-1.3.7.jolla
  354. droid-config-f5121-bluez5.armv7hl 1+master.20190707180155.e7c1de1-1.3.1.jolla
  355. droid-config-f5121.armv7hl 1+master.20190707180155.e7c1de1-1.3.1.jolla
  356. elfutils-libelf.armv7hl 0.170+git1-1.3.10.jolla
  357. elfutils-libs.armv7hl 0.170+git1-1.3.10.jolla
  358. expat.armv7hl 2.1.0-1.1.10.jolla
  359. file-libs.armv7hl 5.35+git2-1.2.8.jolla
  360. filesystem.noarch 3.1-1.1.9.jolla
  361. findutils.armv7hl 4.2.31-1.2.5.jolla
  362. fontconfig.armv7hl 2.12.4-1.2.9.jolla
  363. fontpackages-filesystem.noarch 1.44-1.1.9.jolla
  364. freetype.armv7hl 2.8.0-1.1.9.jolla
  365. fuse-libs.armv7hl 2.9.0+git1-1.3.1.jolla
  366. fuse.armv7hl 2.9.0+git1-1.3.1.jolla
  367. glib2.armv7hl 2.56.1+git3-1.3.6.jolla
  368. glibc-common.armv7hl 2.25+git5-1.4.1.jolla
  369. glibc.armv7hl 2.25+git5-1.4.1.jolla
  370. gnupg2.armv7hl 1:2.0.4+git2-1.4.5.jolla
  371. gnutls.armv7hl 2.12.23.4-1.2.5.jolla
  372. gpgme.armv7hl 1.2.0+git6-1.3.4.jolla
  373. grep.armv7hl 1:2.5.1a-1.2.5.jolla
  374. hwdata.noarch 0.291+git1-1.1.9.jolla
  375. iptables-ipv6.armv7hl 1.8.2+git1-1.4.3.jolla
  376. iptables.armv7hl 1.8.2+git1-1.4.3.jolla
  377. json-c.armv7hl 0.12-1.1.9.jolla
  378. kf5bluezqt-bluez5.armv7hl 5.24.0+git15-1.3.1.jolla
  379. kmod-libs.armv7hl 21-1.2.8.jolla
  380. kmod.armv7hl 21-1.2.8.jolla
  381. libacl.armv7hl 2.2.53-1.2.7.jolla
  382. libarchive.armv7hl 3.3.3+git1-1.2.9.jolla
  383. libattr.armv7hl 2.4.47+git1-1.3.7.jolla
  384. libblkid.armv7hl 2.33+git1-1.4.5.jolla
  385. libcap.armv7hl 2.24+git1-1.3.6.jolla
  386. libcommhistory-qt5.armv7hl 1.9.40-1.6.1.jolla
  387. libcontacts-qt5.armv7hl 0.1.10-1.4.1.jolla
  388. libcontentaction-qt5.armv7hl 0.3.9-1.6.1.jolla
  389. libcurl.armv7hl 7.64.0+git1-1.8.5.jolla
  390. libdbusaccess.armv7hl 1.0.7-1.3.4.jolla
  391. libdbuslogserver-dbus.armv7hl 1.0.15-1.4.4.jolla
  392. libfdisk.armv7hl 2.33+git1-1.4.5.jolla
  393. libffi.armv7hl 3.2.1+git1-1.2.13.jolla
  394. libgcc.armv7hl 4.9.4-1.2.5.jolla
  395. libgcrypt.armv7hl 1.5.6+git1-1.1.11.jolla
  396. libglibutil.armv7hl 1.0.36-1.1.1.jolla
  397. libgofono.armv7hl 2.0.6-1.2.11.jolla
  398. libgofonoext.armv7hl 1.0.10-1.2.10.jolla
  399. libgpg-error.armv7hl 1.27+git2-1.3.5.jolla
  400. libgrilio.armv7hl 1.0.29-1.9.1.jolla
  401. libgsupplicant.armv7hl 1.0.11-1.4.6.jolla
  402. libhybris-libGLESv2.armv7hl 0.0.5.31-1.1.1.jolla
  403. libhybris-libhardware.armv7hl 0.0.5.31-1.1.1.jolla
  404. libhybris.armv7hl 0.0.5.31-1.1.1.jolla
  405. libical.armv7hl 3.0.3-1.2.6.jolla
  406. libicu.armv7hl 63.1+git5-1.1.6.jolla
  407. libiphb.armv7hl 1.2.5+git1-1.3.3.jolla
  408. libksba.armv7hl 1.3.5+git2-1.2.5.jolla
  409. liblua.armv7hl 5.1.5-1.1.11.jolla
  410. libmce-glib.armv7hl 1.0.5-1.1.14.jolla
  411. libmlocale-qt5.armv7hl 0.7.0-1.3.1.jolla
  412. libmount.armv7hl 2.33+git1-1.4.5.jolla
  413. libnl.armv7hl 3.4.0-1.2.7.jolla
  414. libpng.armv7hl 1.6.34-1.2.9.jolla
  415. libqtaround2.armv7hl 0.2.8-1.2.1.jolla
  416. libshadowutils.armv7hl 0.0.2-1.4.1.jolla
  417. libsmartcols.armv7hl 2.33+git1-1.4.5.jolla
  418. libsolv-tools.armv7hl 0.6.35+git2-1.4.5.jolla
  419. libsolv0.armv7hl 0.6.35+git2-1.4.5.jolla
  420. libstdc++.armv7hl 4.9.4-1.2.5.jolla
  421. libtasn1.armv7hl 4.13+git1-1.3.9.jolla
  422. libusb.armv7hl 0.1.12-1.2.5.jolla
  423. libutempter.armv7hl 1.1.5+git1-1.1.12.jolla
  424. libuuid.armv7hl 2.33+git1-1.4.5.jolla
  425. libwspcodec.armv7hl 2.2.1-1.2.7.jolla
  426. libxml2.armv7hl 2.9.8+git2-1.3.10.jolla
  427. libzypp.armv7hl 17.3.1+git4-1.6.2.jolla
  428. lsof.armv7hl 4.91+git1-1.3.4.jolla
  429. lvm2-libs.armv7hl 2.02.177+git3-1.3.7.jolla
  430. lvm2.armv7hl 2.02.177+git3-1.3.7.jolla
  431. mlite-qt5.armv7hl 0.2.25-1.4.1.jolla
  432. mobile-broadband-provider-info.noarch 20131125+git68-1.3.2.jolla
  433. ncurses-base.armv7hl 6.1+git1-1.3.5.jolla
  434. ncurses-libs.armv7hl 6.1+git1-1.3.5.jolla
  435. obex-capability.armv7hl 0.0.2-1.3.2.jolla
  436. obexd-calldata-provider.armv7hl 0.1.1-1.3.1.jolla
  437. obexd-contentfilter-helper.noarch 0.0.2-1.2.1.jolla
  438. ofono.armv7hl 1.21+git44-1.19.1.jolla
  439. oneshot.noarch 0.4.8-1.2.8.jolla
  440. openssl-libs.armv7hl 1.0.2o+git2-1.4.5.jolla
  441. p11-kit-nss-ckbi.armv7hl 0.23.12+git1-1.3.5.jolla
  442. p11-kit-trust.armv7hl 0.23.12+git1-1.3.5.jolla
  443. p11-kit.armv7hl 0.23.12+git1-1.3.5.jolla
  444. pacrunner.armv7hl 0.15+git1-1.3.3.jolla
  445. pam.armv7hl 1.1.8+git5-1.2.5.jolla
  446. pcre.armv7hl 8.42+git1-1.3.5.jolla
  447. popt.armv7hl 1.16-1.1.10.jolla
  448. psmisc.armv7hl 22.13-1.3.6.jolla
  449. pth.armv7hl 2.0.7-1.1.9.jolla
  450. qt5-plugin-sqldriver-sqlite.armv7hl 5.6.3+git9-1.9.2.jolla
  451. qt5-qtcore.armv7hl 5.6.3+git9-1.9.2.jolla
  452. qt5-qtdbus.armv7hl 5.6.3+git9-1.9.2.jolla
  453. qt5-qtgui.armv7hl 5.6.3+git9-1.9.2.jolla
  454. qt5-qtnetwork.armv7hl 5.6.3+git9-1.9.2.jolla
  455. qt5-qtpim-contacts.armv7hl 5.2.0+git2-1.2.1.jolla
  456. qt5-qtpim-versit.armv7hl 5.2.0+git2-1.2.1.jolla
  457. qt5-qtsql.armv7hl 5.6.3+git9-1.9.2.jolla
  458. qt5-qtsysteminfo.armv7hl 5.2.0+git9-1.2.1.jolla
  459. qt5-qtxml.armv7hl 5.6.3+git9-1.9.2.jolla
  460. qtcontacts-sqlite-qt5.armv7hl 0.2.30-1.5.1.jolla
  461. rpm-libs.armv7hl 4.14.1+git9-1.5.7.jolla
  462. rpm.armv7hl 4.14.1+git9-1.5.7.jolla
  463. sed.armv7hl 1:4.1.5-1.2.6.jolla
  464. setup.noarch 2.8.56-1.2.5.jolla
  465. shadow-utils.armv7hl 4.6-1.2.5.jolla
  466. sqlite-libs.armv7hl 3.13.0+git3-1.3.6.jolla
  467. ssu-network-proxy-plugin.armv7hl 0.43.12-1.8.1.jolla
  468. ssu-vendor-data-example.armv7hl 0.43.12-1.8.1.jolla
  469. ssu.armv7hl 0.43.12-1.8.1.jolla
  470. statefs-contextkit-subscriber.armv7hl 0.3.5-1.4.1.jolla
  471. statefs-pp.armv7hl 0.3.35-1.2.1.jolla
  472. statefs-provider-inout-power.noarch 0.3.17-1.3.1.jolla
  473. statefs-qt5.armv7hl 0.3.5-1.4.1.jolla
  474. statefs.armv7hl 0.3.35-1.2.1.jolla
  475. systemd-config-sailfish.noarch 0.8.15-1.8.1.jolla
  476. systemd-libs.armv7hl 225+git13-1.4.2.jolla
  477. systemd-user-session-targets.noarch 0.0.2-1.3.5.jolla
  478. systemd.armv7hl 225+git13-1.4.2.jolla
  479. tzdata.noarch 2017b-1.1.11.jolla
  480. util-linux.armv7hl 2.33+git1-1.4.5.jolla
  481. wpa_supplicant.armv7hl 2.6+git5-1.3.5.jolla
  482. xdg-utils.noarch 1.1.2+git1-1.2.8.jolla
  483. xz-libs.armv7hl 5.0.4-1.2.8.jolla
  484. xz.armv7hl 5.0.4-1.2.8.jolla
  485. zlib.armv7hl 1.2.11+git1-1.4.5.jolla
  486.  
  487. PlatformSDK [vince@dozer builds]$
RAW Paste Data