More verbosity

This commit is contained in:
Mikhail Novosyolov 2020-03-14 13:49:15 +03:00
parent 7dd0d4da5b
commit 974fbb224c

View file

@ -914,8 +914,11 @@ find . -name '.get_maintainer.ignore' | %kxargs rm -f
# to give the content of keys from RAM when a virtual address of a key file
# is accessed, but currently I don't know how to implement this (TODO: ).
_cleanup(){
rm -fvr "%{certs_dir_rnd}"
# Show resulting kernel public keys for debugging
cat "%{src_dir}/%{certs_dir_rnd}/x509_certificate_list" || :
rm -fvr "%{src_dir}/%{certs_dir_rnd}"
%if %{with uml}
cat "%{src_dir}.uml/%{certs_dir_rnd}/x509_certificate_list" || :
rm -fvr "%{src_dir}.uml/%{certs_dir_rnd}"
%endif
}
@ -1139,10 +1142,11 @@ rm -rf %{temp_devel_root}/include/soc
# Clean the scripts tree, and make sure everything is ok (sanity check)
# running prepare+scripts (tree was already "prepared" in build)
pushd %{temp_devel_root} >/dev/null
%smake -s prepare scripts
%smake -s clean
popd >/dev/null
pushd %{temp_devel_root}
%smake V=1 -s prepare
%smake V=1 -s scripts
%smake V=1 -s clean
popd
rm -f %{temp_devel_root}/.config.old
# fix permissions