[Buildroot] [PATCH] Add hypervisor consoles (hvc)

Anton Blanchard anton at samba.org
Mon Dec 2 06:17:27 UTC 2013


Add /dev/hvc* devices, and add them to securetty.

Signed-off-by: Anton Blanchard <anton at samba.org>
---

diff --git a/system/device_table_dev.txt b/system/device_table_dev.txt
index 9507939..91ed769 100644
--- a/system/device_table_dev.txt
+++ b/system/device_table_dev.txt
@@ -36,6 +36,7 @@
 /dev/ttyPSC	c	666	0	0	204	148	0	1	4
 /dev/ttyUL	c	666	0	0	204	187	0	1	4
 /dev/ttymxc	c	666	0	0	207	16	0	1	4
+/dev/hvc	c	640	0	0	229	0	0	1	4
 
 # Input stuff
 /dev/input		d	755	0	0	-	-	-	-	-
diff --git a/system/skeleton/etc/securetty b/system/skeleton/etc/securetty
index 5a3d0c6..0722677 100644
--- a/system/skeleton/etc/securetty
+++ b/system/skeleton/etc/securetty
@@ -51,3 +51,7 @@ ttySC5
 ttySC6
 ttySC7
 ttyGS0
+hvc0
+hvc1
+hvc2
+hvc3


More information about the buildroot mailing list