platform/upstream/swup.git
11 years agochangelog submit/tizen/20130625.164927
William Douglas [Tue, 25 Jun 2013 16:48:38 +0000 (09:48 -0700)]
changelog

Signed-off-by: William Douglas <william.douglas@intel.com>
11 years agoAdd restore features to the updater. 91/4191/2
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>
11 years agotools: add deflated size of the zipfile to the updates.xml 21/3921/1 accepted/tizen/20130611.123253 submit/tizen/20130611.120126
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>
11 years agotools: add zip file size to the updates.xml metadata 20/3920/1
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>
11 years agotools: add build-id to the updates.xml metadata 19/3919/1
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>
11 years agotools: another fix to incorrect reference to image-id 18/3918/1
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>
11 years agoMerge "create-update: fix incorrect reference to image-id" accepted/tizen/20130503.230915 accepted/tizen/20130520.094342 submit/tizen/20130503.232915 submit/tizen/20130509.184336 submit/tizen/20130517.024150
Nashif, Anas [Fri, 3 May 2013 00:55:04 +0000 (17:55 -0700)]
Merge "create-update: fix incorrect reference to image-id"

11 years agoFix update not taking btrfs snapshots
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>
11 years agocreate-update: fix incorrect reference to image-id
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

11 years agoupdate create-update usage instructions accepted/trunk/20130426.105017 submit/trunk/20130422.202112
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>
11 years agocreate-update: fix generation of updateinfo
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>
11 years agocreate-update: preserve rpms for which deltarpm is not generated
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>
11 years agotools: update example swup.conf
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>
11 years agodo not install updateinfo script accepted/trunk/20130412.163436 submit/trunk/20130412.163442
Anas Nashif [Fri, 12 Apr 2013 16:34:37 +0000 (09:34 -0700)]
do not install updateinfo script

11 years agowhitespace cleaning and add update message for plymouth submit/trunk/20130412.162154
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>
11 years agotools: Fix updating of updateinfo
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>
11 years agotools: fix create_updateinfo()
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>
11 years agotools: make directory handling bit more sane
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>
11 years agotools: fix bug in download()
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>
11 years agoFix example config file
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>
11 years agoadd authors
Anas Nashif [Fri, 12 Apr 2013 10:29:36 +0000 (11:29 +0100)]
add authors

11 years agotools: put repourl and packages url in configuration file
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>
11 years agotools: store patch.yaml in patch dir
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>
11 years agoRemove unused/unsupported cmdline options
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>
11 years agotools: refactoring, put old/baseline in temporary directory
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>
11 years agotools: refactoring
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>
11 years agotools: new tool create-update.py
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>
11 years agoMerge "Change update to use the update plymouth service and systemd target"
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"

11 years agodiff-packages: make https credentials an argument of the functions
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>
11 years agoChange update to use the update plymouth service and systemd target accepted/trunk/20130411.141729 submit/trunk/20130411.125228
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>
11 years agodiff-packages: store packages file in outdir, too
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>
11 years agodiff-packages: write the (new) repourl into a file in outdir
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>
11 years agodiff-packages: cache all rpms
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>
11 years agoAdd --outdir cmdline option
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>
11 years agoset current_release variable correctly
Anas Nashif [Thu, 11 Apr 2013 11:00:25 +0000 (07:00 -0400)]
set current_release variable correctly

11 years agoremove status keyword from metadata
Anas Nashif [Thu, 11 Apr 2013 09:27:32 +0000 (05:27 -0400)]
remove status keyword from metadata

11 years agoFixed version substitution accepted/trunk/20130411.085358 submit/trunk/20130410.182552
Anas Nashif [Wed, 10 Apr 2013 18:25:49 +0000 (11:25 -0700)]
Fixed version substitution

11 years agoMerge branch 'master' of tz.otcshare.org:profile/base/swup
Anas Nashif [Wed, 10 Apr 2013 18:24:24 +0000 (14:24 -0400)]
Merge branch 'master' of tz.otcshare.org:profile/base/swup

11 years agoFixed version update
Anas Nashif [Wed, 10 Apr 2013 18:23:57 +0000 (14:23 -0400)]
Fixed version update

11 years agodiff-packages: create separate update directory
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>
11 years agodiff-packages: put old rpm in the cache dir
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>
11 years agodiff-packages: dropunused get_package_list()
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>
11 years agodiff-packages: allow reading credentials from ~/.swuprc file
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>
11 years agoUse configparser
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>
11 years agodiff-packages: Fix bug that required you to run the tool twice
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>
11 years agodiff-packages: divide rpms to old, new and rpms subdirs
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>
11 years agodiff-packages: don't download cached packages
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>
11 years agoSupport for --username and --password cmdline options
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>
11 years agodiff-packages: get old and new packages into separate dirs
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>
11 years agoadd diff tools using python
Anas Nashif [Wed, 10 Apr 2013 11:21:12 +0000 (04:21 -0700)]
add diff tools using python

11 years agoadd magic header
Anas Nashif [Tue, 9 Apr 2013 14:37:16 +0000 (07:37 -0700)]
add magic header

11 years agoInitial addition of the systemd update mechanism. accepted/trunk/20130310.193633 submit/trunk/20130310.193459
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>
11 years agoDo not be verbose accepted/trunk/20130225.225605 submit/trunk/20130225.223651
Anas Nashif [Mon, 25 Feb 2013 22:36:49 +0000 (14:36 -0800)]
Do not be verbose

11 years agoremove verbosity while decompressing
Anas Nashif [Mon, 25 Feb 2013 21:54:21 +0000 (13:54 -0800)]
remove verbosity while decompressing

11 years agoFixed update url accepted/trunk/20130225.214136 submit/trunk/20130225.214101
Anas Nashif [Mon, 25 Feb 2013 21:39:50 +0000 (13:39 -0800)]
Fixed update url

11 years agoFixed makefile
Anas Nashif [Mon, 25 Feb 2013 21:33:23 +0000 (13:33 -0800)]
Fixed makefile

11 years agoadd correct update repo
Anas Nashif [Mon, 25 Feb 2013 21:29:24 +0000 (13:29 -0800)]
add correct update repo

11 years agoprepare for first releasE
Anas Nashif [Mon, 25 Feb 2013 21:27:56 +0000 (13:27 -0800)]
prepare for first releasE

11 years agoupdate
Anas Nashif [Mon, 25 Feb 2013 16:53:11 +0000 (08:53 -0800)]
update

11 years agoadd getpacs
Anas Nashif [Sun, 24 Feb 2013 15:59:40 +0000 (07:59 -0800)]
add getpacs

11 years agoupdate
Anas Nashif [Sat, 23 Feb 2013 01:21:35 +0000 (20:21 -0500)]
update

11 years agoadd spec
Anas Nashif [Fri, 15 Feb 2013 19:52:16 +0000 (11:52 -0800)]
add spec

11 years agoadd deltas
Anas Nashif [Mon, 11 Feb 2013 14:04:51 +0000 (09:04 -0500)]
add deltas

11 years agoadd installation
Anas Nashif [Mon, 11 Feb 2013 05:20:10 +0000 (00:20 -0500)]
add installation

11 years agoadd installation
Anas Nashif [Mon, 11 Feb 2013 05:19:59 +0000 (00:19 -0500)]
add installation

11 years agoincremental
Anas Nashif [Sat, 9 Feb 2013 14:43:26 +0000 (09:43 -0500)]
incremental

11 years agoincremental
Anas Nashif [Sat, 9 Feb 2013 14:43:16 +0000 (09:43 -0500)]
incremental

11 years agoinitial
Anas Nashif [Sat, 9 Feb 2013 13:48:24 +0000 (08:48 -0500)]
initial