[oe-commits] Eric Bénard : classes/update-rc.d.bbclass: move update-rc after postinst
git version control
git at git.openembedded.org
Fri Sep 24 13:17:08 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 410035824b7b562e53be9d8c0933482f69b0380f
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=410035824b7b562e53be9d8c0933482f69b0380f
Author: Eric Bénard <eric at eukrea.com>
Date: Wed Sep 22 14:27:16 2010 +0200
classes/update-rc.d.bbclass: move update-rc after postinst
without this, launching a daemon can fail if postinst is supposed, for
example, to fix permissions of directories used by the daemon.
Signed-off-by: Eric Bénard <eric at eukrea.com>
Acked-by: Marcin Juszkiewicz <hrw at openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>
Acked-by: Henning Heinold <heinold at inf.fu-berlin.de>
---
classes/update-rc.d.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/classes/update-rc.d.bbclass b/classes/update-rc.d.bbclass
index 4594d0f..b0314ab 100644
--- a/classes/update-rc.d.bbclass
+++ b/classes/update-rc.d.bbclass
@@ -60,11 +60,11 @@ python populate_packages_prepend () {
bb.data.update_data(localdata)
postinst = '#!/bin/sh\n'
- postinst += bb.data.getVar('updatercd_postinst', localdata, 1)
try:
postinst += bb.data.getVar('pkg_postinst', localdata, 1)
except:
pass
+ postinst += bb.data.getVar('updatercd_postinst', localdata, 1)
bb.data.setVar('pkg_postinst_%s' % pkg, postinst, d)
prerm = bb.data.getVar('pkg_prerm', localdata, 1)
if not prerm:
More information about the Openembedded-commits
mailing list