Yocto package management

From KoanSoftware Wiki
Jump to: navigation, search

Yocto package management

Enable package management by IMAGE_FEATURES

IMAGE_FEATURES += " package-management"

Make sure you build the deb, rpm or ipk package in local.conf

# We default to ipk:
PACKAGE_CLASSES ?= "package_ipk"

Start http-server in your deploy dir

$ cd ~/yocto/poky/build/tmp/deploy 
$ python -m SimpleHTTPServer 8000

Add feed url in your local.conf using the Host IP address, for example (192.168.0.2)

PACKAGE_FEED_URIS = "http://192.168.0.2:8000"