起初我運行命令來查看我的層:do_rootfs:無法安裝[email protected]:沒有包提供的xserver-nodm-INIT
$bitbake-layers show-layers
layer path priority
meta .../poky-krogoth-15.0.0/meta 5
meta-poky .../poky-krogoth-15.0.0/meta-poky 5
meta-yocto-bsp .../poky-krogoth-15.0.0/meta-yocto-bsp 5
meta-oe .../meta-openembedded/meta-oe 6
,並建立自己的形象:
bitbake core-image-sato
一切都OK了,我找到了元OE層是無用的。所以我刪除它:
bitbake-layers remove-layer .../meta-openembedded/meta-oe
並重新構建它:
$bitbake core-image-sato
它顯示錯誤:
ERROR: core-image-sato-1.0-r0 do_rootfs: Unable to install packages.
Command '/buildarea/ddu/poky-krogoth-15.0.0/build-beaglebone/tmp/sysroots/x86_64-linux/usr/bin/smart --log-level=warning --data-dir=/buildarea/ddu/poky-krogoth-15.0.0/build-beaglebone/tmp/work/beaglebone-poky-linux-gnueabi/core-image-sato/1.0-r0/rootfs/var/lib/smart install -y [email protected] [email protected] [email protected] [email protected]_neon [email protected]_neon [email protected] [email protected] [email protected]_neon [email protected] [email protected]_neon [email protected]_neon' returned 1:
Loading cache... Updating cache...
################################## [100%]Computing transaction...error: Can't install [email protected]: no package provides xserver-nodm-init
ERROR: core-image-sato-1.0-r0 do_rootfs: Function failed: do_rootfs ERROR: Logfile of failure stored in: /buildarea/ddu/poky-krogoth-15.0.0/build-beaglebone/tmp/work/beaglebone-poky-linux-gnueabi/core-image-sato/1.0-r0/temp/log.do_rootfs.52174 ERROR: Task 9 (/buildarea/ddu/poky-krogoth-15.0.0/meta/recipes-sato/images/core-image-sato.bb, do_rootfs) failed with exit code '1'
爲什麼說沒有包提供xserver- nodm-INIT?
$find ../meta -name xserver-nodm-init*
../meta/recipes-graphics/x11-common/xserver-nodm-init.bb
../meta/recipes-graphics/x11-common/xserver-nodm-init
開始時,我想爲我的映像安裝一些軟件包,這些軟件包依賴於meta-oe層,因此我將該圖層添加到我的bblayers.conf中。最後我發現我沒有使用這些軟件包,所以我刪除了meta-oe層並重建了圖像,構建系統拋出錯誤。 – dudengke
核心形象佐藤依靠它 –
佐藤形象不依賴meta-oe – jku