Browse Source

lvm2 change the lvm2 cluster settings

Signed-off-by: basebuilder_pel7ppc64lebuilder0 <basebuilder@powerel.org>
master
basebuilder_pel7ppc64lebuilder0 4 years ago
parent
commit
18b25e59c1
  1. 8
      SPECS/lvm2.spec

8
SPECS/lvm2.spec

@ -34,13 +34,13 @@ @@ -34,13 +34,13 @@
#%%global scratch .bz1628529_4

%if 0%{?rhel}
%ifnarch i686 x86_64 ppc64le s390x
%ifnarch i686 x86_64 s390x
%global enable_cluster 0
%global enable_cmirror 0
%global enable_lockd_dlm 0
%endif

%ifnarch x86_64 ppc64 aarch64
%ifnarch x86_64 ppc64 ppc64le aarch64
%global enable_lockd_sanlock 0
%endif
%endif
@ -258,7 +258,7 @@ make %{?_smp_mflags} V=1 @@ -258,7 +258,7 @@ make %{?_smp_mflags} V=1
%if %{enable_boom}
(
cd ../%{boom_dir}
%py2_build
%{__python} setup.py build
)
%endif

@ -273,7 +273,7 @@ make install_tmpfiles_configuration DESTDIR=$RPM_BUILD_ROOT V=1 @@ -273,7 +273,7 @@ make install_tmpfiles_configuration DESTDIR=$RPM_BUILD_ROOT V=1
%if %{enable_boom}
(
cd ../%{boom_dir}
%py2_install
%{__python} setup.py install --optimize 2 --root %{buildroot}

# Install Grub2 integration scripts
install -d -m 700 ${RPM_BUILD_ROOT}/etc/grub.d

Loading…
Cancel
Save