說明文件

MA35D1 extra package in Yocto project after the image is built

MA35D1 extra package in Yocto project after the image is built

Open local.conf

nuvoton@84d536ecc45d:~/shared/yocto/build$ vim conf/local.conf

For example : add pip3 and devmem2

CORE_IMAGE_EXTRA_INSTALL += “devmem2”

IMAGE_INSTALL_append += " python3-pip"

MACHINE ??= 'numaker-iot-ma35d16f90'
DISTRO ?= 'nvt-ma35d1-directfb'
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS ??= "\
    STOPTASKS,${TMPDIR},1G,100K \
    STOPTASKS,${DL_DIR},1G,100K \
    STOPTASKS,${SSTATE_DIR},1G,100K \
    STOPTASKS,/tmp,100M,100K \
    ABORT,${TMPDIR},100M,1K \
    ABORT,${DL_DIR},100M,1K \
    ABORT,${SSTATE_DIR},100M,1K \
    ABORT,/tmp,10M,1K"
PACKAGECONFIG_append_pn-qemu-system-native = " sdl"
CONF_VERSION = "1"
MACHINE_FEATURES_append = " optee"
CORE_IMAGE_EXTRA_INSTALL += "devmem2"
IMAGE_INSTALL_append += " python3-pip"
DL_DIR ?= "${BSPDIR}/downloads/"
Search package

nuvoton@84d536ecc45d:~/shared/yocto/build$ bitbake -s | grep pip

libpipeline                                         :1.5.2-r0                          
nativesdk-python3-pip                              :20.0.2-r0                          
pipewire                                            :0.3.1-r0                          
pipewire-0.2                                        :0.2.7-r0                          
python3-pip                                        :20.0.2-r0                          
python3-pip-native                                 :20.0.2-r0
comments powered by Disqus