using OPKGto install the package you created .ipk.
Start by creating a Yocto Linux image using the program OPKGandpackage-management
In conf/local.conf
add them, in particular package-managementin EXTRA_IMAGE_FEATURESand OPKGin IMAGE_INSTALL_append.
PACKAGE_CLASSES ?= "package_rpm package_ipk"
EXTRA_IMAGE_FEATURES = "debug-tweaks ssh-server-openssh package-management"
IMAGE_INSTALL_append = " opkg "
After creating the image, create the package manifest:
bitbake package-index
Create a server apache2, for example. And bind your ipk to this server:
sudo apt-get install apache2
sudo ln -s /path/to/build-x11/tmp/deploy/ipk /var/www/html/my-repo
Configure and test OPKG with reate file opkg.confin/etc/opkg/
Change opkg.conf to the following: Note. Replace 192.168.0.102 with the IP address of the build station (the apache2 server you are using); eg
src/gz all http://192.168.0.102/all
src/gz cortexa9hf-vfp-neon-mx6 http://192.168.0.102/cortexa9hf-vfp-neon-mx6
src/gz cortexa9hf-vfp-neon http://192.168.0.102/cortexa9hf-vfp-neon
Test OPKG
opkg
opkg update
opkg upgrade
opkg install my_package
Youtube Tutorial
Documentation