[Buildroot] [PATCH 5/6] board/qemu/post-image.sh: start from a shell
Geoff Levand
geoff at infradead.org
Mon Apr 27 16:23:59 UTC 2020
On 4/27/20 9:09 AM, Romain Naour wrote:
>> export PATH="${HOST_DIR}/bin:\${PATH}"
>> - exec ${QEMU_CMD_LINE} \${EXTRA_ARGS}
>> + exec sh -c "${QEMU_CMD_LINE} \${EXTRA_ARGS}"
>
> This patch is not ok as is since we need to escape double quotes from
> "${QEMU_CMD_LINE}
>
> example:
> -append \"rootwait root=/dev/sda console=ttySC1,115200 noiotrap\"
Maybe use something like:
CMD="${QEMU_CMD_LINE} ${EXTRA_ARGS}"
eval exec ${CMD}
-Geoff
More information about the buildroot
mailing list