Google
  Web www.spinics.net

Re: [master] Get crashkernel arguments from the crashkernel code dynamically.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


> diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
> index cfbd152..a45ae22 100644
> --- a/pyanaconda/bootloader.py
> +++ b/pyanaconda/bootloader.py
> @@ -1631,6 +1631,11 @@ class GRUB2(GRUB):
>      stage2_raid_levels = [mdraid.RAID0, mdraid.RAID1, mdraid.RAID4,
>                            mdraid.RAID5, mdraid.RAID6, mdraid.RAID10]
>  
> +    def __init__(self, storage):
> +        super(GRUB2, self).__init__(self, storage)
> +        self.boot_args.add("$([ -x /usr/sbin/rhcrashkernel-param ] && "\
> +                            "/usr/sbin/rhcrashkernel-param)")
> +
>      # XXX we probably need special handling for raid stage1 w/ gpt disklabel
>      #     since it's unlikely there'll be a bios boot partition on each disk
>  

Where does rhcrashkernel-param come from?

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Home]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Red Hat 9 Bible]     [Fedora Bible]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

Powered by Linux

Google
  Web www.spinics.net