Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [shouko@shouko-hp ~]$ cat <<'EOF' >> $HOME/.mersdk.profile
- > function hadk() { source $HOME/.hadk.env; echo "Env setup for $DEVICE"; }
- > hadk
- > EOF
- [shouko@shouko-hp ~]$ sfossdk
- [sudo] password for shouko:
- SDK targets location '/srv/mer/targets' does not exist - about to create it.
- Continue, abort? [c/a] (c)c
- SDK toolings location '/srv/mer/toolings' does not exist - about to create it.
- Continue, abort? [c/a] (c)c
- Mounting system directories...
- Mounting /srv/mer/targets as /srv/mer/targets
- Mounting /srv/mer/toolings as /srv/mer/toolings
- Mounting / as /parentroot
- Mounting home directory: /home/shouko
- Initializing machine ID from random generator.
- Entering chroot as shouko
- bash: /home/shouko/.hadk.env: line 6: unexpected EOF while looking for matching `"'
- bash: /home/shouko/.hadk.env: line 7: syntax error: unexpected end of file
- Env setup for
- Did you know…?
- You can SSU register all SDK Targets, Toolings and the SDK itself with the
- `sdk-manage register-all` command. You may need to use `--force` and if you
- need more flexibility e.g. to change the flavour, you can find `sdk-foreach-su`
- helpful.
- Learn more on
- <https://sailfishos.org/wiki/SDK_Tips#SSU_registering_everything_with_single_command>.
- PlatformSDK bash-3.2$ sudo zypper ref
- Retrieving repository 'adaptation0' metadata ...................................................................................................................................................................[error]
- Repository 'adaptation0' is invalid.
- [adaptation0|plugin:/ssu?repo=adaptation0] Valid metadata not found at specified URL
- Please check if the URIs defined for this repository are pointing to a valid repository.
- Skipping repository 'adaptation0' because of the above error.
- Retrieving repository 'customer-jolla' metadata .................................................................................................................................................................[done]
- Building repository 'customer-jolla' cache ......................................................................................................................................................................[done]
- Retrieving repository 'hotfixes' metadata .......................................................................................................................................................................[done]
- Building repository 'hotfixes' cache ............................................................................................................................................................................[done]
- Retrieving repository 'jolla' metadata ..........................................................................................................................................................................[done]
- Building repository 'jolla' cache ...............................................................................................................................................................................[done]
- Retrieving repository 'sdk' metadata ............................................................................................................................................................................[done]
- Building repository 'sdk' cache .................................................................................................................................................................................[done]
- Some of the repositories have not been refreshed because of an error.
- PlatformSDK bash-3.2$ sudo zypper ref
- Retrieving repository 'adaptation0' metadata ...................................................................................................................................................................[error]
- Repository 'adaptation0' is invalid.
- [adaptation0|plugin:/ssu?repo=adaptation0] Valid metadata not found at specified URL
- Please check if the URIs defined for this repository are pointing to a valid repository.
- Skipping repository 'adaptation0' because of the above error.
- Repository 'customer-jolla' is up to date.
- Repository 'hotfixes' is up to date.
- Repository 'jolla' is up to date.
- Repository 'sdk' is up to date.
- Some of the repositories have not been refreshed because of an error.
- PlatformSDK bash-3.2$ sudo zypper ref
- Retrieving repository 'adaptation0' metadata ...................................................................................................................................................................[error]
- Repository 'adaptation0' is invalid.
- [adaptation0|plugin:/ssu?repo=adaptation0] Valid metadata not found at specified URL
- Please check if the URIs defined for this repository are pointing to a valid repository.
- Skipping repository 'adaptation0' because of the above error.
- Repository 'customer-jolla' is up to date.
- Repository 'hotfixes' is up to date.
- Repository 'jolla' is up to date.
- Repository 'sdk' is up to date.
- Some of the repositories have not been refreshed because of an error.
- PlatformSDK bash-3.2$ sudo zypper in android-tools-hadk tar
- Error building the cache:
- [adaptation0|plugin:/ssu?repo=adaptation0] Valid metadata not found at specified URL
- Warning: Skipping repository 'adaptation0' because of the above error.
- Some of the repositories have not been refreshed because of an error.
- Loading repository data...
- Reading installed packages...
- 'tar' is already installed.
- No update candidate for 'tar-1.17-1.2.5.jolla.i486'. The highest available version is already installed.
- Resolving package dependencies...
- The following NEW package is going to be installed:
- android-tools-hadk
- 1 new package to install.
- Overall download size: 122.3 KiB. Already cached: 0 B. After the operation, additional 308.9 KiB will be used.
- Continue? [y/n/...? shows all options] (y): y
- Retrieving package android-tools-hadk-5.1.1+git3-1.2.1.jolla.i486 (1/1), 122.3 KiB (308.9 KiB unpacked)
- Retrieving: android-tools-hadk-5.1.1+git3-1.2.1.jolla.i486.rpm ........................................................................................................................................[done (154 B/s)]
- Checking for file conflicts: ....................................................................................................................................................................................[done]
- (1/1) Installing: android-tools-hadk-5.1.1+git3-1.2.1.jolla.i486 ................................................................................................................................................[done]
- Additional rpm output:
- 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
- PlatformSDK bash-3.2$ cat /etc/os-release
- NAME="Sailfish OS"
- ID=sailfishos
- VERSION="3.1.0.12 (Seitseminen)"
- VERSION_ID=3.1.0.12
- PRETTY_NAME="Sailfish OS 3.1.0.12 (Seitseminen)"
- SAILFISH_BUILD=12
- SAILFISH_FLAVOUR=release
- HOME_URL="https://sailfishos.org/"
- PlatformSDK bash-3.2$ exit
- exit
- [shouko@shouko-hp ~]$ TARBALL=ubuntu-trusty-20180613-android-rootfs.tar.bz2
- [shouko@shouko-hp ~]$ curl -O https://releases.sailfishos.org/ubu/$TARBALL
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 100 440M 100 440M 0 0 1046k 0 0:07:10 0:07:10 --:--:-- 951k
- [shouko@shouko-hp ~]$ UBUNTU_CHROOT=$PLATFORM_SDK_ROOT/sdks/ubuntu
- [shouko@shouko-hp ~]$ sudo mkdir -p $UBUNTU_CHROOT
- [sudo] password for shouko:
- [shouko@shouko-hp ~]$ sudo tar --numeric-owner -xjf $TARBALL -C $UBUNTU_CHROOT
- [shouko@shouko-hp ~]$ ubu-chroot -r $PLATFORM_SDK_ROOT/sdks/ubuntu
- bash: ubu-chroot: command not found
Add Comment
Please, Sign In to add comment