Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
classes: bundle: add simple mechanism for adding extra artifacts to b…
…undle This introduces variables RAUC_BUNDLE_EXTRA_DEPENDS and RAUC_BUNDLE_EXTRA_FILES. With RAUC_BUNDLE_EXTRA_FILES one specifies a space-separated list of artifacts that are first search in DEPLOY_DIR_IMAGE and then in WORKDIR. This allows both to add artifact via SRC_URI as well as by grabbing the generated files from other deploy recipes. To ensure the artifacts are placed in the deploy dir before fetching them bundle generation one must add their recipe's name to the RAUC_BUNDLE_EXTRA_DEPENDS variable: RAUC_BUNDLE_EXTRA_DEPENDS += "recipe-name" The dependency defaults to the do_deploy task. If something else is required, than one can optionally do this with the recipe-deptask notation: RAUC_BUNDLE_EXTRA_DEPENDS += "recipe-name:do_<taskname>" Signed-off-by: Enrico Jorns <[email protected]>
- Loading branch information