summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
William Douglas [Fri, 26 Jul 2013 20:14:04 +0000 (13:14 -0700)]
changelog
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Wed, 24 Jul 2013 23:56:57 +0000 (16:56 -0700)]
Account for zypper return values not matching reality
Zypper will return OK status when the update is aborted so search
stderr for indications of problems and fail if they are found.
Switching to using libpackagekit will hopefully avoid this issue in
the future.
Signed-off-by: William Douglas <william.douglas@intel.com>
Markus Lehtonen [Wed, 24 Jul 2013 11:25:31 +0000 (14:25 +0300)]
create-update: package blacklisting
Support blacklisting some packages from the update. Use with care!
Change-Id: Ia8d212d13cba8796e3e6eb1074ec57e871e7b40d
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Wed, 24 Jul 2013 05:47:23 +0000 (08:47 +0300)]
tools: fix the path of new rpms in the patch
Put new and changed packages into the same subdir so that the updateinfo
meta data points to correct paths for new rpms.
Change-Id: If8b956d25a281febb8afcfd74a069c1975ff96aa
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Wed, 24 Jul 2013 05:23:15 +0000 (08:23 +0300)]
tools: fix parsing of the .packages file
Change-Id: I018ab085bc8a1070a328c83320c35b6cdd66d17f
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
William Douglas [Tue, 23 Jul 2013 16:12:12 +0000 (09:12 -0700)]
changelog
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Thu, 18 Jul 2013 21:26:40 +0000 (14:26 -0700)]
Replace os.system() calls
subprocess.Popen() completely supersedes os.sysem() adding a more
reasonable exception handling process so replace it.
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Thu, 18 Jul 2013 20:47:48 +0000 (13:47 -0700)]
Merge "Remove bash scripting work around for update all" into tizen
William Douglas [Thu, 18 Jul 2013 20:47:38 +0000 (13:47 -0700)]
Merge "Add error handling for swup failures" into tizen
William Douglas [Thu, 18 Jul 2013 20:47:28 +0000 (13:47 -0700)]
Merge "Have swup logging go to the journal" into tizen
William Douglas [Thu, 18 Jul 2013 20:47:18 +0000 (13:47 -0700)]
Merge "Add handling for the install all updates option" into tizen
William Douglas [Thu, 18 Jul 2013 20:47:07 +0000 (13:47 -0700)]
Merge "Add exceptions and error checking" into tizen
William Douglas [Thu, 18 Jul 2013 20:46:55 +0000 (13:46 -0700)]
Merge "Fix commandline options" into tizen
William Douglas [Thu, 18 Jul 2013 20:46:40 +0000 (13:46 -0700)]
Merge "Clean up and pythonize swup" into tizen
William Douglas [Mon, 8 Jul 2013 21:02:47 +0000 (14:02 -0700)]
Remove bash scripting work around for update all
Instead of using bash to install all the updates on the system, use
the new swup -a that just had support added for it.
Change-Id: I335ad0deb9f16a7f2b51a93c4d153c7c21a53f58
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Mon, 8 Jul 2013 20:23:31 +0000 (13:23 -0700)]
Add error handling for swup failures
Change-Id: Iff03c22b5fc6a80f41f47460fa1f17ae47a4d0a2
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Mon, 8 Jul 2013 20:18:49 +0000 (13:18 -0700)]
Have swup logging go to the journal
Change-Id: Ice577e897745118ff247ee5da111d77e66974291
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Mon, 8 Jul 2013 20:10:56 +0000 (13:10 -0700)]
Add handling for the install all updates option
Currently updates are installed by calling swup one update at a time.
Add support to swup for installing all the applicable available
updates in one run.
Change-Id: Ieaeacf6812b016b580873f14456636e564ed71d7
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Mon, 8 Jul 2013 20:08:29 +0000 (13:08 -0700)]
Add exceptions and error checking
Check return values for os.system calls and raise exceptions to calls
that fail.
Change-Id: I6165e2f530ad729457a64f793acdb30838d980cb
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Sat, 13 Jul 2013 00:00:29 +0000 (17:00 -0700)]
Fix commandline options
Correct variable name for as yet unused prepare_all and install_all.
Change-Id: I2a990c3c31a25b580bde2b4e491fc73b962508d6
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Mon, 1 Jul 2013 23:26:51 +0000 (16:26 -0700)]
Clean up and pythonize swup
Add main test and handle exceptions to return exit failure.
Change-Id: I20aed4da12bf4f15116384b0faee84135aa82923
Signed-off-by: William Douglas <william.douglas@intel.com>
Alexandru Cornea [Sat, 29 Jun 2013 01:38:28 +0000 (04:38 +0300)]
resetting manifest requested domain to floor
William Douglas [Fri, 28 Jun 2013 23:40:48 +0000 (16:40 -0700)]
changelog
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Fri, 28 Jun 2013 23:29:41 +0000 (16:29 -0700)]
Update BUILD_ID in addition to VERSION_ID
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Fri, 28 Jun 2013 23:27:30 +0000 (16:27 -0700)]
Change how system-update is executed
Instead of deciding update function based only on file system status
of key files, use systemd to pass the update type.
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Tue, 25 Jun 2013 16:48:38 +0000 (09:48 -0700)]
changelog
Signed-off-by: William Douglas <william.douglas@intel.com>
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