The Mer Wiki now uses your Mer user account and password (create account on https://bugs.merproject.org/)


Template:SFOS OTA

From Mer Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "=== WIP Over-the-Air updates (OTA) === <nowiki> # open shell with normal nemo user # you can be on any Sailfish OS version you have installed before # Currently available O...")
 
 
(45 intermediate revisions by 4 users not shown)
Line 1: Line 1:
=== WIP Over-the-Air updates (OTA) ===
+
<noinclude>=== WIP Over-the-Air updates (OTA) ===</noinclude>
  
<nowiki>
+
# Open shell with normal nemo user
# open shell with normal nemo user
+
# You can be on any Sailfish OS version you have installed before
# you can be on any Sailfish OS version you have installed before
+
# Ensure that sailfish_latest_(architecture) repo on OBS points to the version you'll OTA to for best results (ping us on IRC if not sure)
  
# Currently available OTA versions: 1.1.9.28, 2.0.0.10
+
Currently available OTA versions:
 +
* for Nexus 4: 2.0.1.11, 2.0.2.51, 2.0.5.6
 +
* for Nexus 5: 1.1.9.28, 2.0.0.10
 +
* (we're also coding an OTA update checker, sync with mal- at IRC and help with that!)
  
RELEASE=<the version> # e.g. RELEASE=2.0.0.10
+
RELEASE=<the version> # e.g. RELEASE=2.0.0.10
 
+
devel-su sed -i -e "s|^adaptation=.*$|adaptation=http://repo.merproject.org/obs/nemo:/testing:/hw:/{{{device_vendor|}}}:/{{{device_codename|}}}/sailfish_latest_armv7hl/|" /usr/share/ssu/repos.ini
+
devel-su sed -i -e 's#^adaptation=.*$#adaptation=http://repo.merproject.org/obs/nemo:/testing:/hw:/{{{device_vendor|DEVICE_VENDOR}}}:/{{{device_codename|DEVICE_CODENAME}}}/sailfish_latest_armv7hl/#' \
 
+
/usr/share/ssu/repos.ini
ssu dr adaptation0
+
 
+
ssu dr adaptation0
ssu release $RELEASE
+
ssu dr extra
+
ssu release $RELEASE
ssu dr mw
+
{{#if: {{{extra_cmds|}}} |
ssu ar mw http://repo.merproject.org/obs/nemo:/testing:/hw:/common/sailfish_latest_armv7hl/
+
<nowiki></nowiki>
ssu er mw
+
ssu dr extra
ssu ar dhd http://repo.merproject.org/obs/nemo:/testing:/hw:/{{{device_vendor|}}}:/{{{device_codename|}}}/sailfish_latest_armv7hl/
+
ssu dr mw
 
+
ssu ar mw http://repo.merproject.org/obs/nemo:/testing:/hw:/common/sailfish_latest_armv7hl/
ssu lr
+
ssu er mw
# ^ double-triple check that no -two- enabled repos point to the same URL
+
ssu ar dhd http://repo.merproject.org/obs/nemo:/testing:/hw:/{{{device_vendor|DEVICE_VENDOR}}}:/{{{device_codename|DEVICE_CODENAME}}}/sailfish_latest_armv7hl/
 
+
<nowiki></nowiki>
# Because Jolla Store started working only recently, you may have
+
|}}
# many of OpenRepos enabled. It's recommended to disable them, even
+
ssu lr
# though version --dup will do its best-effort to isolate repositories:
+
# ^ double-triple check that no -two- enabled repos point to the same URL
ssu lr | grep openrepos
+
 
+
# You may have many of OpenRepos enabled. It's recommended to disable them, even
devel-su zypper clean -a
+
# though version --dup will do its best-effort to isolate repositories:
devel-su zypper ref -f
+
ssu lr | grep openrepos
 
+
version --dup
+
devel-su zypper clean -a
# if above fails, try again
+
devel-su zypper ref -f
version --dup
+
 
+
version --dup
sync
+
# if above fails, try again
reboot
+
version --dup
  </nowiki>
+
 +
sync
 +
  reboot

Latest revision as of 14:26, 29 December 2016

WIP Over-the-Air updates (OTA)

  1. Open shell with normal nemo user
  2. You can be on any Sailfish OS version you have installed before
  3.  Ensure that sailfish_latest_(architecture) repo on OBS points to the version you'll OTA to for best results (ping us on IRC if not sure)

Currently available OTA versions:

  • for Nexus 4: 2.0.1.11, 2.0.2.51, 2.0.5.6
  • for Nexus 5: 1.1.9.28, 2.0.0.10
  • (we're also coding an OTA update checker, sync with mal- at IRC and help with that!)
RELEASE=<the version> # e.g. RELEASE=2.0.0.10

devel-su sed -i -e 's#^adaptation=.*$#adaptation=http://repo.merproject.org/obs/nemo:/testing:/hw:/DEVICE_VENDOR:/DEVICE_CODENAME/sailfish_latest_armv7hl/#' \
/usr/share/ssu/repos.ini

ssu dr adaptation0

ssu release $RELEASE

ssu lr
# ^ double-triple check that no -two- enabled repos point to the same URL

# You may have many of OpenRepos enabled. It's recommended to disable them, even
# though version --dup will do its best-effort to isolate repositories:
ssu lr | grep openrepos

devel-su zypper clean -a
devel-su zypper ref -f

version --dup
# if above fails, try again
version --dup

sync
reboot
Personal tools