Getting Started w/ opkg

Eliyahu Skoczylas EliSko at FastMail.fm
Thu Oct 2 23:11:29 UTC 2008


I have installed an image on a new machine (PPC-405 based) that includes
opkg and opkg-utils.

When I try to run opkg, though, even a command like 'list', I get:
| / # opkg list
| opkg_conf_init: Failed to create temporary directory `(null)': No such
file or directory
| / #

BitBake did not create any /etc/opkg.conf.  I can't find out what should
be in that file.

The only thing that seems to work is:
| / # opkg-key list
| gpg: keyring `/etc/opkg/trusted.gpg' created
| gpg: /etc/opkg/trustdb.gpg: trustdb created
| / # 

and that creates an /etc/opkg/ directory with arch.conf, trustdb.gpg,
and trusted.gpg but still nothing runs:
| / # opkg print_architecture
| opkg_conf_init: Failed to create temporary directory `(null)': No such
file or directory
| / # 

FWIW, here's the arch.conf:
| / # cat /etc/opkg/arch.conf 
| arch all 1
| arch any 6
| arch noarch 11
| arch powerpc 16
| arch ppc 21
| arch ppc405 26
| arch BOARDNAME 31
| / #

("BOARDNAME" is really the code name for our new board, which I'm not
allowed to announce yet.)

So I'm trying to find out how to get started with the opkg thing.  Is
there any documentation?  A "quick start guide"?  Someone willing to
write up ten minutes of an email?


TIA -

-    Eliyahu
--
Eliyahu Skoczylas    +972 (54) 214-1505
While <EliSko at Eli-Sko.com> is temporarily down, please use <EliSko at FastMail.fm>, instead.





More information about the Openembedded-users mailing list