]> code.ossystems Code Review - openembedded-core.git/commit
tzdata: remove exit 0 from pkg_postinst
authorMaxime Roussin-B?langer <maxime.roussinbelanger@gmail.com>
Wed, 15 Apr 2020 16:24:46 +0000 (12:24 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 24 Apr 2020 12:57:01 +0000 (13:57 +0100)
commit338a67951c375d907b36b87d4115ee5489df722e
tree0606f63041ade08f7a5f0ea15a6914a4ff3cc8f0
parent406e7a085b0650bdba9f19633dadb7e6ff0149e5
tzdata: remove exit 0 from pkg_postinst

Documentation says that if you exit 0 in a pkg_postinst it will marked as
installed.
If you exit 0, before running postinst-intercepts defer_to_first_boot, the
pkg_postinst_ontarget script will not be present on target.

The "exit 0" in tzdata makes it difficult to have a bbappend with a
pkg_postinst_target step when you have `INSTALL_TIMEZONE_FILE = 0`

Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/timezone/tzdata.bb