All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] classes/update-rc.d.bbclass: move update-rc after postinst
@ 2010-09-22 13:18 Eric Bénard
  2010-09-22 13:18 ` [PATCH 2/2] nostromo: add new recipe for this web server Eric Bénard
  2010-09-28 16:09 ` [PATCH 1/2] classes/update-rc.d.bbclass: move update-rc after postinst Martin Jansa
  0 siblings, 2 replies; 4+ messages in thread
From: Eric Bénard @ 2010-09-22 13:18 UTC (permalink / raw)
  To: openembedded-devel

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@eukrea.com>
---
 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:
-- 
1.6.3.3




^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-09-29  6:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-22 13:18 [PATCH 1/2] classes/update-rc.d.bbclass: move update-rc after postinst Eric Bénard
2010-09-22 13:18 ` [PATCH 2/2] nostromo: add new recipe for this web server Eric Bénard
2010-09-28 16:09 ` [PATCH 1/2] classes/update-rc.d.bbclass: move update-rc after postinst Martin Jansa
2010-09-29  6:58   ` Steffen Sledz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.