summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-core
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2017-07-27 12:51:25 -0500
committerAdriana Kobylak <anoo@us.ibm.com>2017-08-18 11:48:40 -0500
commita0dc87b2e45898974d59906957d69a0dbee88169 (patch)
tree4adf0e02af2932650ecfd67d3ef4de44165a7791 /meta-phosphor/common/recipes-core
parentcf5fec1d70e3b10950956a789789731fa656e31c (diff)
downloadtalos-openbmc-a0dc87b2e45898974d59906957d69a0dbee88169.tar.gz
talos-openbmc-a0dc87b2e45898974d59906957d69a0dbee88169.zip
glib: Remove GIO_MODULES postinstall hook
Currently building causes a warning about a postinstall hook that is unable to run, due to needing qemu, which causes the postinstall hook to be delayed until first boot. When moving to a read-only-rootfs, we cannot have delayed postinstall actions (otherwise bitbake fails). The glib package does not actually have any GIO modules that need the postinstall action executed for, so remove it entirely via bbappend. This is not appropriate to do upstream for the glib package because, depending on glib options, this may become required. We only use glib for the python dbus libraries, so we are unlikely to ever be affected by this. (Even if we are it just causes a small performance hit on process start-up due to a gio cache not being populated.) Change-Id: I217d4f21be3e2af20895b51267830f4fda376d2c Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'meta-phosphor/common/recipes-core')
-rw-r--r--meta-phosphor/common/recipes-core/glib-2.0/glib-2.0%.bbappend4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-core/glib-2.0/glib-2.0%.bbappend b/meta-phosphor/common/recipes-core/glib-2.0/glib-2.0%.bbappend
new file mode 100644
index 000000000..f003a6b43
--- /dev/null
+++ b/meta-phosphor/common/recipes-core/glib-2.0/glib-2.0%.bbappend
@@ -0,0 +1,4 @@
+## We do not currently use any gio-modules, set clear this variable to prevent
+## the postinstall hook from being done. The postinstall hook prevents
+## the read-only-rootfs IMAGE_FEATURE.
+GIO_MODULE_PACKAGES = ""
OpenPOWER on IntegriCloud