anaconda-arm-uboot-partition.patch
Brian C. Lane
bcl at redhat.com
Tue Sep 25 17:27:17 UTC 2012
On Mon, Sep 24, 2012 at 11:04:13PM -0500, David A. Marlin wrote:
> diff --git a/pyanaconda/platform.py b/pyanaconda/platform.py
> index ea5b92f..a1e03b0 100644
> --- a/pyanaconda/platform.py
> +++ b/pyanaconda/platform.py
> @@ -350,6 +350,32 @@ class ARM(Platform):
> self._armMachine = iutil.getARMMachine()
> return self._armMachine
>
> +class omapARM(ARM):
> + _boot_stage1_format_types = ["vfat"]
> + _boot_stage1_device_types = ["partition"]
> + _boot_stage1_mountpoints = ["/boot/uboot"]
> + _boot_uboot_description = N_("U-Boot Partition")
> + _boot_descriptions = {"partition": _boot_uboot_description}
> +
> + bootloader.GRUB2.stage2_bootable = False
I think this belongs inside a class __init__, we shouldn't be modifying
things outside the class during the class setup.
--
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/20120925/2dcf47db/attachment.sig>
More information about the anaconda-patches
mailing list