Accepting request 1188923 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1188923 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=168
This commit is contained in:
commit
98d70502aa
2
lvm.conf
2
lvm.conf
@ -128,7 +128,7 @@ devices {
|
||||
# be used, regardless of this setting, when the --devicesfile
|
||||
# option is set to a specific file name.
|
||||
# This configuration option has an automatic default value.
|
||||
# use_devicesfile = 0
|
||||
# use_devicesfile = 1
|
||||
|
||||
# Configuration option devices/devicesfile.
|
||||
# The name of the system devices file, listing devices that LVM should use.
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 22 01:44:00 UTC 2024 - Glass Su <glass.su@suse.com>
|
||||
|
||||
- enable devices file feature by default - see lvmdevices(8)
|
||||
* enable '--with-default-use-devices-file=1' in lvm2.spec
|
||||
* update commented default value of 'use_devicesfile' in lvm2.conf
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 26 22:59:00 UTC 2024 - Heming Zhao <heming.zhao@suse.com>
|
||||
|
||||
|
10
lvm2.spec
10
lvm2.spec
@ -40,6 +40,10 @@
|
||||
%define sanlock_version 3.3.0
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version} >= 1600
|
||||
%define default_use_devices_file 1
|
||||
%endif
|
||||
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%define psuffix %{nil}
|
||||
|
||||
@ -183,6 +187,12 @@ extra_opts="
|
||||
"
|
||||
%endif
|
||||
|
||||
%if 0%{?default_use_devices_file} == 1
|
||||
extra_opts="$extra_opts
|
||||
--with-default-use-devices-file=1
|
||||
"
|
||||
%endif
|
||||
|
||||
### COMMON-CONFIG-BEGIN ###
|
||||
export PATH=$PATH:/sbin:%{_sbindir}
|
||||
# Why this messy fix here? someone released a wrong version...
|
||||
|
Loading…
Reference in New Issue
Block a user