From f078353be864d9cf95cdc687045b8f5fee9e3088 Mon Sep 17 00:00:00 2001 From: selvipal Date: Tue, 12 Dec 2023 13:53:35 -0800 Subject: [PATCH] Disabling the check for cisco-8000 platforms as platform-side support is not ready yet. This will be removed once platform support is added. Signed-off-by: selvipal --- sonic_installer/bootloader/grub.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sonic_installer/bootloader/grub.py b/sonic_installer/bootloader/grub.py index c2bfe8d534..914daf7259 100644 --- a/sonic_installer/bootloader/grub.py +++ b/sonic_installer/bootloader/grub.py @@ -157,7 +157,10 @@ def is_secure_upgrade_image_verification_supported(self): check_if_verification_is_enabled_and_supported_code = ''' SECURE_UPGRADE_ENABLED=0 - if [ -d "/sys/firmware/efi/efivars" ]; then + Disabling the check for cisco-8000 platforms as platform-side support is not ready yet. This will be removed once platform + support is added. + ASIC_TYPE=$(sonic-cfggen -y /etc/sonic/sonic_version.yml -v asic_type) + if [ -d "/sys/firmware/efi/efivars" ] && [[ ${ASIC_TYPE} != *"cisco-8000"* ]]; then if ! [ -n "$(ls -A /sys/firmware/efi/efivars 2>/dev/null)" ]; then mount -t efivarfs none /sys/firmware/efi/efivars 2>/dev/null fi