]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
Put time file in /var/lib/plymouth/boot-time
authorRay Strode <rstrode@redhat.com>
Wed, 24 Sep 2008 15:18:48 +0000 (11:18 -0400)
committerRay Strode <rstrode@redhat.com>
Mon, 29 Sep 2008 03:40:25 +0000 (23:40 -0400)
It's pretty plymouth specific after all.

src/plugins/splash/spinfinity/Makefile.am
src/plugins/splash/spinfinity/plugin.c

index 195ca3e57e4f1819da75e5a9218288c716442cc0..4b3ca55078a23a24c0ba83386f93f9fc205ea573 100644 (file)
@@ -11,6 +11,7 @@ plugin_LTLIBRARIES = spinfinity.la
 
 spinfinity_la_CFLAGS = $(PLYMOUTH_CFLAGS)                                    \
                        -DPLYMOUTH_IMAGE_DIR=\"$(datadir)/plymouth/\"         \
+                       -DPLYMOUTH_TIME_DIR=\"$(localstatedir)/lib/plymouth/\"\
                        -DPLYMOUTH_LOGO_FILE=\"$(logofile)\"                  \
                        -DPLYMOUTH_BACKGROUND_COLOR=$(background_color)       \
                        -DPLYMOUTH_BACKGROUND_END_COLOR=$(background_end_color)   \
index c83355ba1fd10559102941eddcdca51a36811e5d..bef2639e506aed9a18fb7d83438568b7fdb55840 100644 (file)
@@ -69,7 +69,7 @@
 #define DEFAULT_BOOTTIME 45.0
 #endif
 
-#define BOOTTIME_FILE "/var/lib/boottime"
+#define BOOTTIME_FILE PLYMOUTH_TIME_DIR "/boot-time"
 
 struct _ply_boot_splash_plugin
 {