platform/upstream/swup.git
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