]> 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)
committerSteve Sakoman <steve@sakoman.com>
Thu, 30 Apr 2020 21:59:59 +0000 (11:59 -1000)
commitebf675abd0a077bc9aa71acf62b0477a84e1f536
treee2ff98012d70dbbaac100c11bb2ddb1a0c9d1f27
parenta2b1af47316a9f5c522db0c9feff1fbe0d39e022
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>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-extended/timezone/tzdata.bb