]> git.pld-linux.org Git - packages/busybox.git/blobdiff - busybox-logconsole.patch
- there is no EM_SPARC64 (from sparc64_fixes patch)
[packages/busybox.git] / busybox-logconsole.patch
index 1fcd92035a787c7be4d71ac3ff8e419999028782..9c47d375c211a12e51f0d67fdaabb196e201a0bc 100644 (file)
@@ -1,11 +1,33 @@
---- 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 */
+diff -urN busybox-1.00-pre2/include/libbb.h busybox-1.00-pre2.org/include/libbb.h
+--- busybox-1.00-pre2/include/libbb.h  2003-08-02 23:40:57.000000000 +0200
++++ busybox-1.00-pre2.org/include/libbb.h      2003-08-02 23:45:09.000000000 +0200
+@@ -346,7 +346,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"
+ #if defined(__sh__) || defined(__H8300H__) || defined(__H8300S__)
+ /* Yes, this sucks, but both SH (including sh64) and H8 have a SCI(F) for their
+    respective serial ports .. as such, we can't use the common device paths for
+@@ -367,7 +367,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"
+ #if defined(__sh__) || defined(__H8300H__) || defined(__H8300S__)
+ #  define SC_0 "/dev/ttySC0"
+ #  define SC_1 "/dev/ttySC1"
+diff -urN busybox-1.00-pre2/init/init.c busybox-1.00-pre2.org/init/init.c
+--- busybox-1.00-pre2/init/init.c      2003-08-02 23:40:57.000000000 +0200
++++ busybox-1.00-pre2.org/init/init.c  2003-08-02 23:45:30.000000000 +0200
+@@ -155,7 +155,7 @@
+ static char console[CONSOLE_BUFF_SIZE] = _PATH_CONSOLE;
+ #ifndef CONFIG_SYSLOGD
+-static char *log_console = VC_5;
++static char *log_console = VC_12;
+ #endif
+ static sig_atomic_t got_cont = 0;
+ static const int LOG = 0x1;
This page took 0.03721 seconds and 4 git commands to generate.