diff options
author | Christian Breunig <christian@breunig.cc> | 2024-09-16 21:09:41 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-09-16 21:09:41 +0200 |
commit | 5aaf98f57c46ac1c57782fe54a3ab1d4a46ae3b3 (patch) | |
tree | da8a9cbd890fa0ae5bca65b843bfe527cc46ff5e /packages | |
parent | 928c1f505b95bb4b693b9e8eac5c73185d67515f (diff) | |
download | vyos-build-5aaf98f57c46ac1c57782fe54a3ab1d4a46ae3b3.tar.gz vyos-build-5aaf98f57c46ac1c57782fe54a3ab1d4a46ae3b3.zip |
Kernel: T861: use find over ls when probing for Kernel signing public keys
Diffstat (limited to 'packages')
-rwxr-xr-x | packages/linux-kernel/build-kernel.sh | 2 |
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 |