[SailfishDevel] Experimental prerelease SDK

Jussi Pakkanen jussi.pakkanen at jolla.com
Fri Sep 11 12:52:52 UTC 2015


Hi all

In preparation for the upcoming Sailfish OS 2.0 release we have been 
looking into providing a prerelease version of the SDK. Unfortunately we 
can not provide an officially supported version just yet, but in the 
spirit of hacking we can provide you a way to upgrade your current SDK 
into the next version.

Note that there are several limitations in this approach and it is only 
recommended for those people who want to test that their apps compile 
with the next version of the SDK. Specifically the limitations include 
(but are not limited to):

- there is no guarantee of any kind, if these instructions break your 
install, you get to keep both pieces :)

- the emulator can not be updated, so testing your apps might not work, 
though they can be deployed to devices that have 1.1.9 prerelease installed

- apps built against the 1.1.9 SDK might not be accepted to harbor, even 
if they work on your device

- whenever the real 1.1.9 SDK comes out, it will overwrite any changes made

If you are fine with these limitations and want to test your app against 
the next Sailfish OS version, read on.

First of all you should create a snapshot of your MerSDK build machine 
using the control tool that comes with VirtualBox. If you wish to return 
to the regular SDK (or your build machine gets broken for any reason) 
just restore the snapshot.

Start the MerSDK and log in to it with SSH using the following command:

ssh -p 2222 -i ~/SailfishOS/vmshare/ssh/private_keys/engine/mersdk 
mersdk at localhost

Once you are logged in, issue the following commands:

sb2 -t SailfishOS-i486 -m sdk-install -R ssu release 1.1.9.28
sb2 -t SailfishOS-i486 -m sdk-install -R zypper ref -f
sb2 -t SailfishOS-i486 -m sdk-install -R zypper dup

sb2 -t SailfishOS-armv7hl -m sdk-install -R ssu release 1.1.9.28
sb2 -t SailfishOS-armv7hl -m sdk-install -R zypper ref -f
sb2 -t SailfishOS-armv7hl -m sdk-install -R zypper dup

sudo ssu release 1.1.9.28

sudo zypper ref -f
sudo zypper dup

Once this is done, reboot the MerSDK vbox machine.


More information about the Devel mailing list