[PATCH] write_config_console function for extlinux to write out serial console boot arguments bz#974643
Brian C. Lane
bcl at redhat.com
Tue Jun 18 20:29:58 UTC 2013
On Tue, Jun 18, 2013 at 01:08:41PM -0500, Dennis Gilmore wrote:
>
> Signed-off-by: Dennis Gilmore <dennis at ausil.us>
> ---
> pyanaconda/bootloader.py | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
> index e037482..bb0775f 100644
> --- a/pyanaconda/bootloader.py
> +++ b/pyanaconda/bootloader.py
> @@ -2137,7 +2137,17 @@ class EXTLINUX(BootLoader):
>
> return prefix
>
> + def write_config_console(self, config):
> + if not self.console:
> + return
> +
> + console_arg = "console=%s" % self.console
> + if self.console_options:
> + console_arg += ",%s" % self.console_options
> + self.boot_args.add(console_arg)
> +
> def write_config_images(self, config):
> + self.write_config_console(config)
> for image in self.images:
> args = Arguments()
> args.add("root=%s" % image.device.fstabSpec)
> --
> 1.8.2.1
Ack. I'll git am this.
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/anaconda-patches/attachments/20130618/ce37650c/attachment-0001.sig>
More information about the anaconda-patches
mailing list