25 Commits
Author SHA1 Message Date
William Douglas 7b160e02bd Create README.md 2020-03-10 15:18:38 -07:00
William Douglas 683ccc524e Update tar command to pass end of options
Some files begin with a '-' character and because we were running tar
commands with the shell, they were being treated as tar options. To
avoid this the end of options flag, '--', is inserted prior to the
input filenames.
v13.0.1
2019-07-05 00:49:58 -07:00
William Douglas d44cb76a46 Fix handling of "swupd update" output
"swupd update" changed its output, both directing messages to stdout
and changing the format of the "-s" output by adding an additional
line.
v13.0.0
2019-06-14 15:45:33 -07:00
William Douglas 6c405aa13b Update test-runner cleanup
Remove a global by having cleanup take an argument for the exit code
and fix the exit code handling at the same time (as RET was the exit
code variable in use but the rest of the code was trying to use ret
lowercase).
2019-06-14 15:43:39 -07:00
William Douglas 09e0b499e8 Ignore dist archive 2019-06-14 14:15:16 -07:00
William Douglas 8d39d150da Fix go.mod module name
Correct the module name in the go.mod file to correctly identify the
git url.
2019-06-14 14:15:12 -07:00
William Douglas 1070d19dc2 Update hashdump command parameters to pass quiet
swupd hashdump changed its behavior to print out more verbose
information by default that isn't needed for our purposes of just
getting a file's hash. Pass quiet to resolve this issue.
2019-06-14 13:21:28 -07:00
William Douglas 81ac081106 Fix handling of absolute paths for chrootdir
Strip methods remove sets of characters not prefix/suffix so switch to
a mechanism that will do that.
v12
2019-05-23 10:36:11 -07:00
William Douglas a7458af4d2 Fixups for make dist and extend clean for dist tarbal 2019-03-20 14:48:00 -07:00
William Douglas 3e94f676d7 Add dist target
Enable creating dist tarbals with vendored sources useful for package
builders.
v11
2019-03-20 14:35:59 -07:00
William Douglas 0a6b99c34b Add autoupdate service and timer 2019-03-20 13:58:01 -07:00
William Douglas 1331bad6af Check if a specific manifest is requested for get_base_manifests
In order to avoid issues where previous manifest includes were
processed, update get_base_manifests to take a bundle argument to
force only a specific include to be checked rather than the includes
list from the config which is for upstream url bundles not the
3rd-party bundle content.
2019-02-05 15:24:25 -08:00
William Douglas 3d033769c4 List included bundles from updated config
Because updating includes for a bundle is something that is handled,
ensure list prints out the updated configuration for includes rather
than the stale configuration from add.
2019-02-05 15:22:54 -08:00
William Douglas d2409479ef Correctly handle swupd update -s return code
swupd update -s returns 1 as a success return code so verify if that's
the return code we see or else through an error rather than letter any
non-zero return code count as success.
2019-02-05 12:36:17 -08:00
William Douglas 4d45a1ab80 Always get upstream os-core manifest
Currently it is used to get the format so always ensure os-core is
put into the included bundles list.
2019-01-31 14:56:59 -08:00
William Douglas b713407086 Enable updates to run bundle-add for new includes 2019-01-31 14:08:36 -08:00
William Douglas b01546b841 Fix processing of includes list
Pass the swupd bundle-add arguments as a vararg list not a single
string of bundles fixing multiple bundle includes.
2019-01-30 15:34:00 -08:00
William Douglas dc1a8eafa0 Print certificate URI when content isn't trusted
Enable users to investigate the certificate being used for content
signing (and optionally add it to the trust store) by displaying the
URI where it came from.
2019-01-30 15:18:49 -08:00
William Douglas b8dcdd0df8 Enable optional statedir locking on Remove
Sometimes Remove is called by add and in these cases the lock is
already held so do not try to pick it up again in these cases.
2019-01-30 15:16:15 -08:00
William Douglas cb60ebc360 Add Makefile integration for man pages
Add man page build and install to the Makefile and fixup some rst
problems in the swupd-3rd-party content.
2019-01-28 13:38:17 -08:00
William Douglas e999595b1d Improve --post-run to --skip-post
The --post-run flag was previous disabling post jobs as the default
behavior was to run post jobs. This didn't really match the name and
expected behavior so switch to --skip-post flag.
2019-01-28 13:13:19 -08:00
William Douglas 92c0fc8f3f Add documentation files 2019-01-28 13:12:40 -08:00
William Douglas 478fb67898 Move default 3rd-party contentdir
Based on feedback that /var is not for executable content, move the
3rd-party contentdir to /opt.
2019-01-28 08:21:07 -08:00
William Douglas 2d7693fad5 Add postjob integration for add, remove and update
Default to add, remove and update commands running the post hooks
resetting the 3rd-party content's bindir after their operations run
successfully. Also enable the post hook to be optionally disabled.
2019-01-26 16:19:43 -08:00
William Douglas 54498d6121 Add support for building and manipulating 3rd party repositories
Enable workflows supporting 3rd party repositories. Allow users to
create a bundle that can be added to an exsting installation without
switching from their upstream provider. The content can be hosted
elsewhere and will be maintained seperately from their upstream
provided content. Users can add, list, update and remove this content
from their systems.
2019-01-26 13:42:03 -08:00