]> code.ossystems Code Review - openembedded-core.git/commitdiff
opkg: Drop the offlineroot_varname patch
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 19 Dec 2011 09:23:21 +0000 (09:23 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 19 Dec 2011 09:23:21 +0000 (09:23 +0000)
This break things for on target opkg usage since $D must remain
unset there.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/opkg/opkg/offlineroot_varname.patch [deleted file]
meta/recipes-devtools/opkg/opkg_svn.bb

diff --git a/meta/recipes-devtools/opkg/opkg/offlineroot_varname.patch b/meta/recipes-devtools/opkg/opkg/offlineroot_varname.patch
deleted file mode 100644 (file)
index a67f389..0000000
+++ /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)) {
-
index dbdfc7e82bd86eb838ac9bda170137f48f354670..00591d168f250cb89bab948924fea53bd820d5b3 100644 (file)
@@ -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}"