summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/dpkg/dpkg.inc
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2012-03-03 17:52:29 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-13 11:45:09 +0000
commit96e88c5a0646bc7c09ee6baacd6a2512ea70ebc6 (patch)
treeae54785c3479407396ede73d6b167d9536c65a4a /meta/recipes-devtools/dpkg/dpkg.inc
parent792d79f157116f86866daf67341347525cd712fb (diff)
downloadast2050-yocto-poky-96e88c5a0646bc7c09ee6baacd6a2512ea70ebc6.zip
ast2050-yocto-poky-96e88c5a0646bc7c09ee6baacd6a2512ea70ebc6.tar.gz
dpkg: rename postinst trigger script
Use 'run-postinsts' as trigger script name as it describes better the intent of it. (From OE-Core rev: 69a4765d63ac6de3f1a6804cfca6b52c008e4c22) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/dpkg/dpkg.inc')
-rw-r--r--meta/recipes-devtools/dpkg/dpkg.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc
index 69fd50a..09bfbbc 100644
--- a/meta/recipes-devtools/dpkg/dpkg.inc
+++ b/meta/recipes-devtools/dpkg/dpkg.inc
@@ -42,9 +42,9 @@ do_install_prepend () {
# this happens at S98 where our good 'ole packages script used to run
printf "#!/bin/sh
dpkg --configure -a
-rm -f ${sysconfdir}/rcS.d/S${DPKG_INIT_POSITION}configure
-" > ${D}/${sysconfdir}/rcS.d/S${DPKG_INIT_POSITION}configure
- chmod 0755 ${D}/${sysconfdir}/rcS.d/S${DPKG_INIT_POSITION}configure
+rm -f ${sysconfdir}/rcS.d/S${DPKG_INIT_POSITION}run-postinsts
+" > ${D}/${sysconfdir}/rcS.d/S${DPKG_INIT_POSITION}run-postinsts
+ chmod 0755 ${D}/${sysconfdir}/rcS.d/S${DPKG_INIT_POSITION}run-postinsts
}
do_install_append () {
OpenPOWER on IntegriCloud