Re: Behaviour of .bbappend when default script is not present
tomzy
Hi,
You could also consider using the `BBFILES_DYNAMIC`[1] variable, this way your bbappend would only apply when there is `meta-raspberrypi` in the build configuration. Your bbappend could be placed in custom layer under `dynamic-layers/raspberrypi/recipes-bsp/bootfiles/rpi-cmdline.bbappend` path and than in its layer.conf file add BBFILES_DYNAMIC += " \
raspberrypi:${LAYERDIR}/dynamic-layers/raspberrypi/recipes-*/*/*.bbappend \
"
Looks like the best option to add kernel command parameters is to use `rpi-cmdline.bbappend` with dynamic-layers as mentioned above. You should add changes to CMDLINE[2] variable [1]https://docs.yoctoproject.org/ref-manual/variables.html#term-BBFILES_DYNAMIC [2]https://github.com/agherzan/meta-raspberrypi/blob/master/recipes-bsp/bootfiles/rpi-cmdline.bb#L39 Regards -- Tomasz Żyjewski Embedded Systems Engineer GPG: 5C495EA3EBEECA59 https://3mdeb.com | @3mdeb_com |
|