summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2012-09-18 18:44:36 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2012-09-18 18:44:36 +0100
commita276c4a67755aaaab6fbb825aa6e4d2d02ac0115 (patch)
tree835a250b847dfc807d672dd516af82bbff9fe4da
parent258be0e21e890d629f2d1d74bef6a8758a25d9aa (diff)
downloadlightdm-a276c4a67755aaaab6fbb825aa6e4d2d02ac0115.tar.gz
Build gdk-pixbuf loaders cache before running lightdmbaserock/morph
This is a hack so that the baserock logo can be loaded
-rw-r--r--lightdm.service4
1 files changed, 4 insertions, 0 deletions
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