How to bitbake kirkstone image containing kubernetes

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

How to bitbake kirkstone image containing kubernetes

364 次查看
Yuki_S
Contributor II

I want to run k8s(kubernetes) on i.MX8M Plus.

I'm using yocto4.0 version (kirkstone).

When I try to add kubernetes to recipe using local.conf(following), but I got to following error.

*** local.conf ************************************

IMAGE_INSTALL:append = " kubernetes"

***************************************************

*** error ************************************

DEBUG: Executing python function extend_recipe_sysroot
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['systemd-systemctl-native', 'pseudo-native', 'dpkg-native', 'libtool-native', 'gettext-minimal-native', 'xz-native', 'zlib-native', 'gettext-native', 'perl-native', 'opkg-utils-native', 'bzip2-native', 'texinfo-dummy-native', 'gdbm-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:

Subprocess output:/bin/sh: 1: dpkg-deb: not found

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

 

Please let me know how to add kubernetes recipes without error.

Best regards.

Yuki_S

0 项奖励
回复
0 回复数