[patch] generalize rootskel (syslog)
This patch generalizes rootskel code splitting Linux specific stuff.
As you can read at [0], in the unreleased 1.80 version of rootskel
there is already an entry
* Generalize code splitting Linux specific stuff.
so I think that, if this code is merged before 1.80 release, there
should be no changelog entry.
Please tell me if I should add a changelog entry.
I tested this on kfreebsd-i386 (alt-f4 let me read syslog).
It should introduce no regressions on GNU/Linux, but I didn't test it on it.
Please note that this patch is not GNU/kFreeBSD specific.
Cheers,
Luca Favatella
[0] http://svn.debian.org/viewsvn/d-i/trunk/packages/rootskel/debian/changelog?revision=59505&view=markup
Index: src/lib/debian-installer-startup.d/S10syslog
===================================================================
--- src/lib/debian-installer-startup.d/S10syslog (.../trunk/packages/rootskel) (revision 59506)
+++ src/lib/debian-installer-startup.d/S10syslog (.../branches/d-i/kfreebsd/packages/rootskel) (revision 59514)
@@ -1,6 +0,0 @@
-echo -n "Starting system log daemon: "
-modprobe -q unix 2> /dev/null || true
-/sbin/syslogd -m 0 -O /var/log/syslog -S
-echo -n "syslogd, "
-/sbin/klogd -c 2
-echo "klogd."
Index: src/lib/debian-installer-startup.d/S10syslog-linux
===================================================================
--- src/lib/debian-installer-startup.d/S10syslog-linux (.../trunk/packages/rootskel) (revision 0)
+++ src/lib/debian-installer-startup.d/S10syslog-linux (.../branches/d-i/kfreebsd/packages/rootskel) (revision 59514)
@@ -0,0 +1,6 @@
+echo -n "Starting system log daemon: "
+modprobe -q unix 2> /dev/null || true
+/sbin/syslogd -m 0 -O /var/log/syslog -S
+echo -n "syslogd, "
+/sbin/klogd -c 2
+echo "klogd."
Index: src/lib/debian-installer-startup.d/Makefile
===================================================================
--- src/lib/debian-installer-startup.d/Makefile (.../trunk/packages/rootskel) (revision 59506)
+++ src/lib/debian-installer-startup.d/Makefile (.../branches/d-i/kfreebsd/packages/rootskel) (revision 59514)
@@ -17,7 +17,7 @@
files = \
S01mount \
S02module-params \
- S10syslog \
+ S10syslog:S10syslog-$(DEB_HOST_ARCH_OS) \
S20templates \
S35term
Reply to: