aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArsalan H. Awan <Arsalan_Awan@mentor.com>2019-03-19 20:49:12 +0500
committerArsalan H. Awan <Arsalan_Awan@mentor.com>2019-03-20 14:25:30 +0500
commitb7d19c1777943b6f8cebd61d86b8a548a2d5a4c3 (patch)
tree486559ae80833abe80d83b33535aa08069f69a38
parent99006d33f35f84e2349d1a84fdee89b645e48be2 (diff)
downloadmeta-amd-b7d19c1777943b6f8cebd61d86b8a548a2d5a4c3.tar.gz
meta-amd-b7d19c1777943b6f8cebd61d86b8a548a2d5a4c3.tar.bz2
meta-amd-b7d19c1777943b6f8cebd61d86b8a548a2d5a4c3.zip
common/swu/glib-networking: rm failing postinsts delayed til 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: ['glib-...'] 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 glib-networking, 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-core/glib-networking/glib-networking_%.bbappend1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/mentor-swupdate/recipes-core/glib-networking/glib-networking_%.bbappend b/common/mentor-swupdate/recipes-core/glib-networking/glib-networking_%.bbappend
new file mode 100644
index 00000000..c7a551c5
--- /dev/null
+++ b/common/mentor-swupdate/recipes-core/glib-networking/glib-networking_%.bbappend
@@ -0,0 +1 @@
+GIO_MODULE_PACKAGES=""