aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/disk-image-builder/nested/image-patches/01-serial-console
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2021-04-08 12:12:30 +0000
committerpmikus <pmikus@cisco.com>2021-04-08 12:12:30 +0000
commit2c1809bfabcef9d74e9a7da58a694a320733a64f (patch)
tree819298cbf828a4e0aafcc344257dddb5cc5a0a68 /resources/tools/disk-image-builder/nested/image-patches/01-serial-console
parentd653bff621c44d0af1f4dcb786e9830362cdac38 (diff)
Remove obsolete image builder
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I6cb73a6b9fbbdec2d7127f2457cbe21d12cd3e64
Diffstat (limited to 'resources/tools/disk-image-builder/nested/image-patches/01-serial-console')
-rwxr-xr-xresources/tools/disk-image-builder/nested/image-patches/01-serial-console23
1 files changed, 0 insertions, 23 deletions
diff --git a/resources/tools/disk-image-builder/nested/image-patches/01-serial-console b/resources/tools/disk-image-builder/nested/image-patches/01-serial-console
deleted file mode 100755
index 8dfede413b..0000000000
--- a/resources/tools/disk-image-builder/nested/image-patches/01-serial-console
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-patch boot/grub/menu.lst <<"_EOF"
-2c2,4
-< timeout 10
----
-> timeout 1
-> serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
-> terminal --timeout=0 serial console
-15c17
-< kernel /boot/bzImage rw root=/dev/sda1 rootwait
----
-> kernel /boot/bzImage rw root=/dev/sda1 rootwait console=ttyS0,115200n8
-_EOF
-
-patch etc/inittab <<"_EOF"
-27c27,29
-< console::respawn:/sbin/getty -L console 0 vt100 # GENERIC_SERIAL
----
-> console::respawn:/sbin/getty -L console 0 vt100 # GENERIC_SERIAL
-> # ttyS1 to be used by qemu-ga
-> ttyS2::respawn:/sbin/getty -L ttyS2 0 vt100 # Additional serial
-_EOF