summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Bentele2021-10-12 09:03:03 +0200
committerManuel Bentele2021-10-12 13:12:56 +0200
commit025881581a07fc3b7a75317cf7e8919e458cdab4 (patch)
tree03c005c8eb5573d70c678608fddfad0a337769d7
parent[virt-manager] Add module to build virt-manager from source (diff)
downloadmltk-025881581a07fc3b7a75317cf7e8919e458cdab4.tar.gz
mltk-025881581a07fc3b7a75317cf7e8919e458cdab4.tar.xz
mltk-025881581a07fc3b7a75317cf7e8919e458cdab4.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