imgcreate/live.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)
New commits: commit 2216a1aba6b3122f8e3cddfad51cdf3348c2470c Author: Jasper O'neal Hartline <[email protected]> Date: Sat Sep 11 13:55:05 2010 -0500 Add basic video driver option to syslinux/isolinux configuration. Signed-off-by: Bruno Wolff III <[email protected]> diff --git a/imgcreate/live.py b/imgcreate/live.py index f349a1f..1e0f117 100644 --- a/imgcreate/live.py +++ b/imgcreate/live.py @@ -453,12 +453,24 @@ menu hiddenrow 5 menu label %(long)s kernel vmlinuz%(index)s append initrd=initrd%(index)s.img root=%(rootlabel)s rootfstype=%(isofstype)s %(liveargs)s %(extra)s + + + label %(short)s + menu label %(long)s %(basicvideo)s + kernel vmlinuz%(index)s + append initrd=initrd%(index)s.img root=%(rootlabel)s rootfstype=%(isofstype)s %(liveargs)s %(xdriver)s %(extra)s """ else: template = """label %(short)s menu label %(long)s kernel mboot.c32 append xen%(index)s.gz --- vmlinuz%(index)s root=%(rootlabel)s rootfstype=%(isofstype)s %(liveargs)s %(extra)s --- initrd%(index)s.img + + + label %(short)s + menu label %(long)s %(basicvideo)s + kernel mboot.c32 + append xen%(index)s.gz --- vmlinuz%(index)s root=%(rootlabel)s rootfstype=%(isofstype)s %(liveargs)s %(xdriver)s %(extra)s --- initrd%(index)s.img """ return template % args @@ -490,6 +502,10 @@ menu hiddenrow 5 else: long = "Boot %s(%s)" % (self.name, kernel) + # Basic video driver + basic = "system with basic video driver" + xdriver = "xdriver=vesa" + # tell dracut not to ask for LUKS passwords or activate mdraid sets if isDracut: @@ -503,6 +519,8 @@ menu hiddenrow 5 liveargs = kern_opts, long = long, short = "linux" + index, + basicvideo = basic, + xdriver = xdriver, extra = "", index = index) @@ -516,6 +534,8 @@ menu hiddenrow 5 liveargs = kernel_options, long = "Verify and " + long, short = "check" + index, + basicvideo = "", + xdriver = "", extra = "check", index = index) -- livecd mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/livecd
