-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 27-01-11 10:48, Caglar Akyuz wrote:
> Hello,
> 
> I'm using Angstrom Qt SDK and it is working great. But now I 
> want to install new packages to the SDK without re-compiling 
> it under OE, but I can't find a way.
> 
> First I tried following command:
> 
>  $/usr/local/angstrom/arm/bin/opkg-cl list-installed
> 
> But it failed with this error:
> 
>  Collected errors:
>   * opkg_conf_load: Could not create lock file /usr/lib/opkg/lock: No such 
> file or directory.
> 
> Then I tried setting OFFLINE_ROOT env variable to 
> /usr/local/angstrom/arm before running opkg-cl and the error 
> went away but this time I recieved these:
> 
>  Package pkgconfig-sdk version 0.23-r8.1.9 has no valid architecture, 
> ignoring.
>  Package gcc-cross-sdk version 4.5-r31.2+svnr168622.9 has no valid 
> architecture, ignoring.
>  Package gdb-cross-sdk version 7.2-r9.0.9 has no valid architecture, ignoring.
>  Package libtool-sdk version 2.4-r28.1.9 has no valid architecture, ignoring.
>  Package qt4-tools-sdk version 4.7.1-r2.0.9 has no valid architecture, 
> ignoring.
>  Package opkg-sdk version 0.1.8+svnr596-r3.9 has no valid architecture, 
> ignoring.
>  Package binutils-cross-sdk version 2.20.1-r13.0.9 has no valid architecture, 
> ignoring.
>  Package task-qte-toolchain-host version 1.0-r3.9 has no valid architecture, 
> ignoring
> 
> Sub commands 'update' and 'install' ends up with same error. 
> 
> I wonder if there is a way tom install *.ipk files to the SDK after 
> installation?

The environment script defines 2 alias:

 'alias opkg="LD_LIBRARY_PATH=$SDK_PATH/lib $SDK_PATH/bin/opkg-cl -f
$SDK_PATH/${sysconfdir}/opkg-sdk.conf -o $SDK_PATH"'
'alias opkg-target="LD_LIBRARY_PATH=$SDK_PATH/lib $SDK_PATH/bin/opkg-cl
- -f $SDK_PATH/$TARGET_SYS${sysconfdir}/opkg.conf -o $SDK_PATH/$TARGET_SYS"'

so you can do:

opkg-target update ; opkg target install foo

to install 'foo' into the target sysroot of the sdk from the feeds.

regards,

Koen

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFNQUs+MkyGM64RGpERAgW8AJwO+hvbYYysqiS7DBQ33+Uy+hj+tQCgqZ7u
li5Flgwl6Xuk63QM364tC1M=
=bW9j
-----END PGP SIGNATURE-----


_______________________________________________
Angstrom-distro-users mailing list
Angstrom-distro-users@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users

Reply via email to