]> code.ossystems Code Review - openembedded-core.git/commitdiff
dpkg: rename postinst trigger script
authorOtavio Salvador <otavio@ossystems.com.br>
Sat, 3 Mar 2012 17:52:29 +0000 (17:52 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 13 Mar 2012 11:44:45 +0000 (11:44 +0000)
Use 'run-postinsts' as trigger script name as it describes better the
intent of it.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta/recipes-devtools/dpkg/dpkg.inc

index 69fd50a06aeb16b48f7aab98ef95e84370bfd7d9..09bfbbcd09f247d86c5a40d6ee94fdaf05794925 100644 (file)
@@ -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 () {