]> code.ossystems Code Review - openembedded-core.git/commit
gtk-immodules-cache.bbclass: convert cache creation to postinst_intercept mechanism
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>
Mon, 11 Jun 2018 13:38:17 +0000 (16:38 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Jun 2018 09:59:33 +0000 (10:59 +0100)
commitcca3c084b6c9bf600d7306e3fe12c4f236b78656
treef0b4247dd5a393efa04c2602bd8ea735cfa8aed9
parent3c368282741e9de1f96988e127b86a6a01b6a26f
gtk-immodules-cache.bbclass: convert cache creation to postinst_intercept mechanism

This has the following benefits:
- consistent with how the other caches are created into target rootfs
- only runs once per package manager transaction, instead of once per every immodule package
- correctly postpones to first boot if qemu is not working; from postinst itself
this would've required special arrangements to avoid what is now a do_rootfs failure.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/gtk-immodules-cache.bbclass
scripts/postinst-intercepts/update_gtk_immodules_cache [new file with mode: 0644]