diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2022-06-09 12:40:29 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2022-07-04 18:29:11 +0200 |
commit | e2a3d82a0332354aad9d0679e7747589eb00f126 (patch) | |
tree | 0d2fc18f612cf238965b6a53d9191dfb05f0019f | |
parent | 95edba4748b890a67eda2fa6a12386e9c50da0e6 (diff) | |
download | openembedded-core-contrib-jansa/kirkstone.tar.gz openembedded-core-contrib-jansa/kirkstone.tar.bz2 openembedded-core-contrib-jansa/kirkstone.zip |
wic: fix WicError messagejansa/kirkstone
* add missing % to print the values instead of:
| INFO: Build artifacts not found, exiting.
| INFO: (Please check that the build artifacts for the machine
| INFO: selected in local.conf actually exist and that they
| INFO: are the correct artifacts for the image (.wks file)).
|
| ERROR: ("The artifact that couldn't be found was %s:\n %s", 'kernel-dir', '/OE/build/deploy/images/qemux86-64')
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rwxr-xr-x | scripts/wic | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/wic b/scripts/wic index aee63a45aa..06e0b48db0 100755 --- a/scripts/wic +++ b/scripts/wic @@ -209,7 +209,7 @@ def wic_create_subcommand(options, usage_str): logger.info(" (Please check that the build artifacts for the machine") logger.info(" selected in local.conf actually exist and that they") logger.info(" are the correct artifacts for the image (.wks file)).\n") - raise WicError("The artifact that couldn't be found was %s:\n %s", not_found, not_found_dir) + raise WicError("The artifact that couldn't be found was %s:\n %s" % (not_found, not_found_dir)) krootfs_dir = options.rootfs_dir if krootfs_dir is None: |