From 34adb715df75b279ea597a6c1d8d5a120bcd9726 Mon Sep 17 00:00:00 2001 From: lguohan Date: Mon, 24 Apr 2017 13:39:29 -0700 Subject: [PATCH] [oneimage]: use loop variable to get image dir in /proc/cmdline for aboot image (#534) --- files/initramfs-tools/arista-convertfs.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/initramfs-tools/arista-convertfs.j2 b/files/initramfs-tools/arista-convertfs.j2 index 8a1adda583..7f873e7771 100644 --- a/files/initramfs-tools/arista-convertfs.j2 +++ b/files/initramfs-tools/arista-convertfs.j2 @@ -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