summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Makefile.am1
-rw-r--r--src/main.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 8a0ffbf..8b6ca5b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -3,6 +3,7 @@ INCLUDES = -I$(top_srcdir) \
-I$(srcdir)/libply \
-I$(srcdir)/libplybootsplash \
-I$(srcdir) \
+ -DPLYMOUTH_LOG_DIRECTORY=\"$(localstatedir)/log\" \
-DPLYMOUTH_LOGO_FILE=\"$(logofile)\"
plymouthdbindir = $(libexecdir)/plymouth
diff --git a/src/main.c b/src/main.c
index b534129..f554ce0 100644
--- a/src/main.c
+++ b/src/main.c
@@ -120,7 +120,7 @@ on_system_initialized (state_t *state)
{
ply_trace ("system now initialized, opening boot.log");
ply_terminal_session_open_log (state->session,
- "/var/log/boot.log");
+ PLYMOUTH_LOG_DIRECTORY "/boot.log");
}
static void