]> code.ossystems Code Review - openembedded-core.git/commitdiff
opkg_svn.bb: Install rcS.d into $D instead of $IMAGE_ROOTFS
authorKhem Raj <raj.khem@gmail.com>
Thu, 19 May 2011 23:45:03 +0000 (16:45 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 May 2011 14:33:25 +0000 (15:33 +0100)
Remove headerfix.patch, its already applied upstream

Signed-off-by: Khem Raj <raj.khem@gmail.com>
meta/recipes-devtools/opkg/opkg/headerfix.patch [deleted file]
meta/recipes-devtools/opkg/opkg_svn.bb

diff --git a/meta/recipes-devtools/opkg/opkg/headerfix.patch b/meta/recipes-devtools/opkg/opkg/headerfix.patch
deleted file mode 100644 (file)
index b3515a0..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-Without this, the FILE reference in this header can cause compile issues.
-
-RP - 29/1/10
-
-Upstream-Status: Pending
-
-Index: trunk/libopkg/pkg_dest.h
-===================================================================
---- trunk.orig/libopkg/pkg_dest.h      2010-01-29 09:37:22.000000000 +0000
-+++ trunk/libopkg/pkg_dest.h   2010-01-29 09:37:33.000000000 +0000
-@@ -18,6 +18,8 @@
- #ifndef PKG_DEST_H
- #define PKG_DEST_H
-+#include <stdio.h>
-+
- typedef struct pkg_dest pkg_dest_t;
- struct pkg_dest
- {
index 5964a474f14e6d5cfc6c533d091f42742d3b6a74..5f07c17232501e02aba06b1ec1e29a281eca8053 100644 (file)
@@ -11,7 +11,6 @@ RREPLACES_${PN} = "opkg-nogpg"
 
 SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;proto=http \
            file://add_vercmp.patch \
-           file://headerfix.patch \
 "
 
 S = "${WORKDIR}/trunk"
@@ -34,7 +33,7 @@ do_install_append() {
 pkg_postinst_${PN} () {
 #!/bin/sh
 if [ "x$D" != "x" ]; then
-       install -d ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d
+       install -d $D${sysconfdir}/rcS.d
        # this happens at S98 where our good 'ole packages script used to run
        echo "#!/bin/sh
 opkg-cl configure