]> code.ossystems Code Review - openembedded-core.git/commitdiff
opkg: S98configure script is needed only on first boot
authorMarcin Juszkiewicz <hrw@openedhand.com>
Thu, 19 Jun 2008 13:05:28 +0000 (13:05 +0000)
committerMarcin Juszkiewicz <hrw@openedhand.com>
Thu, 19 Jun 2008 13:05:28 +0000 (13:05 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4705 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/opkg/opkg_svn.bb

index 0fbe4f719d5c5381c6419d3974edb1376f6ffb56..054ce9744ef92d2667ad52a162ae50e5137a708a 100644 (file)
@@ -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