diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2020-07-01 17:24:59 +0200 |
---|---|---|
committer | Patrick Vacek <patrickvacek@gmail.com> | 2020-07-08 15:53:43 +0200 |
commit | 7fe5b3fe0a211ad1e431787a69443594fcb01143 (patch) | |
tree | c27eae6c035377ef6491d35c4a55bcad832ad688 /classes/sota_porter.bbclass | |
parent | c0226074ae09cddc59903c6760e0f67bef033056 (diff) | |
download | meta-updater-7fe5b3fe0a211ad1e431787a69443594fcb01143.tar.gz |
ostree-kernel-initramfs: skip recipe when OSTREE_KERNEL is not defined
* otherwise it fails with useless error:
ostree-kernel-initramfs/0.0.1-r0/temp/run.do_install.3011' failed with exit code 1:
cp: -r not specified; omitting directory 'tmp-glibc/deploy/images/qemux86/'
WARNING: exit code 1 from a shell command.
because of
cp ${DEPLOY_DIR_IMAGE}/${OSTREE_KERNEL} $kerneldir/vmlinuz
in do_install will try to copy whole ${DEPLOY_DIR_IMAGE}/ when
${OSTREE_KERNEL} is empty
as reported in:
https://github.com/advancedtelematic/meta-updater/pull/740#issuecomment-651952735
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'classes/sota_porter.bbclass')
0 files changed, 0 insertions, 0 deletions