]> git.pld-linux.org Git - packages/busybox.git/blame - busybox-logconsole.patch
- BR uClibc-static >= 3:0.9.30.1 (it has combreloc|relro filtering built in)
[packages/busybox.git] / busybox-logconsole.patch
CommitLineData
dd21d438
AM
1diff -urN busybox-1.00-pre2/include/libbb.h busybox-1.00-pre2.org/include/libbb.h
2--- busybox-1.00-pre2/include/libbb.h 2003-08-02 23:40:57.000000000 +0200
3+++ busybox-1.00-pre2.org/include/libbb.h 2003-08-02 23:45:09.000000000 +0200
4@@ -346,7 +346,7 @@
4c6ebd20 5 # define VC_2 "/dev/vc/2"
6 # define VC_3 "/dev/vc/3"
7 # define VC_4 "/dev/vc/4"
8-# define VC_5 "/dev/vc/5"
9+# define VC_12 "/dev/vc/12"
dd21d438
AM
10 #if defined(__sh__) || defined(__H8300H__) || defined(__H8300S__)
11 /* Yes, this sucks, but both SH (including sh64) and H8 have a SCI(F) for their
12 respective serial ports .. as such, we can't use the common device paths for
13@@ -367,7 +367,7 @@
4c6ebd20 14 # define VC_2 "/dev/tty2"
15 # define VC_3 "/dev/tty3"
16 # define VC_4 "/dev/tty4"
17-# define VC_5 "/dev/tty5"
18+# define VC_12 "/dev/tty12"
dd21d438
AM
19 #if defined(__sh__) || defined(__H8300H__) || defined(__H8300S__)
20 # define SC_0 "/dev/ttySC0"
21 # define SC_1 "/dev/ttySC1"
c690aee5 22--- busybox/init/init.c.orig 2008-04-19 04:03:13.000000000 +0000
23+++ busybox.o/init/init.c 2008-04-26 17:09:58.075653000 +0000
24@@ -64,7 +64,7 @@
25 /* Static variables */
316ae9e2 26 static struct init_action *init_action_list = NULL;
dd21d438 27
316ae9e2
AM
28-static const char *log_console = VC_5;
29+static const char *log_console = VC_12;
c690aee5 30
31 enum {
71007e92 32 L_LOG = 0x1,
This page took 0.111429 seconds and 4 git commands to generate.