diff options
author | RAMON MARIA GOMEZ LABRADOR <ramongomez@us.es> | 2018-05-15 11:20:36 +0200 |
---|---|---|
committer | RAMON MARIA GOMEZ LABRADOR <ramongomez@us.es> | 2018-05-15 11:20:36 +0200 |
commit | d2a274a1bb380be346d15d2fd9457ee3bd5362c5 (patch) | |
tree | e914d59824872d22e58cf580051ac335ee9e3ee2 /client/engine/Boot.lib | |
parent | 61e5ebd8ebd70eeb1eeed4a1ed75fbd1f4a586eb (diff) |
#802: Comprobar cargador EFI sin necesidad de verificación.
Diffstat (limited to 'client/engine/Boot.lib')
-rwxr-xr-x | client/engine/Boot.lib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/engine/Boot.lib b/client/engine/Boot.lib index 71a3688b..217980d1 100755 --- a/client/engine/Boot.lib +++ b/client/engine/Boot.lib @@ -83,7 +83,7 @@ case "$TYPE" in read -e EFIDISK EFIPART <<<"$(ogGetEsp)" [ -n "$EFIPART" ] || ogRaiseError $OG_ERR_PARTITION "ESP" || return $? # Comprobar si el Kernel está firmado. - if ! sbverify --no-verify "$MNTDIR/$KERNEL" &>/dev/null; then + if ! file -k "$MNTDIR/$KERNEL" | grep -q "EFI app"; then ogRaiseError $OG_ERR_NOTOS "$1 $2 ($TYPE, EFI)" return $? fi |