How to Add New Package in Yocto(root file system)
- Rugged Board A5d2x
- ubuntu OS
Step 1: To setup the yocto in your PC follow this link. After running the bitbake environment, go to the conf/local.conf file and follow as below.
yocto_rba5d2x$ source sources/poky/oe-init-build-env
yocto_rba5d2x/build$ vi conf/local.conf
Step 2: Go to the end of the file and copy below line to add the package.
IMAGE_INSTALL_append = "mosquitto"
Step 3: Save the file and compile using below command.
yocto_rba5d2x/build$ bitbake rb-sd-core-image-minimal
Step 4: To add two/three packages in yocto edit the "conf/local.conf" file as below
IMAGE_INSTALL_append = "mosquitto tcpdump ftp"
Step 5: After completion of compiling, go to below path to find the updated image(rootfs).
yocto_rba5d2x/build$ ls tmp/deploy/images/rugged-board-a5d2x-sd1/