fix the failure of not a valid name for this device while the hostname is setted as 63 maxlen
Signed-off-by: yanan-rock <yanan@huawei.com>
This commit is contained in:
parent
e6cd4aed4d
commit
9a82e65e78
@ -6,7 +6,7 @@ diff -Nur blivet-3.1.1/blivet/devicelibs/lvm.py blivet-3.1.1-old/blivet/deviceli
|
|||||||
# in some unspecified set of situations. Instead of figuring all of that out,
|
# in some unspecified set of situations. Instead of figuring all of that out,
|
||||||
# no one gets a vg or lv name longer than, let's say, 55.
|
# no one gets a vg or lv name longer than, let's say, 55.
|
||||||
- if len(name) > 55:
|
- if len(name) > 55:
|
||||||
+ if len(name) > 71:
|
+ if len(name) > 73:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: python-blivet
|
Name: python-blivet
|
||||||
Version: 3.3.2
|
Version: 3.3.2
|
||||||
Release: 3
|
Release: 4
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Summary: A python module for system storage configuration
|
Summary: A python module for system storage configuration
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -124,6 +124,12 @@ make PYTHON=%{__python2} DESTDIR=%{buildroot} install
|
|||||||
%doc README.md
|
%doc README.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 10 2021 yanan <yanan@huawei.com> - 3.3.2-4
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:fix the failure of not a valid name for this device while the hostname is setted as 63 maxlen
|
||||||
|
|
||||||
* Sat Oct 30 2021 yanan <yanan@huawei.com> - 3.3.2-3
|
* Sat Oct 30 2021 yanan <yanan@huawei.com> - 3.3.2-3
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user