[oneimage]: use loop variable to get image dir in /proc/cmdline for aboot image (#534)
This commit is contained in:
parent
ced39ccb4c
commit
34adb715df
@ -117,7 +117,7 @@ for x in "$@"; do
|
|||||||
varlog_size=*)
|
varlog_size=*)
|
||||||
varlog_size="${x#varlog_size=}"
|
varlog_size="${x#varlog_size=}"
|
||||||
;;
|
;;
|
||||||
image_dir=*)
|
loop=*)
|
||||||
x1="${x#loop=}"
|
x1="${x#loop=}"
|
||||||
image_dir="${x1%/*}"
|
image_dir="${x1%/*}"
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user