[Bug 286160] tools/make_libdeps.sh fails if TRUST_ANCHORS is empty in lib/libsecureboot/local.trust.mk
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 286160] tools/make_libdeps.sh fails if TRUST_ANCHORS is empty in lib/libsecureboot/local.trust.mk"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 286160] tools/make_libdeps.sh fails if TRUST_ANCHORS is empty in lib/libsecureboot/local.trust.mk"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 17 Apr 2025 16:15:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286160 Bug ID: 286160 Summary: tools/make_libdeps.sh fails if TRUST_ANCHORS is empty in lib/libsecureboot/local.trust.mk Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: jlduran@FreeBSD.org Created attachment 259638 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=259638&action=edit Proposed fix When running: # sh tools/make_libdeps.sh An error could be thrown when the command ls -1 *.pem t*.asc does not expand. One possible fix is to use find(1) instead of ls(1). Then, if TRUST_ANCHORS is empty, an error will be thrown, impeding make_libdeps.sh from continuing. One possible fix is to demote the .error to a .warning. Attached is a proposed fix. -- You are receiving this mail because: You are the assignee for the bug.