Skip to content

Commit

Permalink
[oneimage]: use loop variable to get image dir in /proc/cmdline for a…
Browse files Browse the repository at this point in the history
…boot image (#534)
  • Loading branch information
lguohan authored Apr 24, 2017
1 parent ced39cc commit 34adb71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/initramfs-tools/arista-convertfs.j2
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ for x in "$@"; do
varlog_size=*)
varlog_size="${x#varlog_size=}"
;;
image_dir=*)
loop=*)
x1="${x#loop=}"
image_dir="${x1%/*}"
esac
Expand Down

0 comments on commit 34adb71

Please sign in to comment.