[Bug 286160] tools/make_libdeps.sh fails if TRUST_ANCHORS is empty in lib/libsecureboot/local.trust.mk

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 19 Apr 2025 16:26:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286160

Jose Luis Duran <jlduran@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #259638|0                           |1
        is obsolete|                            |

--- Comment #1 from Jose Luis Duran <jlduran@FreeBSD.org> ---
Created attachment 259707
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=259707&action=edit
Is the logic of the test inverted?

This updated proposed patch, instead of demoting the error to a warning,
changes the test logic:
- If TRUST_ANCHORS is empty AND
- If ${MK_LOADER_EFI_SECUREBOOT} is set to "yes"
then error about TRUST_ANCHORS being empty.

I'm confused at this point, so tagging @sjg.

-- 
You are receiving this mail because:
You are the assignee for the bug.