Switch default metadata format to LUKS2.

- Resolves: #1668013
This commit is contained in:
Ondrej Kozina 2019-01-22 10:46:24 +01:00
parent d68990b0e7
commit 4ee521054e

View File

@ -22,7 +22,7 @@ Obsoletes: cryptsetup-python3
Summary: A utility for setting up encrypted disks Summary: A utility for setting up encrypted disks
Name: cryptsetup Name: cryptsetup
Version: 2.0.6 Version: 2.0.6
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Group: Applications/System Group: Applications/System
URL: https://gitlab.com/cryptsetup/cryptsetup URL: https://gitlab.com/cryptsetup/cryptsetup
@ -138,15 +138,15 @@ cp -a . %{py3dir}
%build %build
%if %{python2_enable} || %{python3_enable} %if %{python2_enable} || %{python3_enable}
%configure --enable-python --enable-fips --enable-pwquality --enable-libargon2 --with-crypto_backend=openssl %configure --enable-python --enable-fips --enable-pwquality --enable-libargon2 --with-crypto_backend=openssl --with-default-luks-format=LUKS2
%else %else
%configure --enable-fips --enable-pwquality --enable-libargon2 --with-crypto_backend=openssl %configure --enable-fips --enable-pwquality --enable-libargon2 --with-crypto_backend=openssl --with-default-luks-format=LUKS2
%endif %endif
make %{?_smp_mflags} make %{?_smp_mflags}
%if %{python3_enable} %if %{python3_enable}
pushd %{py3dir} pushd %{py3dir}
%configure --enable-python --with-python_version=3 --enable-fips --enable-pwquality --enable-libargon2 --with-crypto_backend=openssl %configure --enable-python --with-python_version=3 --enable-fips --enable-pwquality --enable-libargon2 --with-crypto_backend=openssl --with-default-luks-format=LUKS2
make %{?_smp_mflags} make %{?_smp_mflags}
popd popd
%endif %endif
@ -227,6 +227,10 @@ popd
%clean %clean
%changelog %changelog
* Tue Jan 22 2019 Ondrej Kozina <okozina@redhat.com> - 2.0.6-2
- Switch default metadata format to LUKS2.
- Resolves: #1668013
* Mon Dec 03 2018 Ondrej Kozina <okozina@redhat.com> - 2.0.6-1 * Mon Dec 03 2018 Ondrej Kozina <okozina@redhat.com> - 2.0.6-1
- Update to cryptsetup 2.0.6. - Update to cryptsetup 2.0.6.