Skip to content

Latest commit

 

History

History
84 lines (67 loc) · 3.15 KB

INSTALL.org

File metadata and controls

84 lines (67 loc) · 3.15 KB

Install instructions

Requirements

  • Configured Os Update Package repository
  • Configuration for Cosu

For both read doc/configuration.org and doc/release_aggregation.org

Installation

To install Cosu the repository containing it has to be added to the device. Either by downloading the feature package and installing it or by first adding the repository and then installing the package.

See also Sailfish OS Cheat Sheet | Sailfish OS Documentation.

Installation on existing devices

The full instructions to add the repository depend if the users device is the “devel”[fn:1] flavor or “testing” [fn:2]

  1. Visit the url matching to release flavor of the device on the device

    NOTE: Replace aarch64 with the architecture of the one used on your device if it doesn’t match yours

    • A “devel”
    https://repo.sailfishos.org/obs/nemo:/devel:/hw:/sony:/kumano:/features:/sailfishos-sonyxperia/latest_aarch64/noarch
        
    • B “testing”
    RELEASE=4.5.0.24
    https://repo.sailfishos.org/obs/nemo:/testing:/hw:/sony:/kumano:/features:/cosupdater:/$RELEASE/latest_aarch64/noarch
        

    NOTE: Replace release with Sailfish OS version currently installed on the device

  2. Tap on the link for the package “feature-cosupdateservice” to download it.
  3. Open the settings app, got to “System->Untrusted Software”, tap checkbox the “Allow unstrusted software” if did not do so before
  4. Go back to the setttings app, tap Checkbox the “Allow unstrusted software” again to disable it if you did not do so following these step.
  5. Reboot the device. After the reboot the service will search for updates on it’s own and on demand.

Installation during image creation

To install Cosu during the image creation the kickstart file as to be modified.

  1. First the repository containing Cosu has to be added at the top of the kickstart file like this:
    repo --name=feature-cosu --baseurl=https://repo.sailfishos.org/obs/nemo:/devel:/hw:/sony:/kumano:/feature-cosu
        
  2. Now the packages for Cosu have to be added to the %packages section. Insert feature-cosupdateservice and pattern-cosu in between %packages and %end like below:
    %packages
    feature-cosupdateservice
    pattern-cosu
    feature-sailfishos-sonyxperia
    patterns-sailfish-device-configuration-j8210
    %end
        

After executing these two steps you can proceed to create your devices images as usual.

Footnotes

[fn:1] Unreleased flavor of the adaptation, to work on the the adaptation without breaking users

[fn:2] Released flavor of the adaptation, for users to install