Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion files/initramfs-tools/arista-convertfs.j2
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,14 @@ for x in "$@"; do
x1="${x#loop=}"
image_dir="${x1%/*}"
;;
SONIC_BOOT_TYPE=warm*|SONIC_BOOT_TYPE=fast*)
# Skip this script for warm-reboot and fast-reboot
exit 0
;;
esac
done

#Check aboot
# Check aboot
[ -z "$aboot_flag" ] && exit 0

# Get flash dev name
Expand Down
4 changes: 4 additions & 0 deletions files/initramfs-tools/arista-hook
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ for x in "$@"; do
x1="${x#loop=}"
image_dir="${x1%/*}"
;;
SONIC_BOOT_TYPE=warm*|SONIC_BOOT_TYPE=fast*)
# Skip this script for warm-reboot and fast-reboot
exit 0
;;
esac
done

Expand Down