summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2012-03-03 17:34:36 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-13 11:44:45 +0000
commit9a0a106f64a913de593877bf47f79cb29ab87716 (patch)
tree407898cfe67ec97b59e400510f125c22930d303f /meta/recipes-devtools
parent6bc50e531a15728be019af7bec5bce704fb72f8f (diff)
downloadopenembedded-core-9a0a106f64a913de593877bf47f79cb29ab87716.tar.gz
openembedded-core-9a0a106f64a913de593877bf47f79cb29ab87716.tar.bz2
openembedded-core-9a0a106f64a913de593877bf47f79cb29ab87716.zip
opkg: rename postinst trigger script
Use 'run-postinsts' as trigger script name as it describes better the intent of it. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/opkg/opkg.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-devtools/opkg/opkg.inc b/meta/recipes-devtools/opkg/opkg.inc
index a67066fe6e..689bd4ad10 100644
--- a/meta/recipes-devtools/opkg/opkg.inc
+++ b/meta/recipes-devtools/opkg/opkg.inc
@@ -11,7 +11,7 @@ DEPENDS_virtclass-native = "curl-native"
DEPENDS_virtclass-nativesdk = "curl-nativesdk"
PE = "1"
-INC_PR = "r7"
+INC_PR = "r8"
FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/opkg"
@@ -60,9 +60,9 @@ 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${POSTINSTALL_INITPOSITION}configure
-" > $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
- chmod 0755 $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
+rm -f /${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts
+" > $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts
+ chmod 0755 $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts
fi
update-alternatives --install ${bindir}/opkg opkg ${bindir}/opkg-cl 100