diff options
author | Simon Rettberg | 2023-02-01 15:21:11 +0100 |
---|---|---|
committer | Simon Rettberg | 2023-02-01 15:21:55 +0100 |
commit | 2bd9b94b2c2be4b960f3c62b0b7082086347d7e7 (patch) | |
tree | 0ecc6907d998952dfa44f83531a550a158861d51 /core/bin | |
parent | [virt-viewer] Bump version to 11.0 (diff) | |
download | mltk-2bd9b94b2c2be4b960f3c62b0b7082086347d7e7.tar.gz mltk-2bd9b94b2c2be4b960f3c62b0b7082086347d7e7.tar.xz mltk-2bd9b94b2c2be4b960f3c62b0b7082086347d7e7.zip |
post_process_target: run glib-compile-schemas
Diffstat (limited to 'core/bin')
-rwxr-xr-x | core/bin/setup_target | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/core/bin/setup_target b/core/bin/setup_target index c90936b8..5d67109d 100755 --- a/core/bin/setup_target +++ b/core/bin/setup_target @@ -600,6 +600,7 @@ process_module() { post_process_target() { local TOOL_STR="$TOOL_STR post_process_target:" + local i if [ -z "$MLTK_INSTALL" ]; then # traditional minilinux approach @@ -609,7 +610,12 @@ post_process_target() { ldconfig -v -r "${TARGET_BUILD_DIR}" # run depmod to generate the final modules.* files + pinfo "Running depmod for '${TARGET_KERNEL_LONG}'" depmod -b "${TARGET_BUILD_DIR}" -a "${TARGET_KERNEL_LONG}" + pinfo "Running glib-compile-schemas" + for i in /usr/local/share/glib-2.0/schemas/ /usr/share/glib-2.0/schemas/; do + glib-compile-schemas "${TARGET_BUILD_DIR}/$i" + done return 0 fi @@ -659,8 +665,14 @@ post_process_target() { # finish by running ldconfig for the running system (when processing non-addons). if [ ! -e "${TARGET_DIR}/.addon" ]; then + pinfo "Running ldconfig" ldconfig -v + pinfo "Running depmod for '${TARGET_KERNEL_LONG}'" depmod -a "${TARGET_KERNEL_LONG}" + pinfo "Running glib-compile-schemas" + for i in /usr/local/share/glib-2.0/schemas/ /usr/share/glib-2.0/schemas/; do + glib-compile-schemas "$i" + done fi } |