最近使用yocto给bbb做系统,发现有python,没有pip。
看了一下文档,
初始化目录
source poky-morty/oe-init-build-env bbb/build
运行
bitbake-layers show-layers
显示
layer path priority
==========================================================================
meta /vm/beaglebone/yocto/poky-morty/meta 5
meta-poky /vm/beaglebone/yocto/poky-morty/meta-poky 5
meta-oe /vm/beaglebone/yocto/poky-morty/meta-openembedded/meta-oe 6
meta-networking /vm/beaglebone/yocto/poky-morty/meta-openembedded/meta-networking 5
meta-python /vm/beaglebone/yocto/poky-morty/meta-openembedded/meta-python 7
meta-qt5 /vm/beaglebone/yocto/poky-morty/meta-qt5 7
meta-bbb /vm/beaglebone/yocto/bbb/meta-bbb 8
已经包含了meta-python
打开/vm/beaglebone/yocto/bbb/build/conf目录下的local.conf
添加
IMAGE_INSTALL_append = " python-pip python-distribute"
然后运行
bitbake console-image
制作的rootfs包含了pip
阅读(2695) | 评论(0) | 转发(0) |