opkg_svn.bb: Install rcS.d into $D instead of $IMAGE_ROOTFS

Remove headerfix.patch, its already applied upstream

(From OE-Core rev: a0edaaa805fa2576092ca9d1248d8cef7b27d827)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj 2011-05-19 16:45:03 -07:00 committed by Richard Purdie
parent 5148a490fd
commit 806698aa08
2 changed files with 1 additions and 21 deletions

View File

@ -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
{

View 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