summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
authorKevin Tian <kevin.tian@intel.com>2010-08-26 12:39:07 +0800
committerJoshua Lock <josh@linux.intel.com>2010-08-26 08:54:55 +0100
commit8ea7fa6d4c7734da6034d44f8b6d78d2993f1949 (patch)
treed0be459748627b653337548837be820c529a8117 /meta/packages
parentd46c362a46f26b38d8da30f6a83e7c0fdadda348 (diff)
downloadopenembedded-core-8ea7fa6d4c7734da6034d44f8b6d78d2993f1949.tar.gz
openembedded-core-8ea7fa6d4c7734da6034d44f8b6d78d2993f1949.tar.bz2
openembedded-core-8ea7fa6d4c7734da6034d44f8b6d78d2993f1949.zip
opkg: finalize the change to var directory
commit 1d0757f16beb31551733d9d755d72337ccda9642 changes opkg run state from /usr/lib/opkg to /var/lib/opkg, which however is incomplete and still many important information is kept under old directory including postinst methods. This makes latest boot into a mess. So finalize this movement to /var here. Fix [BUGID #229] Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/opkg/opkg.inc6
-rw-r--r--meta/packages/opkg/opkg_0.1.8.bb2
-rw-r--r--meta/packages/opkg/opkg_svn.bb2
3 files changed, 5 insertions, 5 deletions
diff --git a/meta/packages/opkg/opkg.inc b/meta/packages/opkg/opkg.inc
index 667b6386e5..add1563c47 100644
--- a/meta/packages/opkg/opkg.inc
+++ b/meta/packages/opkg/opkg.inc
@@ -22,10 +22,10 @@ do_configure_prepend() {
inherit autotools pkgconfig
-target_libdir := "${libdir}"
+target_localstatedir := "${localstatedir}"
EXTRA_OECONF = "--with-opkglibdir=${localstatedir}/lib"
-EXTRA_OECONF_virtclass-native = "--with-opkglibdir=${target_libdir} --disable-gpg --disable-curl --disable-openssl"
-EXTRA_OECONF_virtclass-nativesdk = "--with-opkglibdir=${target_libdir} --disable-gpg --disable-curl --disable-openssl"
+EXTRA_OECONF_virtclass-native = "--with-opkglibdir=${target_localstatedir}/lib --disable-gpg --disable-curl --disable-openssl"
+EXTRA_OECONF_virtclass-nativesdk = "--with-opkglibdir=${target_localstatedir}/lib --disable-gpg --disable-curl --disable-openssl"
#PROVIDES_append_virtclass-native = "virtual/update-alternatives-native"
#RPROVIDES_${PN} += "update-alternatives-native"
diff --git a/meta/packages/opkg/opkg_0.1.8.bb b/meta/packages/opkg/opkg_0.1.8.bb
index 1d05ef802e..4eb3ff9a11 100644
--- a/meta/packages/opkg/opkg_0.1.8.bb
+++ b/meta/packages/opkg/opkg_0.1.8.bb
@@ -13,7 +13,7 @@ SRC_URI = "http://opkg.googlecode.com/files/opkg-${PV}.tar.gz \
file://headerfix.patch \
"
-PR = "r2"
+PR = "r3"
PACKAGES =+ "libopkg-dev libopkg update-alternatives-cworth"
diff --git a/meta/packages/opkg/opkg_svn.bb b/meta/packages/opkg/opkg_svn.bb
index 1dc4c48006..518c767354 100644
--- a/meta/packages/opkg/opkg_svn.bb
+++ b/meta/packages/opkg/opkg_svn.bb
@@ -17,7 +17,7 @@ SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;proto=http \
S = "${WORKDIR}/trunk"
PV = "0.0+svnr${SRCREV}"
-PR = "r14"
+PR = "r15"
PACKAGES =+ "libopkg-dev libopkg update-alternatives-cworth"