diff options
author | Kevin Tian <kevin.tian@intel.com> | 2010-08-26 12:39:07 +0800 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2010-08-26 08:54:55 +0100 |
commit | 8ea7fa6d4c7734da6034d44f8b6d78d2993f1949 (patch) | |
tree | d0be459748627b653337548837be820c529a8117 /meta/packages | |
parent | d46c362a46f26b38d8da30f6a83e7c0fdadda348 (diff) | |
download | poky-8ea7fa6d4c7734da6034d44f8b6d78d2993f1949.tar.gz |
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.inc | 6 | ||||
-rw-r--r-- | meta/packages/opkg/opkg_0.1.8.bb | 2 | ||||
-rw-r--r-- | meta/packages/opkg/opkg_svn.bb | 2 |
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() { | |||
22 | 22 | ||
23 | inherit autotools pkgconfig | 23 | inherit autotools pkgconfig |
24 | 24 | ||
25 | target_libdir := "${libdir}" | 25 | target_localstatedir := "${localstatedir}" |
26 | EXTRA_OECONF = "--with-opkglibdir=${localstatedir}/lib" | 26 | EXTRA_OECONF = "--with-opkglibdir=${localstatedir}/lib" |
27 | EXTRA_OECONF_virtclass-native = "--with-opkglibdir=${target_libdir} --disable-gpg --disable-curl --disable-openssl" | 27 | EXTRA_OECONF_virtclass-native = "--with-opkglibdir=${target_localstatedir}/lib --disable-gpg --disable-curl --disable-openssl" |
28 | EXTRA_OECONF_virtclass-nativesdk = "--with-opkglibdir=${target_libdir} --disable-gpg --disable-curl --disable-openssl" | 28 | EXTRA_OECONF_virtclass-nativesdk = "--with-opkglibdir=${target_localstatedir}/lib --disable-gpg --disable-curl --disable-openssl" |
29 | 29 | ||
30 | #PROVIDES_append_virtclass-native = "virtual/update-alternatives-native" | 30 | #PROVIDES_append_virtclass-native = "virtual/update-alternatives-native" |
31 | #RPROVIDES_${PN} += "update-alternatives-native" | 31 | #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 \ | |||
13 | file://headerfix.patch \ | 13 | file://headerfix.patch \ |
14 | " | 14 | " |
15 | 15 | ||
16 | PR = "r2" | 16 | PR = "r3" |
17 | 17 | ||
18 | PACKAGES =+ "libopkg-dev libopkg update-alternatives-cworth" | 18 | PACKAGES =+ "libopkg-dev libopkg update-alternatives-cworth" |
19 | 19 | ||
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 \ | |||
17 | S = "${WORKDIR}/trunk" | 17 | S = "${WORKDIR}/trunk" |
18 | 18 | ||
19 | PV = "0.0+svnr${SRCREV}" | 19 | PV = "0.0+svnr${SRCREV}" |
20 | PR = "r14" | 20 | PR = "r15" |
21 | 21 | ||
22 | PACKAGES =+ "libopkg-dev libopkg update-alternatives-cworth" | 22 | PACKAGES =+ "libopkg-dev libopkg update-alternatives-cworth" |
23 | 23 | ||