Creating your own SailPi image and flashing it to a MicroSD card

Hi all,

Finally I have managed to make it so that one can make a SailPi image from a .ks (kickstart) file and use it to create a custom image by themselves. The process is quite straightforward for those who have a SailfishOS SDK or familiarity with Mer Platform SDK. Either SDK will have the necessary tools to complete this guide.

Start with downloading the .ks file from this link. Please do note that its a raw text link to a gist, so I suggest you do a curl -L -O to that inside the SailfishOS SDK command line.

curl -L -O https://gist.githubusercontent.com/locusf/7fbc28ec37013a900c80/raw/d466fff484124ac5f9a5f268cb924f0b7aafbfd4/sfos-rpi.ks

Then issue the following command, be sure to be inside the shared directory as if you issue this command inside the SailfishOS SDK default home directory, you will very quickly run out of disk space!

sudo mic cr raw –debug –arch armv7hl -o sfos-rpi2-1.1.9.28 –record-pkgs=name,url,license sfos-rpi.ks

This will result your actual image to reside in this directory “sfos-rpi2-1.1.9.28”, with filename “sfos-rpi-sda.raw”. Then as normally with any Raspberry Pi image, choose a disk image writing software to write it to a MicroSD card. Insert to Raspberry Pi 2 and you should boot to first run setup of SailfishOS!

Thanks for reading and have fun!

locusf (Aleksi Suomalainen)

Advertisements

2 thoughts on “Creating your own SailPi image and flashing it to a MicroSD card

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s