summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-06-19 13:05:28 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-06-19 13:05:28 +0000
commit27ca3c3e3d19a4f1c78592fea746be606625c834 (patch)
treee832c65744bed773a856b589d91f49b3163728e8
parentba3f99d75024836fa95687397ba714f344d6d79f (diff)
downloadopenembedded-core-27ca3c3e3d19a4f1c78592fea746be606625c834.tar.gz
openembedded-core-27ca3c3e3d19a4f1c78592fea746be606625c834.tar.bz2
openembedded-core-27ca3c3e3d19a4f1c78592fea746be606625c834.zip
opkg: S98configure script is needed only on first boot
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4705 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/packages/opkg/opkg_svn.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/packages/opkg/opkg_svn.bb b/meta/packages/opkg/opkg_svn.bb
index 0fbe4f719d..054ce9744e 100644
--- a/meta/packages/opkg/opkg_svn.bb
+++ b/meta/packages/opkg/opkg_svn.bb
@@ -6,7 +6,7 @@ RCONFLICTS_update-alternatives-cworth = "update-alternatives-dpkg"
RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives}"
PACKAGE_ARCH_update-alternatives-cworth = "all"
-PR = "r4"
+PR = "r5"
PACKAGES =+ "libopkg-dev libopkg update-alternatives-cworth"
@@ -26,6 +26,7 @@ if [ "x$D" != "x" ]; then
# this happens at S98 where our good 'ole packages script used to run
echo "#!/bin/sh
opkg-cl configure
+rm -f /${sysconfdir}/rcS.d/S${OPKG_INIT_POSITION}configure
" > ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S${OPKG_INIT_POSITION}configure
chmod 0755 ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S${OPKG_INIT_POSITION}configure
fi