はじめに
- レシピに記述したとおりになっていない場合、bbappendでレシピ内容が上書きされている可能性がある。(他の可能性もあるが…)
- そのようなときは、bbappend一覧を表示するコマンドがあるので、意図せずbbappendが当たっていないかを確かめることができる。
コマンド
bitbake-layers show-appends
例
- 環境変数設定
takeshi@X250:~/yocto/poky$ source oe-init-build-env
### Shell environment set up for builds. ###
You can now run 'bitbake <target>'
Common targets are:
core-image-minimal
core-image-sato
meta-toolchain
meta-ide-support
You can also run generated qemu images with a command like 'runqemu qemux86'
Other commonly useful commands are:
- 'devtool' and 'recipetool' handle common recipe tasks
- 'bitbake-layers' handles common layer tasks
- 'oe-pkgdata-util' handles common target package tasks
− bbappend一覧を確認(bbとbbappendを対で表示してくれる)
takeshi@X250:~/yocto/poky/build$ bitbake-layers show-appends
NOTE: Starting bitbake server...
WARNING: Host distribution "zorin-15" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |####################################################################################################################################| Time: 0:00:00
Loaded 1298 entries from dependency cache.
Summary: There was 1 WARNING message shown.
=== Appended recipes ===
busybox_1.31.0.bb:
/home/takeshi/yocto/poky/meta-poky/recipes-core/busybox/busybox_%.bbappend
formfactor_0.0.bb:
/home/takeshi/yocto/poky/meta-yocto-bsp/recipes-bsp/formfactor/formfactor_0.0.bbappend
linux-yocto_4.19.bb:
/home/takeshi/yocto/poky/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.19.bbappend
linux-yocto_5.2.bb:
/home/takeshi/yocto/poky/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_5.2.bbappend
psplash_git.bb:
/home/takeshi/yocto/poky/meta-poky/recipes-core/psplash/psplash_git.bbappend
xserver-xf86-config_0.1.bb:
/home/takeshi/yocto/poky/meta-yocto-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
linux-yocto-dev.bb (skipped):
/home/takeshi/yocto/poky/meta-yocto-bsp/recipes-kernel/linux/linux-yocto-dev.bbappend