There is another copy of the code searching for certificates if test %CONFIG_MODULE_SIG = "y"; then for f in %_sourcedir/*.crt; do if ! test -s "$f"; then continue fi h=$(openssl x509 -inform PEM -fingerprint -noout -in "$f") test -n "$h" cert=/etc/uefi/certs/$(echo "$h" | \ sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt if test -e %buildroot/"$cert"; then continue fi mkdir -p %buildroot/etc/uefi/certs openssl x509 -inform PEM -in "$f" -outform DER -out %buildroot/"$cert" certs=("${certs[@]}" "$cert") done fi