Compare commits
4 Commits
Author | SHA1 | Date |
---|---|---|
Vojtech Trefny | 3ade692b76 | |
Vojtech Trefny | 29d3f70b44 | |
Vojtech Trefny | dace65e87b | |
Vojtech Trefny | 68995917fa |
|
@ -112,3 +112,6 @@
|
|||
/blivet-3.1.0.tar.gz
|
||||
/blivet-3.1.1.tar.gz
|
||||
/blivet-3.1.2.tar.gz
|
||||
/blivet-3.1.3.tar.gz
|
||||
/blivet-3.1.4-tests.tar.gz
|
||||
/blivet-3.1.4.tar.gz
|
||||
|
|
|
@ -0,0 +1,40 @@
|
|||
From 2050395b053e4813da20f1c3bc39d74a8e45803f Mon Sep 17 00:00:00 2001
|
||||
From: Peter Robinson <pbrobinson@gmail.com>
|
||||
Date: Thu, 7 Mar 2019 20:57:59 +0000
|
||||
Subject: [PATCH] Support legacy MBR (msdos) as part of UEFI to enable hybrid
|
||||
builds
|
||||
|
||||
The UEFI spec supports legacy MBR (msdos) in section 5.2 of the UEFI 2.7 spec [1].
|
||||
There's a number of use cases where we might boot on a UEFI device but want to
|
||||
support, but not by default, the creation of images using legacy MBR partitions.
|
||||
One of these use cases is cloud images where we can produce a single image
|
||||
tha will run on UEFI supported, including secure-boot, clouds but also
|
||||
support AWS which only supports MBR partitioning schemes [2] and in the current
|
||||
config anaconda fails the install where this is a perfectly valid and widely
|
||||
supported deployment mechanism.
|
||||
|
||||
So enable the ability to use legacy msdos partitioning schemes, but don't use
|
||||
it for default installs, so people may consume this mechanism using kickstarts
|
||||
rather than having the install fail for a valid use case.
|
||||
|
||||
[1] https://uefi.org/sites/default/files/resources/UEFI%20Spec%202_7_A%20Sept%206.pdf
|
||||
[2] https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html
|
||||
|
||||
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
|
||||
---
|
||||
blivet/formats/disklabel.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/blivet/formats/disklabel.py b/blivet/formats/disklabel.py
|
||||
index 75867d6a..8186d1a1 100644
|
||||
--- a/blivet/formats/disklabel.py
|
||||
+++ b/blivet/formats/disklabel.py
|
||||
@@ -228,7 +228,7 @@ def get_platform_label_types(cls):
|
||||
elif arch.is_efi() and arch.is_arm():
|
||||
label_types = ["msdos", "gpt"]
|
||||
elif arch.is_efi() and not arch.is_aarch64():
|
||||
- label_types = ["gpt"]
|
||||
+ label_types = ["gpt", "msdos"]
|
||||
elif arch.is_s390():
|
||||
label_types = ["msdos", "dasd"]
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
From d01281a69e317d7bae4a7698edb6583b6310d5c1 Mon Sep 17 00:00:00 2001
|
||||
From: David Lehman <dlehman@redhat.com>
|
||||
Date: Tue, 19 Mar 2019 11:51:47 -0400
|
||||
Subject: [PATCH] Ensure correct type of mpath cache member list.
|
||||
|
||||
Related: rhbz#1672971
|
||||
---
|
||||
blivet/static_data/mpath_info.py | 7 +++++--
|
||||
1 file changed, 5 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/blivet/static_data/mpath_info.py b/blivet/static_data/mpath_info.py
|
||||
index 49ba4709..64958ba8 100644
|
||||
--- a/blivet/static_data/mpath_info.py
|
||||
+++ b/blivet/static_data/mpath_info.py
|
||||
@@ -42,8 +42,11 @@ def is_mpath_member(self, device):
|
||||
:param str device: path of the device to query
|
||||
|
||||
"""
|
||||
- if self._members is None and availability.BLOCKDEV_MPATH_PLUGIN.available:
|
||||
- self._members = set(blockdev.mpath.get_mpath_members())
|
||||
+ if self._members is None:
|
||||
+ if availability.BLOCKDEV_MPATH_PLUGIN.available:
|
||||
+ self._members = set(blockdev.mpath.get_mpath_members())
|
||||
+ else:
|
||||
+ self._members = set()
|
||||
|
||||
device = os.path.realpath(device)
|
||||
device = device[len("/dev/"):]
|
|
@ -19,17 +19,17 @@
|
|||
Summary: A python module for system storage configuration
|
||||
Name: python-blivet
|
||||
Url: https://storageapis.wordpress.com/projects/blivet
|
||||
Version: 3.1.2
|
||||
Version: 3.1.4
|
||||
|
||||
#%%global prerelease .b2
|
||||
# prerelease, if defined, should be something like .a1, .b1, .b2.dev1, or .c2
|
||||
Release: 2%{?prerelease}%{?dist}
|
||||
Release: 1%{?prerelease}%{?dist}
|
||||
Epoch: 1
|
||||
License: LGPLv2+
|
||||
%global realname blivet
|
||||
%global realversion %{version}%{?prerelease}
|
||||
Source0: http://github.com/storaged-project/blivet/archive/%{realname}-%{realversion}.tar.gz
|
||||
Patch0: 0001-force-lvm-plugin.patch
|
||||
Source1: http://github.com/storaged-project/blivet/archive/%{realname}-%{realversion}-tests.tar.gz
|
||||
|
||||
# Versions of required components (done so we make sure the buildrequires
|
||||
# match the requires versions of things).
|
||||
|
@ -157,7 +157,8 @@ configuration.
|
|||
%endif
|
||||
|
||||
%prep
|
||||
%autosetup -n %{realname}-%{realversion} -p1
|
||||
%autosetup -n %{realname}-%{realversion} -N
|
||||
%autosetup -n %{realname}-%{realversion} -b1 -p1
|
||||
|
||||
%build
|
||||
%{?with_python2:make PYTHON=%{__python2}}
|
||||
|
@ -190,6 +191,51 @@ configuration.
|
|||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Jun 11 2019 Vojtech Trefny <vtrefny@redhat.com> - 3.1.4-1
|
||||
- Don't call fnmatch with None (#1698937) (vponcova)
|
||||
- Do not crash on non-int lun argument when creating iscsi disk object. (rvykydal)
|
||||
- Make iscsi device attribute modifications backward compatible. (rvykydal)
|
||||
- Do not store iscsi module nodeinfo in device object. (rvykydal)
|
||||
- Only call mpath plugin when it is available. (#1697378) (dlehman)
|
||||
- Include tests archive where appropriate in make targets. (dlehman)
|
||||
- Add spec file logic to include unit tests in SRPM. (dlehman)
|
||||
- Add a target to create an archive of the unit tests. (dlehman)
|
||||
- Remove profanity from an old comment. (dlehman)
|
||||
- Fix mounting of the filesystem iso9660 (vponcova)
|
||||
- Remove unnecessary pass statements (vtrefny)
|
||||
- Check for format tools availability in action_test (vtrefny)
|
||||
- Skip weak dependencies test if we don't have all libblockdev plugins (vtrefny)
|
||||
- Properly clean after availability test case (vtrefny)
|
||||
- Ensure correct type of mpath cache member list. (dlehman)
|
||||
- Do not crash if 'dm.get_member_raid_sets' fails (#1684851) (vtrefny)
|
||||
- Fix supported disklabels in 'test_platform_label_types' on EFI (vtrefny)
|
||||
- Support legacy MBR (msdos) as part of UEFI to enable hybrid builds (pbrobinson)
|
||||
- Automatically adjust size of growable devices for new format (vtrefny)
|
||||
- spec: Remove obsolete Group tag and bump min libblockdev version (vtrefny)
|
||||
|
||||
* Thu Mar 21 2019 Vojtech Trefny <vtrefny@redhat.com> - 3.1.3-3
|
||||
- Ensure correct type of mpath cache member list
|
||||
|
||||
* Mon Mar 11 2019 Vojtech Trefny <vtrefny@redhat.com> - 3.1.3-2
|
||||
- Support legacy MBR (msdos) as part of UEFI to enable hybrid builds (pbrobinson)
|
||||
|
||||
* Wed Feb 27 2019 Vojtech Trefny <vtrefny@redhat.com> - 3.1.3-1
|
||||
- Don't crash if blockdev mpath plugin isn't available. (#1672971) (dlehman)
|
||||
- iscsi: Add default value to unused 'storage' argument in 'write' (vtrefny)
|
||||
- Add exported property to LVMVolumeGroupDevice (vtrefny)
|
||||
- Add VG data to static_data (vtrefny)
|
||||
- Do not try to get format free space for non-existing formats (vtrefny)
|
||||
- Do not raise exception if can't get PV free space (vtrefny)
|
||||
- Fix undefined attribute in LVM info cache (vtrefny)
|
||||
- Use raw_device to get thinpool device in LVMThinPFactory (#1490174) (vtrefny)
|
||||
- Do not crash if DM RAID activation fails (#1661712) (vtrefny)
|
||||
- Remove the unused sysroot property (vponcova)
|
||||
- Remove unused attributes from the Blivet class (vponcova)
|
||||
- Remove the unused gpt flag (vponcova)
|
||||
- Copy the iSCSI initiator name file to the installed system (vtrefny)
|
||||
- Use udev to determine if disk is a multipath member. (dlehman)
|
||||
- Require libfc instead of fcoe for offloaded FCoE. (#1575953) (dlehman)
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.1.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
|
|
3
sources
3
sources
|
@ -1 +1,2 @@
|
|||
SHA512 (blivet-3.1.2.tar.gz) = 338f477866b26f8cafc6dc23eb4fb3f6ec5e04281d2d61cc17370c0e51e7a8bedc03621ebf7a6b61b42dcf79220727a5bb454ac35b1a662e1584f49c88720365
|
||||
SHA512 (blivet-3.1.4-tests.tar.gz) = bf600b7256c24de514bdc86afa771b79ae283d9f20d7ef995d202a3ff18a1bcd6368524014582a5e6cc498529e58c3ebbc32427d7226420109a555a273f00b4b
|
||||
SHA512 (blivet-3.1.4.tar.gz) = c4fa1e67824a0790640966aa9a4a4dec0d6464154c4e2010b9666df2d9e866051ab7809613cec779c19ba1bde46af74a9a1dbc9044144fa48910c7085fbd86ed
|
||||
|
|
Loading…
Reference in New Issue