How to run bitbake kirkstone image containing kubernetes

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to run bitbake kirkstone image containing kubernetes

318 次查看
Yuki_S
Contributor II

I want to make image containing k8s(kubernetes) on i.MX8M Plus.

(Yocto version:kirkstone, Environment:Ubuntu20.04.5 LTS)

When I run bitbake in the kirkstone environment, I got following error.

DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['virtual:native:/home/feadmin/work/imx-yocto-bsp/sources/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', '/home/feadmin/work/imx-yocto-bsp/sources/poky/meta/recipes-core/systemd/systemd-systemctl-native.bb:do_populate_sysroot', 'virtual:native:/home/feadmin/work/imx-yocto-bsp/sources/poky/meta/recipes-devtools/dpkg/dpkg_1.21.4.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['pseudo-native', 'systemd-systemctl-native', 'dpkg-native', 'gettext-minimal-native', 'zlib-native', 'perl-native', 'gettext-native', 'bzip2-native', 'opkg-utils-native', 'libtool-native', 'xz-native', 'gdbm-native', 'texinfo-dummy-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing python function sstate_task_prefunc
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function do_package_write_deb
DEBUG: Executing python function read_subpackage_metadata
DEBUG: Python function read_subpackage_metadata finished
DEBUG: Executing python function do_package_deb
NOTE: Not creating empty archive for kubernetes-locale-v1.23.6+gitfbcfa33018159c033aee77b0d5456df6771aa9b5-r0
NOTE: Not creating empty archive for kubernetes-doc-v1.23.6+gitfbcfa33018159c033aee77b0d5456df6771aa9b5-r0
NOTE: libc6-dev rprovides glibc-dev, not replacing the latter
NOTE: Not creating empty archive for kubernetes-staticdev-v1.23.6+gitfbcfa33018159c033aee77b0d5456df6771aa9b5-r0
NOTE: package name mapping done: glibc -> libc6
NOTE: package name mapping done: glibc -> libc6
ERROR: Fatal errors occurred in subprocesses:
Command 'PATH="/home/feadmin/work/imx-yocto-bsp/build-xwayland-kirkstone/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/feadmin/work/imx-yocto-bsp/sources/poky/scripts:/home/feadmin/work/imx-yocto-bsp/build-xwayland-kirkstone/tmp/work/armv8a-poky-linux/defaultpkgname/1_v1.23.6+gitfbcfa33018159c033aee77b0d5456df6771aa9b5-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/feadmin/work/imx-yocto-bsp/build-xwayland-kirkstone/tmp/work/armv8a-poky-linux/defaultpkgname/1_v1.23.6+gitfbcfa33018159c033aee77b0d5456df6771aa9b5-r0/recipe-sysroot/usr/bin/crossscripts:/home/feadmin/work/imx-yocto-bsp/build-xwayland-kirkstone/tmp/work/armv8a-poky-linux/defaultpkgname/1_v1.23.6+gitfbcfa33018159c033aee77b0d5456df6771aa9b5-r0/recipe-sysroot-native/usr/sbin:/home/feadmin/work/imx-yocto-bsp/build-xwayland-kirkstone/tmp/work/armv8a-poky-linux/defaultpkgname/1_v1.23.6+gitfbcfa33018159c033aee77b0d5456df6771aa9b5-r0/recipe-sysroot-native/usr/bin:/home/feadmin/work/imx-yocto-bsp/build-xwayland-kirkstone/tmp/work/armv8a-poky-linux/defaultpkgname/1_v1.23.6+gitfbcfa33018159c033aee77b0d5456df6771aa9b5-r0/recipe-sysroot-native/sbin:/home/feadmin/work/imx-yocto-bsp/build-xwayland-kirkstone/tmp/work/armv8a-poky-linux/defaultpkgname/1_v1.23.6+gitfbcfa33018159c033aee77b0d5456df6771aa9b5-r0/recipe-sysroot-native/bin:/home/feadmin/work/imx-yocto-bsp/sources/poky/bitbake/bin:/home/feadmin/work/imx-yocto-bsp/build-xwayland-kirkstone/tmp/hosttools" dpkg-deb -b /home/feadmin/work/imx-yocto-bsp/build-xwayland-kirkstone/tmp/work/armv8a-poky-linux/kubernetes/1_v1.23.6+gitfbcfa33018159c033aee77b0d5456df6771aa9b5-r0/packages-split/kubernetes-host /home/feadmin/work/imx-yocto-bsp/build-xwayland-kirkstone/tmp/work/armv8a-poky-linux/kubernetes/1_v1.23.6+gitfbcfa33018159c033aee77b0d5456df6771aa9b5-r0/deploy-debs/armv8a' returned non-zero exit status 127.
Subprocess output:/bin/sh: 1: dpkg-deb: not found

DEBUG: Python function do_package_deb finished
DEBUG: Python function do_package_write_deb finished

When I run dpkg-deb --help, help window is displayed.(I think dpkg-deb is installed)

Please let me know this solution.

Best regards.

Yuki_S

0 项奖励
回复
0 回复数