Signed-off-by: Eric Bélanger <[email protected]>
---
 Makefile |    3 ++-
 bootlog  |    9 +++++++++
 2 files changed, 11 insertions(+), 1 deletions(-)
 create mode 100644 bootlog

diff --git a/Makefile b/Makefile
index fcabb0e..0111cbe 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 VER  := $(shell git describe)
-DIRS := /etc/rc.d /etc/conf.d /etc/rc.d/functions.d /etc/cron.hourly /sbin 
/etc/bash_completion.d /usr/share/zsh/site-functions
+DIRS := /etc/rc.d /etc/conf.d /etc/rc.d/functions.d /etc/cron.hourly 
/etc/logrotate.d /sbin /etc/bash_completion.d /usr/share/zsh/site-functions
 
 minilogd: minilogd.o
 
@@ -10,6 +10,7 @@ install: minilogd installdirs
        install -m644 -t $(DESTDIR)/etc inittab rc.conf
        install -m755 -t $(DESTDIR)/etc rc.local rc.local.shutdown rc.multi 
rc.shutdown rc.single rc.sysinit
        install -m755 -t $(DESTDIR)/etc/cron.hourly adjtime
+       install -m644 -t $(DESTDIR)/etc/logrotate.d bootlog
        install -m644 -t $(DESTDIR)/etc/rc.d functions
        install -m755 -t $(DESTDIR)/etc/rc.d hwclock network netfs
        install -m755 -t $(DESTDIR)/sbin minilogd rc.d
diff --git a/bootlog b/bootlog
new file mode 100644
index 0000000..b97af0b
--- /dev/null
+++ b/bootlog
@@ -0,0 +1,9 @@
+/var/log/boot {
+    compress
+    rotate 1
+    size=+1024k
+    notifempty
+    missingok
+    copytruncate
+    noolddir
+}
-- 
1.7.5.4

Reply via email to