summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
William Douglas [Fri, 21 Jun 2013 17:38:18 +0000 (10:38 -0700)]
Add restore features to the updater.
Add targets for factory reset and system restore, also teach the
system-update script new tricks to do the restore or reset.
Change-Id: Ib2907731383a1407feae547d65081d0408fff71c
Signed-off-by: William Douglas <william.douglas@intel.com>
Markus Lehtonen [Wed, 29 May 2013 14:41:11 +0000 (17:41 +0300)]
tools: add deflated size of the zipfile to the updates.xml
The size returned is the sum of the sizes of all the files in the
zip file.
NOTE: This is not exactly the same as disk usage after decompression.
The size returned here does not take into account the real disk usage of
the files (dependent on the fs block sizes) or disk space taken by
directories.
Change-Id: I8c52aed054c6fe9cf7ec9c3add24c0395cbb5c79
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Wed, 29 May 2013 14:31:32 +0000 (17:31 +0300)]
tools: add zip file size to the updates.xml metadata
Change-Id: Ic90c1ae761d4d7581c2ccd76684fc4f4bf22b4fd
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Wed, 29 May 2013 14:28:26 +0000 (17:28 +0300)]
tools: add build-id to the updates.xml metadata
Change-Id: Icaf9a9445d40c5806b5eddbfc9f246ce4557dace
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Thu, 30 May 2013 10:17:09 +0000 (13:17 +0300)]
tools: another fix to incorrect reference to image-id
Change-Id: Icffe1577082c877e3df8a43bcdde26f38ec4086d
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Nashif, Anas [Fri, 3 May 2013 00:55:04 +0000 (17:55 -0700)]
Merge "create-update: fix incorrect reference to image-id"
William Douglas [Fri, 3 May 2013 00:32:57 +0000 (17:32 -0700)]
Fix update not taking btrfs snapshots
Pull in dbus in order for the libzypp snapper plugin to talk with snapper.
Signed-off-by: William Douglas <william.douglas@intel.com>
Patrick McCarty [Thu, 2 May 2013 23:26:53 +0000 (16:26 -0700)]
create-update: fix incorrect reference to image-id
The create-update.py script is expecting a build-id to be passed when
looking at swup.conf but is actually passing image-id.
This fixes TZPC-2361.
Change-Id: Ia1dcab5eb5c382e944ba2907b506cc9bdfbe968a
William Douglas [Mon, 22 Apr 2013 20:21:01 +0000 (13:21 -0700)]
update create-update usage instructions
Signed-off-by: William Douglas <william.douglas@intel.com>
Markus Lehtonen [Sat, 20 Apr 2013 00:01:57 +0000 (03:01 +0300)]
create-update: fix generation of updateinfo
Which was broken by the previous commit.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Thu, 18 Apr 2013 19:16:17 +0000 (22:16 +0300)]
create-update: preserve rpms for which deltarpm is not generated
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Wed, 17 Apr 2013 08:08:18 +0000 (11:08 +0300)]
tools: update example swup.conf
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Anas Nashif [Fri, 12 Apr 2013 16:34:37 +0000 (09:34 -0700)]
do not install updateinfo script
William Douglas [Fri, 12 Apr 2013 16:21:40 +0000 (09:21 -0700)]
whitespace cleaning and add update message for plymouth
Signed-off-by: William Douglas <william.douglas@intel.com>
Markus Lehtonen [Fri, 12 Apr 2013 10:30:27 +0000 (13:30 +0300)]
tools: Fix updating of updateinfo
Now the "master" updates.xml is kept in the updates/data directory.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Fri, 12 Apr 2013 13:43:01 +0000 (16:43 +0300)]
tools: fix create_updateinfo()
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Fri, 12 Apr 2013 11:29:13 +0000 (14:29 +0300)]
tools: make directory handling bit more sane
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Fri, 12 Apr 2013 10:43:12 +0000 (13:43 +0300)]
tools: fix bug in download()
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Fri, 12 Apr 2013 10:35:02 +0000 (13:35 +0300)]
Fix example config file
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Anas Nashif [Fri, 12 Apr 2013 10:29:36 +0000 (11:29 +0100)]
add authors
Markus Lehtonen [Fri, 12 Apr 2013 08:58:59 +0000 (11:58 +0300)]
tools: put repourl and packages url in configuration file
Also change the config file name to .swup.conf.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Fri, 12 Apr 2013 09:00:34 +0000 (12:00 +0300)]
tools: store patch.yaml in patch dir
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Fri, 12 Apr 2013 09:00:29 +0000 (12:00 +0300)]
Remove unused/unsupported cmdline options
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Fri, 12 Apr 2013 09:00:17 +0000 (12:00 +0300)]
tools: refactoring, put old/baseline in temporary directory
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Thu, 11 Apr 2013 17:46:33 +0000 (20:46 +0300)]
tools: refactoring
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Thu, 11 Apr 2013 15:22:27 +0000 (18:22 +0300)]
tools: new tool create-update.py
Creates the update in one go.
Delete old getpacs tools and updateinfo.py.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Nashif, Anas [Thu, 11 Apr 2013 14:15:01 +0000 (07:15 -0700)]
Merge "Change update to use the update plymouth service and systemd target"
Markus Lehtonen [Thu, 11 Apr 2013 13:16:30 +0000 (16:16 +0300)]
diff-packages: make https credentials an argument of the functions
Instead of global variables.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
William Douglas [Thu, 11 Apr 2013 12:51:54 +0000 (05:51 -0700)]
Change update to use the update plymouth service and systemd target
Signed-off-by: William Douglas <william.douglas@intel.com>
Markus Lehtonen [Thu, 11 Apr 2013 12:06:36 +0000 (15:06 +0300)]
diff-packages: store packages file in outdir, too
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Thu, 11 Apr 2013 11:49:01 +0000 (14:49 +0300)]
diff-packages: write the (new) repourl into a file in outdir
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Thu, 11 Apr 2013 11:07:38 +0000 (14:07 +0300)]
diff-packages: cache all rpms
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Thu, 11 Apr 2013 10:45:07 +0000 (13:45 +0300)]
Add --outdir cmdline option
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Anas Nashif [Thu, 11 Apr 2013 11:00:25 +0000 (07:00 -0400)]
set current_release variable correctly
Anas Nashif [Thu, 11 Apr 2013 09:27:32 +0000 (05:27 -0400)]
remove status keyword from metadata
Anas Nashif [Wed, 10 Apr 2013 18:25:49 +0000 (11:25 -0700)]
Fixed version substitution
Anas Nashif [Wed, 10 Apr 2013 18:24:24 +0000 (14:24 -0400)]
Merge branch 'master' of tz.otcshare.org:profile/base/swup
Anas Nashif [Wed, 10 Apr 2013 18:23:57 +0000 (14:23 -0400)]
Fixed version update
Markus Lehtonen [Wed, 10 Apr 2013 17:32:08 +0000 (20:32 +0300)]
diff-packages: create separate update directory
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Wed, 10 Apr 2013 17:19:24 +0000 (20:19 +0300)]
diff-packages: put old rpm in the cache dir
Also adds new setting 'cache-dir' in the config file
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Wed, 10 Apr 2013 17:07:58 +0000 (20:07 +0300)]
diff-packages: dropunused get_package_list()
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Wed, 10 Apr 2013 15:44:55 +0000 (18:44 +0300)]
diff-packages: allow reading credentials from ~/.swuprc file
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Wed, 10 Apr 2013 15:22:13 +0000 (18:22 +0300)]
Use configparser
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Wed, 10 Apr 2013 15:24:35 +0000 (18:24 +0300)]
diff-packages: Fix bug that required you to run the tool twice
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Wed, 10 Apr 2013 14:00:49 +0000 (17:00 +0300)]
diff-packages: divide rpms to old, new and rpms subdirs
old: packages from the old image, needed for generating delta
rpms: packages from the new image, needed for generating delta
new: totally new packages in the new image
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Wed, 10 Apr 2013 13:20:30 +0000 (16:20 +0300)]
diff-packages: don't download cached packages
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Wed, 10 Apr 2013 13:09:00 +0000 (16:09 +0300)]
Support for --username and --password cmdline options
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Wed, 10 Apr 2013 13:00:23 +0000 (16:00 +0300)]
diff-packages: get old and new packages into separate dirs
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Anas Nashif [Wed, 10 Apr 2013 11:21:12 +0000 (04:21 -0700)]
add diff tools using python
Anas Nashif [Tue, 9 Apr 2013 14:37:16 +0000 (07:37 -0700)]
add magic header
William Douglas [Wed, 27 Feb 2013 21:39:49 +0000 (13:39 -0800)]
Initial addition of the systemd update mechanism.
Create target and service for system-update. Also add update script
that just removes the /system-update symlink and reboots (for now).
Signed-off-by: William Douglas <william.douglas@intel.com>
Anas Nashif [Mon, 25 Feb 2013 22:36:49 +0000 (14:36 -0800)]
Do not be verbose
Anas Nashif [Mon, 25 Feb 2013 21:54:21 +0000 (13:54 -0800)]
remove verbosity while decompressing
Anas Nashif [Mon, 25 Feb 2013 21:39:50 +0000 (13:39 -0800)]
Fixed update url
Anas Nashif [Mon, 25 Feb 2013 21:33:23 +0000 (13:33 -0800)]
Fixed makefile
Anas Nashif [Mon, 25 Feb 2013 21:29:24 +0000 (13:29 -0800)]
add correct update repo
Anas Nashif [Mon, 25 Feb 2013 21:27:56 +0000 (13:27 -0800)]
prepare for first releasE
Anas Nashif [Mon, 25 Feb 2013 16:53:11 +0000 (08:53 -0800)]
update
Anas Nashif [Sun, 24 Feb 2013 15:59:40 +0000 (07:59 -0800)]
add getpacs
Anas Nashif [Sat, 23 Feb 2013 01:21:35 +0000 (20:21 -0500)]
update
Anas Nashif [Fri, 15 Feb 2013 19:52:16 +0000 (11:52 -0800)]
add spec
Anas Nashif [Mon, 11 Feb 2013 14:04:51 +0000 (09:04 -0500)]
add deltas
Anas Nashif [Mon, 11 Feb 2013 05:20:10 +0000 (00:20 -0500)]
add installation
Anas Nashif [Mon, 11 Feb 2013 05:19:59 +0000 (00:19 -0500)]
add installation
Anas Nashif [Sat, 9 Feb 2013 14:43:26 +0000 (09:43 -0500)]
incremental
Anas Nashif [Sat, 9 Feb 2013 14:43:16 +0000 (09:43 -0500)]
incremental
Anas Nashif [Sat, 9 Feb 2013 13:48:24 +0000 (08:48 -0500)]
initial