[aboot-image]: Skip arista-hook and arista-convertfs for fast/warm-reboot (#3242)
This commit is contained in:
parent
ff8e34463d
commit
6add9445c8
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user