1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-base-4.18.0/root/etc/e-smith/templates/etc/inittab/12tty2 mezzanine_patched_e-smith-base-4.18.0/root/etc/e-smith/templates/etc/inittab/12tty2 |
2 |
--- e-smith-base-4.18.0/root/etc/e-smith/templates/etc/inittab/12tty2 2005-11-20 21:28:07.000000000 -0700 |
3 |
+++ mezzanine_patched_e-smith-base-4.18.0/root/etc/e-smith/templates/etc/inittab/12tty2 2007-05-18 00:47:09.000000000 -0600 |
4 |
@@ -1 +1 @@ |
5 |
-2:23457:respawn:/sbin/mingetty tty2 |
6 |
+{ -d "/proc/xen" && ! -f "/proc/xen/xsd_kva" ? "#" : "" }2:23457:respawn:/sbin/mingetty tty2 |
7 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-base-4.18.0/root/etc/e-smith/templates/etc/inittab/13tty3 mezzanine_patched_e-smith-base-4.18.0/root/etc/e-smith/templates/etc/inittab/13tty3 |
8 |
--- e-smith-base-4.18.0/root/etc/e-smith/templates/etc/inittab/13tty3 2005-11-20 21:28:07.000000000 -0700 |
9 |
+++ mezzanine_patched_e-smith-base-4.18.0/root/etc/e-smith/templates/etc/inittab/13tty3 2007-05-18 00:47:13.000000000 -0600 |
10 |
@@ -1 +1 @@ |
11 |
-3:23457:respawn:/sbin/mingetty tty3 |
12 |
+{ -d "/proc/xen" && ! -f "/proc/xen/xsd_kva" ? "#" : "" }3:23457:respawn:/sbin/mingetty tty3 |
13 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-base-4.18.0/root/etc/e-smith/templates/etc/inittab/70tty1 mezzanine_patched_e-smith-base-4.18.0/root/etc/e-smith/templates/etc/inittab/70tty1 |
14 |
--- e-smith-base-4.18.0/root/etc/e-smith/templates/etc/inittab/70tty1 2005-11-20 21:28:07.000000000 -0700 |
15 |
+++ mezzanine_patched_e-smith-base-4.18.0/root/etc/e-smith/templates/etc/inittab/70tty1 2007-05-18 00:49:37.000000000 -0600 |
16 |
@@ -1,7 +1,11 @@ |
17 |
|
18 |
# Run gettys in standard runlevels |
19 |
{ |
20 |
- if ($ConsoleMode && ($ConsoleMode ne 'auto')) |
21 |
+ if ( -d "/proc/xen" && ! -f "/proc/xen/xsd_kva" ) |
22 |
+ { |
23 |
+ "co:123457:respawn:/sbin/agetty xvc0 9600 vt100-nav"; |
24 |
+ } |
25 |
+ elsif ($ConsoleMode && ($ConsoleMode ne 'auto')) |
26 |
{ |
27 |
"1:123457:respawn:/sbin/mingetty tty1"; |
28 |
} |
29 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-base-4.18.0/root/etc/e-smith/templates/etc/securetty/xenU-console mezzanine_patched_e-smith-base-4.18.0/root/etc/e-smith/templates/etc/securetty/xenU-console |
30 |
--- e-smith-base-4.18.0/root/etc/e-smith/templates/etc/securetty/xenU-console 1969-12-31 17:00:00.000000000 -0700 |
31 |
+++ mezzanine_patched_e-smith-base-4.18.0/root/etc/e-smith/templates/etc/securetty/xenU-console 2007-05-18 01:17:36.000000000 -0600 |
32 |
@@ -0,0 +1,6 @@ |
33 |
+{ |
34 |
+ $OUT = ''; |
35 |
+ |
36 |
+ return unless -d "/proc/xen" && ! -f "/proc/xen/xsd_kva"; |
37 |
+ $OUT .= "xvc0"; |
38 |
+} |