summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Bentele2021-10-12 09:03:03 +0200
committerManuel Bentele2021-10-12 09:03:03 +0200
commit4d1f82a131b021d6245b4625f5174f7cebc7c135 (patch)
tree8b60a4fbc8df591906021578332dedd70b33e65e
parent[virt-manager] Add module to build virt-manager from source (diff)
downloadmltk-4d1f82a131b021d6245b4625f5174f7cebc7c135.tar.gz
mltk-4d1f82a131b021d6245b4625f5174f7cebc7c135.tar.xz
mltk-4d1f82a131b021d6245b4625f5174f7cebc7c135.zip
[setup_target] Compile Gsettings schemas in a target's post process
-rwxr-xr-xcore/bin/setup_target3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/bin/setup_target b/core/bin/setup_target
index 5fea1359..5ad316b4 100755
--- a/core/bin/setup_target
+++ b/core/bin/setup_target
@@ -637,6 +637,9 @@ post_process_target() {
[ -z "$MLTK_DEBUG" ] && rm -f -- "$RSYNC_EXCLUDE_LIST"
+ # compile Gsettings schema files
+ "${RSYNC_DEST}/usr/bin/glib-compile-schemas" "${RSYNC_DEST}/usr/share/glib-2.0/schemas/"
+
# finish by running ldconfig for the running system (when processing non-addons).
if [ ! -e "${TARGET_DIR}/.addon" ]; then
ldconfig -v