opkg: fix installation of dev / dbg packages
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 10 Jul 2012 16:22:50 +0000 (17:22 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 10 Jul 2012 16:39:24 +0000 (17:39 +0100)
commitaedce68695fe995345c5474549da9effe8d9c1fd
tree2593ad25a015c485419f87a5055407b88f4d4c40
parentaecb6a62f0a9f58549653a1b5f3453e16ba98705
opkg: fix installation of dev / dbg packages

OE-Core revision ffe93e2a099e4cadb1829dc12a58a6d7bef9a5a7 moved opkg's
configuration file into /etc/opkg, and opkg always reads all files under
this directory even if -f is specified (as it is during do_rootfs in
order to specify our own generated config file), and this means that
after opkg-collateral is installed into the rootfs, this version of the
config is used, resulting in opkg ignoring the list of packages it has
already downloaded (since it now sees list_dir as /var/lib/opkg instead
of the default /var/lib/opkg/lists) and thus it fails to install any of
the "attemptonly" packages (including *-dev, *-dbg, etc.).

If we change the -f option to ignore configuration files in /etc/opkg
then we no longer have this problem.

Fixes [YOCTO #2595].

(From OE-Core rev: 37df134557802ba116f001597b7cd5e9bc39e188)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/opkg/opkg/conf_override.patch [new file with mode: 0644]
meta/recipes-devtools/opkg/opkg_svn.bb