summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/opkg/opkg_svn.bb
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-07-10 17:22:50 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-10 17:39:24 +0100
commit06348fe76474a20e0fc2f2938919f782c3e5ae28 (patch)
tree7e5684fc7cfd17d2d82e0216bd127af962c59f1b /meta/recipes-devtools/opkg/opkg_svn.bb
parent029e3cea52f86438a1d6868020b8888b5c93d623 (diff)
downloadpoky-06348fe76474a20e0fc2f2938919f782c3e5ae28.tar.gz
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>
Diffstat (limited to 'meta/recipes-devtools/opkg/opkg_svn.bb')
-rw-r--r--meta/recipes-devtools/opkg/opkg_svn.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/opkg/opkg_svn.bb b/meta/recipes-devtools/opkg/opkg_svn.bb
index c07d393019..faf0ba388b 100644
--- a/meta/recipes-devtools/opkg/opkg_svn.bb
+++ b/meta/recipes-devtools/opkg/opkg_svn.bb
@@ -6,6 +6,7 @@ SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;proto=http \
6 file://fix_installorder.patch \ 6 file://fix_installorder.patch \
7 file://offline_postinstall.patch\ 7 file://offline_postinstall.patch\
8 file://track_parents.patch \ 8 file://track_parents.patch \
9 file://conf_override.patch \
9" 10"
10 11
11S = "${WORKDIR}/trunk" 12S = "${WORKDIR}/trunk"
@@ -13,4 +14,4 @@ S = "${WORKDIR}/trunk"
13SRCREV = "633" 14SRCREV = "633"
14PV = "0.1.8+svnr${SRCPV}" 15PV = "0.1.8+svnr${SRCPV}"
15 16
16PR = "${INC_PR}.0" 17PR = "${INC_PR}.1"