[device/Arista] fix small issue for the 7170 (#2373)

* Fix boot0 install on vfat

* Only display the hook name in boot0

Instead of printing the entire path

* Update arista driver submodule
This commit is contained in:
Samuel Angebault 2018-12-11 04:14:46 -08:00 committed by lguohan
parent d9c076dada
commit 6c7bcf5067
3 changed files with 4 additions and 4 deletions

View File

@ -138,7 +138,7 @@ extract_image() {
info "Extracting $dockerfs from swi"
## vfat does not support symbol link
if [ -n "$install" ] || [ "$rootfs_type" != "vfat" ]; then
if [ "$rootfs_type" != "vfat" ]; then
mkdir -p "$image_path/{{ DOCKERFS_DIR }}"
if [ -n "$install" ]; then
@ -326,7 +326,7 @@ run_hooks() {
if [ -d "$hook_path/$1" ]; then
for hook in $(get_sorted_hooks "$hook_path/$1"); do
if [ ! -z "$hook" ]; then
info "Running hook $hook"
info "Running hook $(basename $hook)"
. "$hook"
fi
done

@ -1 +1 @@
Subproject commit 0fc0c23d8bb8826d6431f35aff12ad1a5e098395
Subproject commit 014865f1ca83ff18680aa90f682cd969692f666a

@ -1 +1 @@
Subproject commit 0fc0c23d8bb8826d6431f35aff12ad1a5e098395
Subproject commit 014865f1ca83ff18680aa90f682cd969692f666a