X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=busybox-logconsole.patch;h=f4acdd43a94d5905da99c8bd70c1ccf3bd2032c5;hb=494a100b94bc393c0a8cd664f63dc75fc29b9984;hp=1fcd92035a787c7be4d71ac3ff8e419999028782;hpb=b1e361d7058165821c2151732a5de6da9f9a854a;p=packages%2Fbusybox.git diff --git a/busybox-logconsole.patch b/busybox-logconsole.patch index 1fcd920..f4acdd4 100644 --- a/busybox-logconsole.patch +++ b/busybox-logconsole.patch @@ -1,11 +1,31 @@ ---- init.c Wed Dec 13 17:41:29 2000 -+++ init.c.sz Mon Dec 25 18:34:15 2000 -@@ -122,7 +122,7 @@ - #define VT_SECONDARY "/dev/tty2" /* Virtual console */ - #define VT_THIRD "/dev/tty3" /* Virtual console */ - #define VT_FOURTH "/dev/tty4" /* Virtual console */ --#define VT_LOG "/dev/tty5" /* Virtual console */ -+#define VT_LOG "/dev/tty12" /* Virtual console */ - #define SERIAL_CON0 "/dev/ttyS0" /* Primary serial console */ - #define SERIAL_CON1 "/dev/ttyS1" /* Serial console */ - #define SHELL "-/bin/sh" /* Default shell */ +--- busybox-1.17.3/include/libbb.h.orig 2010-10-09 22:57:13.000000000 +0300 ++++ busybox-1.17.3/include/libbb.h 2010-11-08 21:21:38.520518694 +0200 +@@ -1677,7 +1677,7 @@ + # define VC_2 "/dev/vc/2" + # define VC_3 "/dev/vc/3" + # define VC_4 "/dev/vc/4" +-# define VC_5 "/dev/vc/5" ++# define VC_12 "/dev/vc/12" + # define VC_FORMAT "/dev/vc/%d" + # define LOOP_FORMAT "/dev/loop/%d" + # define LOOP_NAMESIZE (sizeof("/dev/loop/") + sizeof(int)*3 + 1) +@@ -1690,7 +1690,7 @@ + # define VC_2 "/dev/tty2" + # define VC_3 "/dev/tty3" + # define VC_4 "/dev/tty4" +-# define VC_5 "/dev/tty5" ++# define VC_12 "/dev/tty12" + # define VC_FORMAT "/dev/tty%d" + # define LOOP_FORMAT "/dev/loop%d" + # define LOOP_NAMESIZE (sizeof("/dev/loop") + sizeof(int)*3 + 1) +--- busybox/init/init.c.orig 2008-04-19 04:03:13.000000000 +0000 ++++ busybox.o/init/init.c 2008-04-26 17:09:58.075653000 +0000 +@@ -64,7 +64,7 @@ + /* Static variables */ + static struct init_action *init_action_list = NULL; + +-static const char *log_console = VC_5; ++static const char *log_console = VC_12; + + enum { + L_LOG = 0x1,