El día Wednesday, September 16, 2015 a las 01:17:48PM +0200, Oliver Grawert 
escribió:

> hi,
> Am Mittwoch, den 16.09.2015, 13:04 +0200 schrieb Matthias Apitz:
> > Hello,
> > 
> > Can someone shed a bit light over how the OTA works in detail or point
> > me to some pages about that, i.e. how the fetch of the images and the
> > installation into the BQ E4.5 works? Thanks in advance
> 
> https://wiki.ubuntu.com/ImageBasedUpgrades

Thanks! I'm trying to understand the OTA process; as I understand, after
fetching the files, an Upgrader is launched from the recovery image to
update the phone's partitions ... what I do not understand is the
folliwing example:

I fetched the OTA-6 files for my device/channel which are:

$ ls
custom-996a0631cdd3014deb88bfa3c228a70922d68ea953607e3133d94713b351f650.tar.xz
device-169bc102d21754e91d142385ffadb32b63cfa92831b82f221b5f38d9bc65b687.tar.xz
ubuntu-59b0c7aa8af63dda3a06005a6087c1faa4ed8993321293b276e7f7021d0cb0a3.tar.xz
version-25.tar.xz

when I now look for two example files in the tar files:

$ tar xzf 
ubuntu-59b0c7aa8af63dda3a06005a6087c1faa4ed8993321293b276e7f7021d0cb0a3.tar.xz 
system/etc/apparmor.d/local/usr.lib.telepathy^C
$ tar xzf 
ubuntu-59b0c7aa8af63dda3a06005a6087c1faa4ed8993321293b276e7f7021d0cb0a3.tar.xz 
system/etc/apparmor.d/cache/usr.lib.telepathy^C
$ ls -l system/etc/apparmor.d/*/usr.lib.telepathy
-rw-------  1 guru  wheel  200656 25 ago 19:39 
system/etc/apparmor.d/cache/usr.lib.telepathy
-rw-r--r--  1 guru  wheel     124 25 ago 19:35 
system/etc/apparmor.d/local/usr.lib.telepathy
$ md5 system/etc/apparmor.d/*/usr.lib.telepathy
MD5 (system/etc/apparmor.d/cache/usr.lib.telepathy) = 
6681f89d5dd73d76580000f2035722d5
MD5 (system/etc/apparmor.d/local/usr.lib.telepathy) = 
dd65bcf98ff23b7c811d0380b5d6947f

i.e. both above files have last mod time as 25 ago ...

When I now look into my device which was updated on September 13, around
7.20am I see:

phablet@ubuntu-phablet:~$ ls -l /etc/apparmor.d/cache/usr.lib.telepathy 
/etc/apparmor.d/local/usr.lib.telepathy
-rw------- 1 root root 200656 sep 13 07:21 
/etc/apparmor.d/cache/usr.lib.telepathy
-rw-r--r-- 1 root root    124 ene 29  2015 
/etc/apparmor.d/local/usr.lib.telepathy
phablet@ubuntu-phablet:~$ sudo md5sum /etc/apparmor.d/*/usr.lib.telepathy
6681f89d5dd73d76580000f2035722d5 /etc/apparmor.d/cache/usr.lib.telepathy
dd65bcf98ff23b7c811d0380b5d6947f /etc/apparmor.d/local/usr.lib.telepathy

i.e. only one file was really updated, the other not. Why not both in
this example? What decides if a give file on the device will be renewed
or not?

        matthias

-- 
Matthias Apitz, ✉ [email protected], 🌐 http://www.unixarea.de/  ☎ 
+49-176-38902045
No! Nein! ¡No! Όχι! -- Ευχαριστούμε!

-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp

Reply via email to