Guest User

Untitled

a guest
Dec 16th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.77 KB | None | 0 0
  1. [shouko@shouko-hp ~]$ cat <<'EOF' >> $HOME/.mersdk.profile
  2. > function hadk() { source $HOME/.hadk.env; echo "Env setup for $DEVICE"; }
  3. > hadk
  4. > EOF
  5. [shouko@shouko-hp ~]$ sfossdk
  6. [sudo] password for shouko:
  7. SDK targets location '/srv/mer/targets' does not exist - about to create it.
  8. Continue, abort? [c/a] (c)c
  9. SDK toolings location '/srv/mer/toolings' does not exist - about to create it.
  10. Continue, abort? [c/a] (c)c
  11. Mounting system directories...
  12. Mounting /srv/mer/targets as /srv/mer/targets
  13. Mounting /srv/mer/toolings as /srv/mer/toolings
  14. Mounting / as /parentroot
  15. Mounting home directory: /home/shouko
  16. Initializing machine ID from random generator.
  17. Entering chroot as shouko
  18. bash: /home/shouko/.hadk.env: line 6: unexpected EOF while looking for matching `"'
  19. bash: /home/shouko/.hadk.env: line 7: syntax error: unexpected end of file
  20. Env setup for
  21.  
  22. Did you know…?
  23.  
  24. You can SSU register all SDK Targets, Toolings and the SDK itself with the
  25. `sdk-manage register-all` command. You may need to use `--force` and if you
  26. need more flexibility e.g. to change the flavour, you can find `sdk-foreach-su`
  27. helpful.
  28.  
  29. Learn more on
  30. <https://sailfishos.org/wiki/SDK_Tips#SSU_registering_everything_with_single_command>.
  31. PlatformSDK bash-3.2$ sudo zypper ref
  32. Retrieving repository 'adaptation0' metadata ...................................................................................................................................................................[error]
  33. Repository 'adaptation0' is invalid.
  34. [adaptation0|plugin:/ssu?repo=adaptation0] Valid metadata not found at specified URL
  35. Please check if the URIs defined for this repository are pointing to a valid repository.
  36. Skipping repository 'adaptation0' because of the above error.
  37. Retrieving repository 'customer-jolla' metadata .................................................................................................................................................................[done]
  38. Building repository 'customer-jolla' cache ......................................................................................................................................................................[done]
  39. Retrieving repository 'hotfixes' metadata .......................................................................................................................................................................[done]
  40. Building repository 'hotfixes' cache ............................................................................................................................................................................[done]
  41. Retrieving repository 'jolla' metadata ..........................................................................................................................................................................[done]
  42. Building repository 'jolla' cache ...............................................................................................................................................................................[done]
  43. Retrieving repository 'sdk' metadata ............................................................................................................................................................................[done]
  44. Building repository 'sdk' cache .................................................................................................................................................................................[done]
  45. Some of the repositories have not been refreshed because of an error.
  46. PlatformSDK bash-3.2$ sudo zypper ref
  47. Retrieving repository 'adaptation0' metadata ...................................................................................................................................................................[error]
  48. Repository 'adaptation0' is invalid.
  49. [adaptation0|plugin:/ssu?repo=adaptation0] Valid metadata not found at specified URL
  50. Please check if the URIs defined for this repository are pointing to a valid repository.
  51. Skipping repository 'adaptation0' because of the above error.
  52. Repository 'customer-jolla' is up to date.
  53. Repository 'hotfixes' is up to date.
  54. Repository 'jolla' is up to date.
  55. Repository 'sdk' is up to date.
  56. Some of the repositories have not been refreshed because of an error.
  57. PlatformSDK bash-3.2$ sudo zypper ref
  58. Retrieving repository 'adaptation0' metadata ...................................................................................................................................................................[error]
  59. Repository 'adaptation0' is invalid.
  60. [adaptation0|plugin:/ssu?repo=adaptation0] Valid metadata not found at specified URL
  61. Please check if the URIs defined for this repository are pointing to a valid repository.
  62. Skipping repository 'adaptation0' because of the above error.
  63. Repository 'customer-jolla' is up to date.
  64. Repository 'hotfixes' is up to date.
  65. Repository 'jolla' is up to date.
  66. Repository 'sdk' is up to date.
  67. Some of the repositories have not been refreshed because of an error.
  68. PlatformSDK bash-3.2$ sudo zypper in android-tools-hadk tar
  69. Error building the cache:
  70. [adaptation0|plugin:/ssu?repo=adaptation0] Valid metadata not found at specified URL
  71. Warning: Skipping repository 'adaptation0' because of the above error.
  72. Some of the repositories have not been refreshed because of an error.
  73. Loading repository data...
  74. Reading installed packages...
  75. 'tar' is already installed.
  76. No update candidate for 'tar-1.17-1.2.5.jolla.i486'. The highest available version is already installed.
  77. Resolving package dependencies...
  78.  
  79. The following NEW package is going to be installed:
  80. android-tools-hadk
  81.  
  82. 1 new package to install.
  83. Overall download size: 122.3 KiB. Already cached: 0 B. After the operation, additional 308.9 KiB will be used.
  84. Continue? [y/n/...? shows all options] (y): y
  85. Retrieving package android-tools-hadk-5.1.1+git3-1.2.1.jolla.i486 (1/1), 122.3 KiB (308.9 KiB unpacked)
  86. Retrieving: android-tools-hadk-5.1.1+git3-1.2.1.jolla.i486.rpm ........................................................................................................................................[done (154 B/s)]
  87. Checking for file conflicts: ....................................................................................................................................................................................[done]
  88. (1/1) Installing: android-tools-hadk-5.1.1+git3-1.2.1.jolla.i486 ................................................................................................................................................[done]
  89. Additional rpm output:
  90. warning: /home/.zypp-cache/packages/jolla/tools/i486/android-tools-hadk-5.1.1+git3-1.2.1.jolla.i486.rpm: Header V3 DSA/SHA1 Signature, key ID f2633ee0: NOKEY
  91.  
  92.  
  93. PlatformSDK bash-3.2$ cat /etc/os-release
  94. NAME="Sailfish OS"
  95. ID=sailfishos
  96. VERSION="3.1.0.12 (Seitseminen)"
  97. VERSION_ID=3.1.0.12
  98. PRETTY_NAME="Sailfish OS 3.1.0.12 (Seitseminen)"
  99. SAILFISH_BUILD=12
  100. SAILFISH_FLAVOUR=release
  101. HOME_URL="https://sailfishos.org/"
  102. PlatformSDK bash-3.2$ exit
  103. exit
  104. [shouko@shouko-hp ~]$ TARBALL=ubuntu-trusty-20180613-android-rootfs.tar.bz2
  105. [shouko@shouko-hp ~]$ curl -O https://releases.sailfishos.org/ubu/$TARBALL
  106. % Total % Received % Xferd Average Speed Time Time Time Current
  107. Dload Upload Total Spent Left Speed
  108. 100 440M 100 440M 0 0 1046k 0 0:07:10 0:07:10 --:--:-- 951k
  109. [shouko@shouko-hp ~]$ UBUNTU_CHROOT=$PLATFORM_SDK_ROOT/sdks/ubuntu
  110. [shouko@shouko-hp ~]$ sudo mkdir -p $UBUNTU_CHROOT
  111. [sudo] password for shouko:
  112. [shouko@shouko-hp ~]$ sudo tar --numeric-owner -xjf $TARBALL -C $UBUNTU_CHROOT
  113. [shouko@shouko-hp ~]$ ubu-chroot -r $PLATFORM_SDK_ROOT/sdks/ubuntu
  114. bash: ubu-chroot: command not found
Add Comment
Please, Sign In to add comment