aws4embeddedlinux/meta-aws

Devtool development flow isn't working for greengrass-bin (dunfell-next)

pwillem opened this issue · 1 comments

Hello

I am trying to use devtool to modify the greengrass-bin recipe but the devtool build greengrass-bin step fails with the following error install: cannot stat '/image/build/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/greengrass-bin/2.9.4-r0/LICENSE': No such file or directory . Running bitbake greengrass-bin builds the recipe without an issue.

Steps to reproduce:

  1. Create a dunfell build environment
  2. source poky/oe-init-build-env
  3. devtool modify greengrass-bin
  4. devtool build greengrass-bin
    -> this fails with install: cannot stat 'image/build/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/greengrass-bin/2.9.4-r0/LICENSE': No such file or directory

I could solve it with this patch.
Using ${S} is also what the poky binary installation helper class uses bin_package.bbclass.

Bootlin has an interesting slide in their yocto training material about the different variable names
image

Thank you! Will fix this today.