Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   Allow btrfs stage2 with grub2. (#732594) (http://www.linux-archive.org/centos/567414-allow-btrfs-stage2-grub2-732594-a.html)

David Lehman 08-23-2011 04:23 PM

Allow btrfs stage2 with grub2. (#732594)
 
---
pyanaconda/bootloader.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
index 30b2111..eae37a3 100644
--- a/pyanaconda/bootloader.py
+++ b/pyanaconda/bootloader.py
@@ -1454,6 +1454,7 @@ class GRUB2(GRUB):
can_update = True

# requirements for boot devices
+ stage2_format_types = ["ext4", "ext3", "ext2", "btrfs"]
stage2_device_types = ["partition", "mdarray", "lvmlv"]
stage2_raid_levels = [mdraid.RAID0, mdraid.RAID1, mdraid.RAID4,
mdraid.RAID5, mdraid.RAID6, mdraid.RAID10]
--
1.7.3.4

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

Chris Lumens 08-23-2011 05:09 PM

Allow btrfs stage2 with grub2. (#732594)
 
> diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
> index 30b2111..eae37a3 100644
> --- a/pyanaconda/bootloader.py
> +++ b/pyanaconda/bootloader.py
> @@ -1454,6 +1454,7 @@ class GRUB2(GRUB):
> can_update = True
>
> # requirements for boot devices
> + stage2_format_types = ["ext4", "ext3", "ext2", "btrfs"]
> stage2_device_types = ["partition", "mdarray", "lvmlv"]
> stage2_raid_levels = [mdraid.RAID0, mdraid.RAID1, mdraid.RAID4,
> mdraid.RAID5, mdraid.RAID6, mdraid.RAID10]

Looks fine. This should go on f16-branch, too.

- Chris

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


All times are GMT. The time now is 03:44 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.