]> git.pld-linux.org Git - packages/busybox.git/blob - busybox-logconsole.patch
rel 8; enable builtin sleep for initrd
[packages/busybox.git] / busybox-logconsole.patch
1 --- busybox-1.17.3/include/libbb.h.orig 2010-10-09 22:57:13.000000000 +0300
2 +++ busybox-1.17.3/include/libbb.h      2010-11-08 21:21:38.520518694 +0200
3 @@ -1677,7 +1677,7 @@
4  # define VC_2 "/dev/vc/2"
5  # define VC_3 "/dev/vc/3"
6  # define VC_4 "/dev/vc/4"
7 -# define VC_5 "/dev/vc/5"
8 +# define VC_12 "/dev/vc/12"
9  # define VC_FORMAT "/dev/vc/%d"
10  # define LOOP_FORMAT "/dev/loop/%d"
11  # define LOOP_NAMESIZE (sizeof("/dev/loop/") + sizeof(int)*3 + 1)
12 @@ -1690,7 +1690,7 @@
13  # define VC_2 "/dev/tty2"
14  # define VC_3 "/dev/tty3"
15  # define VC_4 "/dev/tty4"
16 -# define VC_5 "/dev/tty5"
17 +# define VC_12 "/dev/tty12"
18  # define VC_FORMAT "/dev/tty%d"
19  # define LOOP_FORMAT "/dev/loop%d"
20  # define LOOP_NAMESIZE (sizeof("/dev/loop") + sizeof(int)*3 + 1)
21 --- busybox/init/init.c.orig    2008-04-19 04:03:13.000000000 +0000
22 +++ busybox.o/init/init.c       2008-04-26 17:09:58.075653000 +0000
23 @@ -64,7 +64,7 @@
24  /* Static variables */
25  static struct init_action *init_action_list = NULL;
26  
27 -static const char *log_console = VC_5;
28 +static const char *log_console = VC_12;
29  
30  enum {
31         L_LOG = 0x1,
This page took 0.110944 seconds and 3 git commands to generate.