summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-09-16 23:37:05 +0200
committerGitHub <noreply@github.com>2024-09-16 23:37:05 +0200
commitbe867edddc35ed5e8880c6de3a55e879dbf70524 (patch)
tree914c69b0c4953c596472f4477915bd72bb4db0fb /packages
parentd5adf5b36c51e811332d5566527c65647d275c5c (diff)
parent5aaf98f57c46ac1c57782fe54a3ab1d4a46ae3b3 (diff)
downloadvyos-build-be867edddc35ed5e8880c6de3a55e879dbf70524.tar.gz
vyos-build-be867edddc35ed5e8880c6de3a55e879dbf70524.zip
Merge pull request #764 from c-po/secure-boot
Kernel: T861: use find over ls when probing for Kernel signing public keys
Diffstat (limited to 'packages')
-rwxr-xr-xpackages/linux-kernel/build-kernel.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/linux-kernel/build-kernel.sh b/packages/linux-kernel/build-kernel.sh
index 3ccb15e9..f7b0c597 100755
--- a/packages/linux-kernel/build-kernel.sh
+++ b/packages/linux-kernel/build-kernel.sh
@@ -35,7 +35,7 @@ done
TRUSTED_KEYS_FILE=trusted_keys.pem
# start with empty key file
echo -n "" > $TRUSTED_KEYS_FILE
-CERTS=$(ls ../../../data/live-build-config/includes.chroot/var/lib/shim-signed/mok/*.pem)
+CERTS=$(find ../../../data/live-build-config/includes.chroot/var/lib/shim-signed/mok -name "*.pem" -type f)
if [ ! -z "${CERTS}" ]; then
# add known public keys to Kernel certificate chain
for file in $CERTS; do