Skip to content

Commit 6c7bcf5

Browse files
Staphylolguohan
authored andcommitted
[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
1 parent d9c076d commit 6c7bcf5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

files/Aboot/boot0.j2

+2-2
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ extract_image() {
138138

139139
info "Extracting $dockerfs from swi"
140140
## vfat does not support symbol link
141-
if [ -n "$install" ] || [ "$rootfs_type" != "vfat" ]; then
141+
if [ "$rootfs_type" != "vfat" ]; then
142142
mkdir -p "$image_path/{{ DOCKERFS_DIR }}"
143143

144144
if [ -n "$install" ]; then
@@ -326,7 +326,7 @@ run_hooks() {
326326
if [ -d "$hook_path/$1" ]; then
327327
for hook in $(get_sorted_hooks "$hook_path/$1"); do
328328
if [ ! -z "$hook" ]; then
329-
info "Running hook $hook"
329+
info "Running hook $(basename $hook)"
330330
. "$hook"
331331
fi
332332
done

0 commit comments

Comments
 (0)