- Configured Os Update Package repository
- Configuration for Cosu
For both read doc/configuration.org and doc/release_aggregation.org
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.
The full instructions to add the repository depend if the users device is the “devel”[fn:1] flavor or “testing” [fn:2]
- 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
- Tap on the link for the package “feature-cosupdateservice” to download it.
- Open the settings app, got to “System->Untrusted Software”, tap checkbox the “Allow unstrusted software” if did not do so before
- 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.
- Reboot the device. After the reboot the service will search for updates on it’s own and on demand.
To install Cosu during the image creation the kickstart file as to be modified.
- 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
- Now the packages for Cosu have to be added to the
%packages
section. Insertfeature-cosupdateservice
andpattern-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.
[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