mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Merge pull request #925 from Yuanandcircle/T7233
T7233: Fix wrong MOK certs path in the script of build-kernel.sh
This commit is contained in:
commit
0423450c3a
@ -41,7 +41,7 @@ sed -i -e "s/CN =.*/CN=VyOS build time autogenerated kernel key/" certs/default_
|
||||
TRUSTED_KEYS_FILE=trusted_keys.pem
|
||||
# start with empty key file
|
||||
echo -n "" > $TRUSTED_KEYS_FILE
|
||||
CERTS=$(find ../../../data/live-build-config/includes.chroot/var/lib/shim-signed/mok -name "*.pem" -type f || true)
|
||||
CERTS=$(find ../../../../data/live-build-config/includes.chroot/var/lib/shim-signed/mok -name "*.pem" -type f || true)
|
||||
if [ ! -z "${CERTS}" ]; then
|
||||
# add known public keys to Kernel certificate chain
|
||||
for file in $CERTS; do
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user