summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-12-19 09:23:21 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-12-19 09:23:21 +0000
commit746ae269a475857ae57095b1fd164fe195b3d051 (patch)
treec7cadb7e08a4969592e3035cab9e9aaa4a677424
parent5a2b67b8faad3dd5417ba89d8e82ca564753ccc9 (diff)
downloadopenembedded-core-746ae269a475857ae57095b1fd164fe195b3d051.tar.gz
openembedded-core-746ae269a475857ae57095b1fd164fe195b3d051.tar.bz2
openembedded-core-746ae269a475857ae57095b1fd164fe195b3d051.tar.xz
openembedded-core-746ae269a475857ae57095b1fd164fe195b3d051.zip
opkg: Drop the offlineroot_varname patch
This break things for on target opkg usage since $D must remain unset there. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/opkg/opkg/offlineroot_varname.patch20
-rw-r--r--meta/recipes-devtools/opkg/opkg_svn.bb3
2 files changed, 1 insertions, 22 deletions
diff --git a/meta/recipes-devtools/opkg/opkg/offlineroot_varname.patch b/meta/recipes-devtools/opkg/opkg/offlineroot_varname.patch
deleted file mode 100644
index a67f389ba..000000000
--- a/meta/recipes-devtools/opkg/opkg/offlineroot_varname.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-OE uses D as the offline install directory in its scripts, not PKG_ROOT.
-
-Upstream-Status: Inappropriate [OE specific usage]
-
-RP 2011/12/15
-
-Index: trunk/libopkg/pkg.c
-===================================================================
---- trunk.orig/libopkg/pkg.c 2011-12-15 15:58:39.000000000 +0000
-+++ trunk/libopkg/pkg.c 2011-12-15 20:04:50.109992736 +0000
-@@ -1280,7 +1280,7 @@
-
- opkg_msg(INFO, "Running script %s.\n", path);
-
-- setenv("PKG_ROOT",
-+ setenv("D",
- pkg->dest ? pkg->dest->root_dir : conf->default_dest->root_dir, 1);
-
- if (! file_exists(path)) {
-
diff --git a/meta/recipes-devtools/opkg/opkg_svn.bb b/meta/recipes-devtools/opkg/opkg_svn.bb
index dbdfc7e82..00591d168 100644
--- a/meta/recipes-devtools/opkg/opkg_svn.bb
+++ b/meta/recipes-devtools/opkg/opkg_svn.bb
@@ -14,7 +14,6 @@ SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;proto=http \
file://add_uname_support.patch \
file://fix_installorder.patch \
file://offline_postinstall.patch\
- file://offlineroot_varname.patch \
file://track_parents.patch \
"
@@ -22,7 +21,7 @@ S = "${WORKDIR}/trunk"
SRCREV = "633"
PV = "0.1.8+svnr${SRCPV}"
-PR = "r3"
+PR = "r4"
PACKAGES =+ "libopkg${PKGSUFFIX}-dev libopkg${PKGSUFFIX} update-alternatives-cworth${PKGSUFFIX}"