Skip to content

Commit

Permalink
[device/Arista] fix small issue for the 7170 (#2373)
Browse files Browse the repository at this point in the history
* Fix boot0 install on vfat

* Only display the hook name in boot0

Instead of printing the entire path

* Update arista driver submodule
  • Loading branch information
Staphylo authored and lguohan committed Dec 11, 2018
1 parent d9c076d commit 6c7bcf5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions files/Aboot/boot0.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion platform/barefoot/sonic-platform-modules-arista
2 changes: 1 addition & 1 deletion platform/broadcom/sonic-platform-modules-arista

0 comments on commit 6c7bcf5

Please sign in to comment.