mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 12:32:15 +02:00
fontcache.bbclass: do not exit with 1 after installing intercept hook
This will allow to register, in a single postinstall, multiple hooks. (From OE-Core master rev: 9553874cf02ba443aff1bbead56bacfcda9bb6ca) (From OE-Core rev: 3ef3b5be29925d8b6579c5bd57e58ce1bced35d8) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
006ed65f51
commit
4f47f899dd
@@ -8,19 +8,13 @@ inherit qemu
|
||||
|
||||
FONT_PACKAGES ??= "${PN}"
|
||||
|
||||
#
|
||||
# On host, the postinstall MUST return 1 because we do not know if the intercept
|
||||
# hook will succeed. If it does succeed, than the packages will be marked as
|
||||
# installed.
|
||||
#
|
||||
fontcache_common() {
|
||||
if [ "x$D" != "x" ] ; then
|
||||
$INTERCEPT_DIR/postinst_intercept update_font_cache ${PKG} bindir=${bindir} \
|
||||
libdir=${libdir} base_libdir=${base_libdir}
|
||||
exit 1
|
||||
else
|
||||
fc-cache
|
||||
fi
|
||||
|
||||
fc-cache
|
||||
}
|
||||
|
||||
python populate_packages_append() {
|
||||
|
||||
Reference in New Issue
Block a user