mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 00:49:33 +02:00
opkg: finalize the change to var directory
commit 1d0757f16b 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>
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user