Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fvbe.git;a=commitdiff;h=dd0b63a51f1fccc692e03e2e95427874c7c4fe72

commit dd0b63a51f1fccc692e03e2e95427874c7c4fe72
Author: James Buren <[email protected]>
Date:   Mon Apr 22 01:01:31 2013 -0500

create-iso: export the serial console to the kernel

diff --git a/bin/create-iso b/bin/create-iso
index f416569..4670bab 100755
--- a/bin/create-iso
+++ b/bin/create-iso
@@ -93,7 +93,9 @@ menuentry 'Frugalware Versatile Bootable Environment (RAM)' {
linux /boot/vmlinuz root=live:CDLABEL=FVBE quiet locale.LANG=\$locale 
vconsole.keymap=\$layout vconsole.font=$FVBE_FONT \$video rd.live.ram=1
initrd /boot/initrd
}
+if [ \$mode = video ]; then
$(do_video)
+fi
$(do_locales)
$(do_layouts)
EOF
@@ -101,6 +103,7 @@ EOF
# Setup grub2 config.
cat > $FVBE_ROOT/boot/grub/grub.cfg << EOF
set mode=$FVBE_ISO_IO_MODE
+export mode
set locale=$FVBE_LOCALE
export locale
set layout=$FVBE_LAYOUT
@@ -116,6 +119,8 @@ elif [ \$mode = serial ]; then
terminal_input serial
terminal_output serial
terminfo -u vt100-color
+  set video=$FVBE_ISO_IO_SERIAL_LINUX
+  export video
fi

configfile /boot/grub/menu.cfg
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to