From a276c4a67755aaaab6fbb825aa6e4d2d02ac0115 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Tue, 18 Sep 2012 18:44:36 +0100 Subject: Build gdk-pixbuf loaders cache before running lightdm This is a hack so that the baserock logo can be loaded --- lightdm.service | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lightdm.service b/lightdm.service index 9a8d5fbc..5aecd4ec 100644 --- a/lightdm.service +++ b/lightdm.service @@ -6,10 +6,14 @@ After=systemd-user-session.service Type=dbus BusName=org.freedesktop.DisplayManager +# A temporary workaround for not having system image post-hooks yet +ExecStartPre=/usr/bin/gdk-pixbuf-query-loaders --update-cache + # We should do this during the install, but currently the user only # exists in the target system and not the build environment due to # the staging fillers being primitive. ExecStartPre=/bin/mkdir -p /var/run/lightdm ExecStartPre=/bin/chown lightdm /var/run/lightdm + ExecStart=/usr/sbin/lightdm -- cgit v1.2.1