summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAlejandro Hernandez <alejandro.hernandez@linux.intel.com>2015-07-31 18:59:37 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-01 22:24:08 +0100
commite87b533b2f773ac00bf0acf2ba44c5c98235a383 (patch)
tree88ca9a41cd0666c976dda1a05f08f8385aaa5585 /meta
parent5c76072804bfb1c7ea9f62b99d91ac6d76118ee4 (diff)
downloadpoky-e87b533b2f773ac00bf0acf2ba44c5c98235a383.tar.gz
opkg: solve inconsistency of using different lists directories
Default behavior of opkg was to use ${OPKGLIBDIR}/opkg/lists; but in our recipe we modify it to ${OPKGLIBDIR}/opkg/${OPKGLIBDIR}/opkg/, when appending package-management to IMAGE_FEATURES these lists are populated during build time (using the default directory), but since our config was different these populated lists were never used at runtime, this patch solves this inconsistency by using default behavior for both build time and runtime. [YOCTO #6966] (From OE-Core rev: a71b29ffc514892ca394fc8de275294b910586f0) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/opkg/opkg_0.2.4.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/opkg/opkg_0.2.4.bb b/meta/recipes-devtools/opkg/opkg_0.2.4.bb
index 56df9202b1..b7574e538e 100644
--- a/meta/recipes-devtools/opkg/opkg_0.2.4.bb
+++ b/meta/recipes-devtools/opkg/opkg_0.2.4.bb
@@ -45,7 +45,7 @@ EXTRA_OECONF = "\
45do_install_append () { 45do_install_append () {
46 install -d ${D}${sysconfdir}/opkg 46 install -d ${D}${sysconfdir}/opkg
47 install -m 0644 ${WORKDIR}/opkg.conf ${D}${sysconfdir}/opkg/opkg.conf 47 install -m 0644 ${WORKDIR}/opkg.conf ${D}${sysconfdir}/opkg/opkg.conf
48 echo "option lists_dir ${OPKGLIBDIR}/opkg" >>${D}${sysconfdir}/opkg/opkg.conf 48 echo "option lists_dir ${OPKGLIBDIR}/opkg/lists" >>${D}${sysconfdir}/opkg/opkg.conf
49 49
50 # We need to create the lock directory 50 # We need to create the lock directory
51 install -d ${D}${OPKGLIBDIR}/opkg 51 install -d ${D}${OPKGLIBDIR}/opkg