Opkg-Target In Djwillis Toolchain Configuration


JJS

Still Fresh
Joined
Feb 1, 2008
Messages
12
I'd like to use opkg-target in DJWillis's toolchain to add libraries to my development environment but I'm unable to update it.
Code:
josh@pandoradev:~/dev$ opkg-target update
Downloading /all/Packages.gz.
Downloading /any/Packages.gz.
Downloading /noarch/Packages.gz.
Downloading /arm/Packages.gz.
Downloading /armv4/Packages.gz.
Downloading /armv4t/Packages.gz.
Downloading /armv5te/Packages.gz.
Downloading /armv6/Packages.gz.
Downloading /armv7/Packages.gz.
Downloading /armv7a/Packages.gz.
Downloading /omap3-pandora/Packages.gz.
Collected errors:
 * opkg_download: Failed to download /all/Packages.gz: URL using bad/illegal format or missing URL.
 * opkg_download: Failed to download /any/Packages.gz: URL using bad/illegal format or missing URL.
 * opkg_download: Failed to download /noarch/Packages.gz: URL using bad/illegal format or missing URL.
 * opkg_download: Failed to download /arm/Packages.gz: URL using bad/illegal format or missing URL.
 * opkg_download: Failed to download /armv4/Packages.gz: URL using bad/illegal format or missing URL.
 * opkg_download: Failed to download /armv4t/Packages.gz: URL using bad/illegal format or missing URL.
 * opkg_download: Failed to download /armv5te/Packages.gz: URL using bad/illegal format or missing URL.
 * opkg_download: Failed to download /armv6/Packages.gz: URL using bad/illegal format or missing URL.
 * opkg_download: Failed to download /armv7/Packages.gz: URL using bad/illegal format or missing URL.
 * opkg_download: Failed to download /armv7a/Packages.gz: URL using bad/illegal format or missing URL.
 * opkg_download: Failed to download /omap3-pandora/Packages.gz: URL using bad/illegal format or missing URL.

I'm guessing it's looking for the repository on my hard drive. Does anyone have a working opkg config they could share for adding packages to the SDK?
 

sebt3

homebrew player (P. & C.)
Joined
Sep 9, 2008
Messages
4,885
Age
42
Location
France
Website
sebt3.openpandora.org
Update your /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/etc/opkg.conf with :
Code:
arch all 1
arch any 6
arch noarch 11
arch arm 16
arch armv4 21
arch armv4t 26
arch armv5te 31
arch armv6 36
arch armv7 41
arch armv7a 46
arch omap3-pandora 51
src/gz base http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/base
src/gz debug http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/debug
src/gz gstreamer http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/gstreamer
src/gz no-arch http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc//all
src/gz omap3-pandora http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/machine/omap3-pandora

dest root /
lists_dir ext /var/lib/opkg

src/gz perl http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/perl
src/gz python http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/python
 
Top