Install additional packages using opkg

Setup opkg repository

At target's /etc/opkg folder, edit opkg.conf to add the ipk download links:

src/gz all http://192.168.0.24/6410/all 
src/gz armv6 http://192.168.0.24/6410/armv6
src/gz mini6410 http://192.168.0.24/6410/mini6410

Remove all other .conf files, except arch.conf.

At the host server httpd conf /etc/apache2/sites-enabled/000-default, add these:

Alias /6410/ "/oe/build/ok6410-tmp/deploy/eglibc/ipk/"

<Directory "/oe/build/ok6410-tmp/deploy/eglibc/ipk/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order allow,deny
        Allow from all
</Directory>

After done, test at target:

opkg update

Output:


# opkg update

Downloading http://192.168.0.24/6410/all/Packages.gz.
Inflating http://192.168.0.24/6410/all/Packages.gz.
Updated list of available packages in /var/lib/opkg/all.
Downloading http://192.168.0.24/6410/armv6/Packages.gz.
Inflating http://192.168.0.24/6410/armv6/Packages.gz.
Updated list of available packages in /var/lib/opkg/armv6.
Downloading http://192.168.0.24/6410/mini6410/Packages.gz.
Inflating http://192.168.0.24/6410/mini6410/Packages.gz.
Updated list of available packages in /var/lib/opkg/mini6410.

Build additional package

For example, build the nano text editor:

cd /oe/build
bitbake nano

Update the package index for opkg to pickup:

bitbake package-index

Download and install package

At the target:

opkg update
opkg install nano
oe/install_additional_packages_using_opkg.txt · Last modified: 2010-10-19 12:57 by admin
Back to top
GNU Free Documentation License 1.3
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0