All of lore.kernel.org
 help / color / mirror / Atom feed
* postinst questions (was postinst does not finish)
@ 2013-04-24 12:04 Andreas Müller
  2013-04-24 12:36 ` Martin Jansa
  2013-04-24 13:21 ` Paul Eggleton
  0 siblings, 2 replies; 5+ messages in thread
From: Andreas Müller @ 2013-04-24 12:04 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

Hi

as written before: an 'exit 1' within recipe's postinst causes
trouble. E.g meta-oe's lxdm does not run systemd.bbclass' code which
leaves lxdm in unprepared condition causing start too early and ending
in unfinished postinstall.

A simple workaround for this (we should think of something else later)
would be to prepend postinst code within systemd.bbclass (and maybe
others too) instead of appending. Hereby we ensure that the code is
executed independent of recipe's code. First question: Any objections?

In case of no objections: Second question: Is shebang in
post/pre/install/remove scripts (I saw many scripts without shebang)?

Andreas



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

end of thread, other threads:[~2013-04-24 14:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-24 12:04 postinst questions (was postinst does not finish) Andreas Müller
2013-04-24 12:36 ` Martin Jansa
2013-04-24 13:03   ` Andreas Müller
2013-04-24 13:21 ` Paul Eggleton
2013-04-24 14:01   ` Andreas Müller

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.