platform/upstream/swup.git
5 years agoRemove unnecessary settings on system-update@.service 98/208498/1 tizen
INSUN PYO [Tue, 25 Jun 2019 07:48:54 +0000 (16:48 +0900)]
Remove unnecessary settings on system-update@.service

Change-Id: I8d36cc826ec1f04b4d01abf9f2ebf4e3f8dfb21a

11 years agocreate-update: support multiple repos 26/8226/2 accepted/tizen/ivi/genivi accepted/tizen/ivi/stable accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi accepted/tizen_3.0_common accepted/tizen_3.0_ivi accepted/tizen_4.0_unified accepted/tizen_common accepted/tizen_generic accepted/tizen_ivi accepted/tizen_ivi_panda accepted/tizen_mobile accepted/tizen_tv accepted/tizen_unified accepted/tizen_wearable tizen_3.0 tizen_3.0.2014.q3_common tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.2015.q2_common tizen_3.0.m14.2_ivi tizen_3.0.m14.3_ivi tizen_3.0.m1_mobile tizen_3.0.m1_tv tizen_3.0.m2 tizen_3.0_ivi tizen_4.0 tizen_ivi_genivi tizen_ivi_panda accepted/tizen/20130912.185729 accepted/tizen/20130912.193925 accepted/tizen/20130913.030914 accepted/tizen/3.0/common/20161114.111858 accepted/tizen/3.0/ivi/20161011.065220 accepted/tizen/4.0/unified/20170816.011857 accepted/tizen/4.0/unified/20170828.221804 accepted/tizen/ivi/20160218.025838 accepted/tizen/ivi/genivi/20140131.032833 accepted/tizen/ivi/panda/20140403.014111 accepted/tizen/unified/20170309.040829 ivi_oct_m2 submit/tizen/20130912.080421 submit/tizen/20130912.090720 submit/tizen_3.0.m2/20170104.093755 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000007 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170828.100007 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000007 submit/tizen_ivi_genivi/20140131.032837 submit/tizen_ivi_panda/20140403.012115 submit/tizen_mobile/20141120.000000 submit/tizen_unified/20170308.100417 tizen_3.0.2014.q3_common_release tizen_3.0.m14.2_ivi_release tizen_3.0.m14.3_ivi_release tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release tizen_3.0_ivi_release tizen_4.0.m1_release
Markus Lehtonen [Wed, 24 Jul 2013 13:14:04 +0000 (16:14 +0300)]
create-update: support multiple repos

Support multiple RPM repos by re-trying download of an rpm from another
repo if the download fails.

Multiple repos can be configured by listing multiple
white-space-separated URLs in the 'repo-url' config item in swup.conf.

Change-Id: Id02fa02cf596f2e615d5c8655496a17b6458a414
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
11 years agocreate-update: support product updates 27/8227/2
Markus Lehtonen [Tue, 13 Aug 2013 19:28:25 +0000 (22:28 +0300)]
create-update: support product updates

Support parsing product information metadata from listed packages and
adding that to the repository metadata inside the update.

Bug-Tizen: TZPC-3752

Change-Id: I5b94fe845dd04800da9ed749c7a9d6d0cf8fe0b2
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
11 years agochangelog submit/tizen/20130809.170307
William Douglas [Fri, 9 Aug 2013 16:49:52 +0000 (09:49 -0700)]
changelog

Signed-off-by: William Douglas <william.douglas@intel.com>
11 years agoFix bug when filling subprocess pipe 38/7838/2
William Douglas [Wed, 7 Aug 2013 22:36:55 +0000 (15:36 -0700)]
Fix bug when filling subprocess pipe

If attempting to wait for a subprocess to complete when that
subprocess has filled a pipe and still has data to send swup will get
stuck in a wait while the subprocess is stuck in write (since swup
doesn't read from the buffer until after the wait finishes, the write
can never complete).

Since manual wait is unneeded as subprocess.communicate() will call
wait itself, just remove the extra wait call.

Change-Id: I85dec452cb09b280d2d935ae21f654c25e06a25d
Signed-off-by: William Douglas <william.douglas@intel.com>
11 years agochangelog accepted/tizen/20130731.203018 submit/tizen/20130731.210552
William Douglas [Wed, 31 Jul 2013 21:05:12 +0000 (14:05 -0700)]
changelog

Signed-off-by: William Douglas <william.douglas@intel.com>
11 years agoEnsure only new updates are installed 09/6109/1
William Douglas [Tue, 30 Jul 2013 20:55:12 +0000 (13:55 -0700)]
Ensure only new updates are installed

The previously get_uninstalled_updates would look only at updates
which had been installed by the system updater and would then add
updates that didn't need to be applied because the current system
was installed from a later image than the earlier updates.

This patch adds a check for said invalid updates as well as creates
a folder for the zypper rpm cache of the update when needed.

Signed-off-by: William Douglas <william.douglas@intel.com>
11 years agochangelog accepted/tizen/20130726.201327 submit/tizen/20130726.201442
William Douglas [Fri, 26 Jul 2013 20:14:04 +0000 (13:14 -0700)]
changelog

Signed-off-by: William Douglas <william.douglas@intel.com>
11 years agoAccount for zypper return values not matching reality 38/6038/1
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>
11 years agocreate-update: package blacklisting 11/6011/1
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>
11 years agotools: fix the path of new rpms in the patch 10/6010/1
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>
11 years agotools: fix parsing of the .packages file 09/6009/1
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>
11 years agochangelog accepted/tizen/20130723.174355 submit/tizen/20130723.161249
William Douglas [Tue, 23 Jul 2013 16:12:12 +0000 (09:12 -0700)]
changelog

Signed-off-by: William Douglas <william.douglas@intel.com>
11 years agoReplace os.system() calls 80/5880/1
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>
11 years agoMerge "Remove bash scripting work around for update all" into tizen
William Douglas [Thu, 18 Jul 2013 20:47:48 +0000 (13:47 -0700)]
Merge "Remove bash scripting work around for update all" into tizen

11 years agoMerge "Add error handling for swup failures" into tizen
William Douglas [Thu, 18 Jul 2013 20:47:38 +0000 (13:47 -0700)]
Merge "Add error handling for swup failures" into tizen

11 years agoMerge "Have swup logging go to the journal" 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

11 years agoMerge "Add handling for the install all updates option" 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

11 years agoMerge "Add exceptions and error checking" into tizen
William Douglas [Thu, 18 Jul 2013 20:47:07 +0000 (13:47 -0700)]
Merge "Add exceptions and error checking" into tizen

11 years agoMerge "Fix commandline options" into tizen
William Douglas [Thu, 18 Jul 2013 20:46:55 +0000 (13:46 -0700)]
Merge "Fix commandline options" into tizen

11 years agoMerge "Clean up and pythonize swup" into tizen
William Douglas [Thu, 18 Jul 2013 20:46:40 +0000 (13:46 -0700)]
Merge "Clean up and pythonize swup" into tizen

11 years agoRemove bash scripting work around for update all 40/5740/2
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>
11 years agoAdd error handling for swup failures 39/5739/2
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>
11 years agoHave swup logging go to the journal 38/5738/2
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>
11 years agoAdd handling for the install all updates option 37/5737/2
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>
11 years agoAdd exceptions and error checking 36/5736/2
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>
11 years agoFix commandline options 35/5735/2
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>
11 years agoClean up and pythonize swup 34/5734/2
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>
11 years agoresetting manifest requested domain to floor 47/4947/1 accepted/tizen/20130710.214628 submit/tizen/20130710.135045
Alexandru Cornea [Sat, 29 Jun 2013 01:38:28 +0000 (04:38 +0300)]
resetting manifest requested domain to floor

11 years agochangelog accepted/tizen/20130629.031429 submit/tizen/20130628.234216
William Douglas [Fri, 28 Jun 2013 23:40:48 +0000 (16:40 -0700)]
changelog

Signed-off-by: William Douglas <william.douglas@intel.com>
11 years agoUpdate BUILD_ID in addition to VERSION_ID 51/4851/1
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>
11 years agoChange how system-update is executed 50/4850/1
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>
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