diff --git a/debian/changelog b/debian/changelog index 97bcc861..42f0b835 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ livecd-rootfs (24.04.15) UNRELEASED; urgency=medium * live-build/ubuntu/hooks/020-ubuntu-live.chroot_early: apply to any layer ending in .live so this can be reused across flavors + * live-build/ubuntu/hooks/020-ubuntu-live.chroot_early: check for + glib-compile-schemas presence before calling -- Steve Langasek Wed, 20 Dec 2023 19:45:34 -0800 diff --git a/live-build/ubuntu/hooks/020-ubuntu-live.chroot_early b/live-build/ubuntu/hooks/020-ubuntu-live.chroot_early index 33cf85e8..7bbe2691 100755 --- a/live-build/ubuntu/hooks/020-ubuntu-live.chroot_early +++ b/live-build/ubuntu/hooks/020-ubuntu-live.chroot_early @@ -14,4 +14,6 @@ cat < /etc/initramfs-tools/conf.d/default-layer.conf LAYERFS_PATH=${PASS}.squashfs EOF -glib-compile-schemas /usr/share/glib-2.0/schemas/ +if which glib-compile-schemas >/dev/null 2>&1; then + glib-compile-schemas /usr/share/glib-2.0/schemas/ +fi