IPK packages

With IPK packages, it is possible to use (after copy the package to the target) OPKG utilities to install the package on the Raspberry Pi.

Installing manually

To manually install an IPK package, use this command:

$ opkg install package_name.ipk

Installing automatically

For the management of IPK packages, it is easy to create a package repository on our development workstation.

The first step is to add to conf/local.conf the following variable:

FEED_DEPLOYDIR_BASE_URI = http://<server-ip>:9999/ http://<server- ip>:9999/

Thus, our image will include all references to our package repository on our web server based on busybox (httpd), which is listening on port 9999.

The second step is to create the package index on our repository:

$ source ...

Get Yocto for Raspberry Pi now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.