[oe] postinst jobs and "exit 1"

Martin Dietze di at fh-wedel.de
Thu Sep 14 13:02:33 UTC 2006


Hi,

 lots of packages start their postinst jobs like this:

| test -z "$D" || exit 1

When creating firmware images using recent OE recipes (nylon
distro and mtx-2 hardware), this seems to cause problems,
either bitbake complains about "exit 1" in the log file when
doing the rootfs or lots of postinst jobs are not run after
installing the image. 

Is the above test deprecated and should be replaced by
something not exit'ing at all? If yes, who is going to adapt
all the existing packages still doing this?

Cheers,

Martin

-- 
-------------- Martin Dietze --------------- / -- 4G Systeme GmbH Hamburg ---
-- martin at the-little-red-haired-girl.org -- / ---- dietze at 4g-systems.com ----
------------- / http://herbert.the-little-red-haired-girl.org / -------------
=+= 
Ed, the greatest WYGIWYG editor of all.




More information about the Openembedded-devel mailing list