Drop old keylime policy related scripts
The functionality provided by these scripts is now provided by the keylime-policy tool. Resolves: RHEL-79831 Signed-off-by: Sergio Correia <scorreia@redhat.com>
This commit is contained in:
parent
4742bca699
commit
8d0b3c47db
21
keylime.spec
21
keylime.spec
@ -208,14 +208,19 @@ for comp in "verifier" "tenant" "registrar" "ca" "logging"; do
|
|||||||
install -Dpm 400 config/${comp}.conf %{buildroot}/%{_sysconfdir}/%{srcname}
|
install -Dpm 400 config/${comp}.conf %{buildroot}/%{_sysconfdir}/%{srcname}
|
||||||
done
|
done
|
||||||
|
|
||||||
# Ship some scripts.
|
# Do not ship a few scripts that are to be obsoleted soon.
|
||||||
mkdir -p %{buildroot}/%{_datadir}/%{srcname}/scripts
|
# The functionality they provide is now provided by keylime-policy.
|
||||||
for s in create_mb_refstate \
|
for s in keylime_convert_runtime_policy \
|
||||||
ek-openssl-verify; do
|
keylime_create_policy \
|
||||||
install -Dpm 755 scripts/${s} \
|
keylime_sign_runtime_policy; do
|
||||||
%{buildroot}/%{_datadir}/%{srcname}/scripts/${s}
|
rm -f %{buildroot}/%{_bindir}/"${s}"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Ship the ek-openssl-verify script.
|
||||||
|
mkdir -p %{buildroot}/%{_datadir}/%{srcname}/scripts
|
||||||
|
install -Dpm 755 scripts/ek-openssl-verify \
|
||||||
|
%{buildroot}/%{_datadir}/%{srcname}/scripts/ek-openssl-verify
|
||||||
|
|
||||||
# Ship configuration templates.
|
# Ship configuration templates.
|
||||||
cp -r ./templates %{buildroot}%{_datadir}/%{srcname}/templates/
|
cp -r ./templates %{buildroot}%{_datadir}/%{srcname}/templates/
|
||||||
|
|
||||||
@ -359,11 +364,7 @@ fi
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python3_sitelib}/%{srcname}-*.egg-info/
|
%{python3_sitelib}/%{srcname}-*.egg-info/
|
||||||
%{python3_sitelib}/%{srcname}
|
%{python3_sitelib}/%{srcname}
|
||||||
%{_datadir}/%{srcname}/scripts/create_mb_refstate
|
|
||||||
%{_bindir}/keylime_attest
|
%{_bindir}/keylime_attest
|
||||||
%{_bindir}/keylime_convert_runtime_policy
|
|
||||||
%{_bindir}/keylime_create_policy
|
|
||||||
%{_bindir}/keylime_sign_runtime_policy
|
|
||||||
%{_bindir}/keylime-policy
|
%{_bindir}/keylime-policy
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user