diff options
-rw-r--r-- | src/Makefile.am | 1 | ||||
-rw-r--r-- | src/main.c | 2 |
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 @@ -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 |