[oe-commits] Otavio Salvador : dpkg: rename postinst trigger script

git at git.openembedded.org git at git.openembedded.org
Tue Mar 13 11:48:20 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 69a4765d63ac6de3f1a6804cfca6b52c008e4c22
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=69a4765d63ac6de3f1a6804cfca6b52c008e4c22

Author: Otavio Salvador <otavio at ossystems.com.br>
Date:   Sat Mar  3 17:52:29 2012 +0000

dpkg: 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 at ossystems.com.br>

---

 meta/recipes-devtools/dpkg/dpkg.inc |    6 +++---
 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 () {





More information about the Openembedded-commits mailing list