GUF-Yocto-jethro-9.0-r7707-0
i.MX6
User Manual
5
Add-On Packages
Some specific packages are not integrated into the prebuilt OS images provided by Garz & Fricke, but instead
shipped separately as installable RPM packages. This is done to not burden the prebuilt OS images with larger
packets and to allow choices, which particular version of a package to install on a specific device.
Each add-on package consists of a bunch of RPM package files bundled into a self installing shell script. These
files can be transferred to the device using any protocol or storage-medium supported by the system.
A small tool
add-ons
helps maintaining the add-ons.
5.0.9 Using the ’add-ons’ script
List installed add-ons
:
$ add-ons
Installed add-ons:
* add-on-cups-8.0+r7609+0-r0.0.all.rpm
This is also used to list installed add-ons during the boot sequence on the serial debug console.
List available add-ons
:
$ add-ons list
Available addons for GUF-Yocto-jethro-9.0-r7707-0:
* cups
* debug
* qt-and-gpu-examples
Install add-on using the script
:
$ add-ons install cups
Remove add-on using the script
:
Deinstallation of an add-on works with the
add-ons remove
command:
$ add-ons remove cups
5.0.10 Direct installation
It is also possible to download the add-on script manually from the web site. This install script can be used to
install the contained files on a Garz and Fricke i.MX6 device. Installation is done by executing the file on the
target system, for example:
$ ./GUF-Yocto-jethro-9.0-r7707-0-add-on-cups.sh
5.0.11 Manual installation
It is also possible to extract the files on any linux computer and install the contained rpms. To use the ’old’ way
with seperate rpms, extract the selfinstaller by calling the installer script with the parameter –extract followed by
a target folder:
$ ./GUF-Yocto-jethro-9.0-r7707-0-add-on-chromium.sh --extract /tmp
The rpms can now be transfered to the device and installed with the following steps.
The package manager in Yocto is called
smart
. Before we can install the packages, we have to register our
package directory as a "channel":
32