Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Allow having /boot on a btrfs volume
It works just fine and in case you go with btrfs-on-luks there is no
reason to create a btrfs volume and just one boot subvolume in it.

Signed-off-by: Igor Raits <i.gnatenko.brain@gmail.com>
  • Loading branch information
ignatenkobrain committed Jun 7, 2020
1 parent 8b76dc2 commit 72d1600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyanaconda/modules/storage/bootloader/grub2.py
Expand Up @@ -116,7 +116,7 @@ class GRUB2(BootLoader):
stage2_must_be_primary = False

# requirements for boot devices
stage2_device_types = ["partition", "mdarray", "btrfs subvolume"]
stage2_device_types = ["partition", "mdarray", "btrfs volume", "btrfs subvolume"]
stage2_raid_levels = [raid.RAID0, raid.RAID1, raid.RAID4,
raid.RAID5, raid.RAID6, raid.RAID10]
stage2_raid_member_types = ["partition"]
Expand Down

0 comments on commit 72d1600

Please sign in to comment.