]> code.ossystems Code Review - openembedded-core.git/commitdiff
opkg: read config file from ${sysconfdir} instead of /etc
authorAndré Draszik <git@andred.net>
Fri, 24 Jul 2015 12:48:45 +0000 (13:48 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 9 Aug 2015 23:37:04 +0000 (16:37 -0700)
Opkg's configure script doesn't use the value from --sysconfdir to determine
the location of the conf file, it uses the value from --with-opkgetcdir

(From OE-Core rev: d32f7f86b5d2b48222bdaada2697cd5e23cfe1c9)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/opkg/opkg_0.2.4.bb

index 254ecfcaa20a629c341be446c48f3bfc1a10c9d7..b7107f0a66aa13d6836283a05d495b9239fc30c8 100644 (file)
@@ -38,6 +38,7 @@ PACKAGECONFIG[sha256] = "--enable-sha256,--disable-sha256"
 PACKAGECONFIG[pathfinder] = "--enable-pathfinder,--disable-pathfinder,pathfinder"
 
 EXTRA_OECONF = "\
+  --with-opkgetcdir=${sysconfdir} \
   --with-opkglibdir=${OPKGLIBDIR} \
 "