aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArsalan H. Awan <Arsalan_Awan@mentor.com>2019-04-09 17:51:23 +0500
committerArsalan H. Awan <Arsalan_Awan@mentor.com>2019-04-10 16:02:11 +0500
commit35394b6f8309aa1d90dc5a3c7196810cfc83e828 (patch)
treecf90facb2437c1b36a1c4b989b01a27330fedb10
parent3558e402afe515148774c55602597d2b4975e9df (diff)
downloadmeta-amd-35394b6f8309aa1d90dc5a3c7196810cfc83e828.tar.gz
meta-amd-35394b6f8309aa1d90dc5a3c7196810cfc83e828.tar.bz2
meta-amd-35394b6f8309aa1d90dc5a3c7196810cfc83e828.zip
common/swu/gconf: rm failing postinsts delayed till first boot
Package post-install intercept hooks that fail while do_rootfs and generate a warning similar to this: WARNING: development-image-1.0-r0 do_rootfs: The postinstall intercept hook 'update_gio_module_cache' failed ... are deferred for execution on first boot by marking the package as "unpacked" instead of "installed" in: oe-core/meta/lib/oe/package_manager.py |-> run_intercepts() |-> _postpone_to_first_boot() |-> _handle_intercept_failure() |-> .mark_packages("unpacked", registered_pkgs.split()) and the oe-core/meta/lib/oe/rootfs.py later on generates an ERROR as: ERROR: development-image-1.0-r0 do_rootfs: The following packages could not be configured offline and rootfs is read-only: ['gconf'] SWUpdate adds "read-only-rootfs" to the IMAGE_FEATURES, hence the delayed pkg_postinst_* routines cannot be executed on the first boot to configure the packages. In case of gconf which is a dependency for Qt5, we remove GIO_MODULE_PACKAGES so that update_gio_module_cache postinst-intercept never applies to this package. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
-rw-r--r--common/mentor-swupdate/recipes-gnome/gnome/gconf_%.bbappend1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/mentor-swupdate/recipes-gnome/gnome/gconf_%.bbappend b/common/mentor-swupdate/recipes-gnome/gnome/gconf_%.bbappend
new file mode 100644
index 00000000..c7a551c5
--- /dev/null
+++ b/common/mentor-swupdate/recipes-gnome/gnome/gconf_%.bbappend
@@ -0,0 +1 @@
+GIO_MODULE_PACKAGES=""