All of lore.kernel.org
 help / color / mirror / Atom feed
* what means the test 'if [ -z "$D" ]' in a pkg_postinst routine?
@ 2021-08-25 20:35 Robert P. J. Day
  2021-08-25 20:56 ` [OE-core] " Alexander Kanavin
  0 siblings, 1 reply; 11+ messages in thread
From: Robert P. J. Day @ 2021-08-25 20:35 UTC (permalink / raw)
  To: openembedded-core


there will be many more questions about pkg_postinst (and related)
routines shortly, but digging into these for the first time, i
thought that that test checked whether the routine was being run
at image creation time, or at first-time boot. now i'm not quite
sure what to think after seeing several examples.

what does the test for null or non-null variable "D" mean in
a pkg_postinst routine? and once i figure all this out, i may
very well contribute some enhanced docs for the next confused
person.

rday


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

end of thread, other threads:[~2021-08-26 11:51 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-25 20:35 what means the test 'if [ -z "$D" ]' in a pkg_postinst routine? Robert P. J. Day
2021-08-25 20:56 ` [OE-core] " Alexander Kanavin
2021-08-25 21:12   ` Robert P. J. Day
2021-08-25 21:18     ` Phil Blundell
2021-08-25 21:27       ` Robert P. J. Day
2021-08-25 21:40         ` Alexander Kanavin
2021-08-25 21:51       ` Robert P. J. Day
2021-08-25 22:02         ` Alexander Kanavin
2021-08-26  8:41           ` Robert P. J. Day
2021-08-26  9:23           ` Robert P. J. Day
2021-08-26 11:51             ` Alexander Kanavin

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.