From 298d6595f1c429a3d6d493072e9c830dd94f2784 Mon Sep 17 00:00:00 2001 From: Michal Date: Sat, 30 Jul 2022 14:39:13 +0100 Subject: [PATCH] Moved GSchema Compilation to chrooted.sh --- chrooted.sh | 4 +++- .../etc/systemd/system/crystal-gschema.service | 14 -------------- 2 files changed, 3 insertions(+), 15 deletions(-) delete mode 100644 crystal/airootfs/etc/systemd/system/crystal-gschema.service diff --git a/chrooted.sh b/chrooted.sh index 394bfd9..90abd19 100755 --- a/chrooted.sh +++ b/chrooted.sh @@ -1,6 +1,9 @@ #!/usr/bin/env bash echo "Chrooted in the new system, running as $(whoami)" +# Compile GSchemas +glib-compile-schemas /usr/share/glib-2.0/schemas + # User setup useradd -mG wheel crystal usermod -p $(echo "crystal" | openssl passwd -6 -stdin) crystal @@ -19,7 +22,6 @@ chown -R crystal:crystal /home/crystal/ systemctl enable NetworkManager systemctl enable reflector systemctl enable gdm -systemctl enable crystal-gschema # Hostname and Locale echo "crystal-live" > /etc/hostname diff --git a/crystal/airootfs/etc/systemd/system/crystal-gschema.service b/crystal/airootfs/etc/systemd/system/crystal-gschema.service deleted file mode 100644 index e5d9bd8..0000000 --- a/crystal/airootfs/etc/systemd/system/crystal-gschema.service +++ /dev/null @@ -1,14 +0,0 @@ -# -# SPDX-License-Identifier: GPL-3.0-or-later - -[Unit] -Description=Builds Crystal ISO GSchemas -Before=gdm.service - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas - -[Install] -WantedBy=graphical.target