summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2008-06-22 00:48:47 -0400
committerRay Strode <rstrode@redhat.com>2008-06-22 00:48:47 -0400
commit47fc6b6e39f37472f05868fbfe79758e949e8030 (patch)
treee1f36cf73ac85a49a98476a22964fb4f73400989
parentb7f4399294fad3d70029526cd7334c50d8673214 (diff)
downloadplymouth-47fc6b6e39f37472f05868fbfe79758e949e8030.tar.gz
plymouth-47fc6b6e39f37472f05868fbfe79758e949e8030.tar.xz
plymouth-47fc6b6e39f37472f05868fbfe79758e949e8030.zip
hide /var/log behind a define
-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