aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/obsolete/python
diff options
context:
space:
mode:
authorRoman Khimov <khimov@altell.ru>2010-04-09 01:19:53 +0000
committerRoman I Khimov <khimov@altell.ru>2010-04-12 11:03:12 +0400
commitf62adac0eb3d847cf56b84ed3d695045eea85e6a (patch)
treeb44fa6ff033712c4cfb66b7e2b7076bcb167da74 /recipes/obsolete/python
parent85662dcec58a95d804d235169fc9d98ea00f00f6 (diff)
downloadopenembedded-f62adac0eb3d847cf56b84ed3d695045eea85e6a.tar.gz
rootfs_ipk.bbclass: run preinst/postinst scripts with "-e"
There are scripts that can and should work when being ran on build host (for example, simple update-rc.d), but there are also many which can't and won't ever (for example, anything adding users/groups). The second group sometimes doesn't get "unpacked" flag because scripts throw errors in the middle and return something nice from the last command. It can be considered as a bug in pre/postinst script (as it should either explicitly check for "${D}" or just do "set -e" at start), but it is common enough. There is also another aspect to this as in general we can't be sure that everything is OK wrt preinst/postinst if script commands throw errors. Running preinst/postinst scripts on host with "-e" should solve that. Signed-off-by: Roman I Khimov <khimov@altell.ru> Acked-by: Chris Larson <clarson@kergoth.com>
Diffstat (limited to 'recipes/obsolete/python')
0 files changed, 0 insertions, 0 deletions