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...")
 
Line 1: Line 1:
 
=== WIP Over-the-Air updates (OTA) ===
 
=== WIP Over-the-Air updates (OTA) ===
  
<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
Line 7: Line 7:
 
# Currently available OTA versions: 1.1.9.28, 2.0.0.10
 
# Currently available OTA versions: 1.1.9.28, 2.0.0.10
  
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_codename|}}}/sailfish_latest_armv7hl/|" /usr/share/ssu/repos.ini
  
ssu dr adaptation0
+
ssu dr adaptation0
  
ssu release $RELEASE
+
ssu release $RELEASE
ssu dr extra
+
ssu dr extra
ssu dr mw
+
ssu dr mw
ssu ar mw http://repo.merproject.org/obs/nemo:/testing:/hw:/common/sailfish_latest_armv7hl/
+
ssu ar mw http://repo.merproject.org/obs/nemo:/testing:/hw:/common/sailfish_latest_armv7hl/
ssu er mw
+
ssu er mw
ssu ar dhd http://repo.merproject.org/obs/nemo:/testing:/hw:/{{{device_vendor|}}}:/{{{device_codename|}}}/sailfish_latest_armv7hl/
+
ssu ar dhd http://repo.merproject.org/obs/nemo:/testing:/hw:/{{{device_vendor|}}}:/{{{device_codename|}}}/sailfish_latest_armv7hl/
  
ssu lr
+
ssu lr
# ^ double-triple check that no -two- enabled repos point to the same URL
+
# ^ double-triple check that no -two- enabled repos point to the same URL
  
# Because Jolla Store started working only recently, you may have
+
# Because Jolla Store started working only recently, you may have
# many of OpenRepos enabled. It's recommended to disable them, even
+
# many of OpenRepos enabled. It's recommended to disable them, even
# though version --dup will do its best-effort to isolate repositories:
+
# though version --dup will do its best-effort to isolate repositories:
ssu lr | grep openrepos
+
ssu lr | grep openrepos
  
devel-su zypper clean -a
+
devel-su zypper clean -a
devel-su zypper ref -f
+
devel-su zypper ref -f
  
version --dup
+
version --dup
# if above fails, try again
+
# if above fails, try again
version --dup
+
version --dup
  
sync
+
sync
reboot
+
  reboot
  </nowiki>
+

Revision as of 10:07, 13 February 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
  1. Currently available OTA versions: 1.1.9.28, 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:/://sailfish_latest_armv7hl/%7C" /usr/share/ssu/repos.ini
ssu dr adaptation0
ssu release $RELEASE
ssu dr extra
ssu dr mw
ssu ar mw http://repo.merproject.org/obs/nemo:/testing:/hw:/common/sailfish_latest_armv7hl/
ssu er mw
ssu ar dhd http://repo.merproject.org/obs/nemo:/testing:/hw:/://sailfish_latest_armv7hl/
ssu lr
# ^ double-triple check that no -two- enabled repos point to the same URL
# Because Jolla Store started working only recently, 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