From e8f205bb24e7c0bd219654d7225eb633277a8d2f Mon Sep 17 00:00:00 2001 From: Guohan Lu Date: Mon, 24 Apr 2017 19:11:39 +0000 Subject: [PATCH] [oneimage]: use loop variable to get image dir in /proc/cmdline for aboot image --- 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 8a1adda583a1..7f873e7771f3 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