aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Romain Naour <romain.naour@gmail.com>2020-11-24 21:30:20 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-12-05 22:33:44 +0100
commit7c48c677a9f5f9113b38d21030e7b103749d2463 (patch)
treeb49578ea9f0a589f9a736228751b700c5b373216
parentd673618342bcc655f6b961b799bdd419ebd01656 (diff)
downloadbuildroot-7c48c677a9f5f9113b38d21030e7b103749d2463.tar.gz
buildroot-7c48c677a9f5f9113b38d21030e7b103749d2463.tar.bz2
board/qemu/post-image.sh: rename IMAGE_DIR to BINARIES_DIR
The output/images directory is called BINARIES_DIR in the Buildroot manual, not IMAGE_DIR. Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rwxr-xr-xboard/qemu/post-image.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/qemu/post-image.sh b/board/qemu/post-image.sh
index 9a4d216274..f34bf5043a 100755
--- a/board/qemu/post-image.sh
+++ b/board/qemu/post-image.sh
@@ -19,9 +19,9 @@ if [ -z "${QEMU_CMD_LINE}" ]; then
exit 0
fi
-# Replace output/images path by ${IMAGE_DIR} since the script
+# Replace output/images path by ${BINARIES_DIR} since the script
# will be in the same directory as the kernel and the rootfs images.
-QEMU_CMD_LINE="${QEMU_CMD_LINE//output\/images/\${IMAGE_DIR\}}"
+QEMU_CMD_LINE="${QEMU_CMD_LINE//output\/images/\${BINARIES_DIR\}}"
# Remove -serial stdio if present, keep it as default args
DEFAULT_ARGS="$(sed -r -e '/-serial stdio/!d; s/.*(-serial stdio).*/\1/' <<<"${QEMU_CMD_LINE}")"
@@ -40,7 +40,7 @@ esac
cat <<-_EOF_ > "${START_QEMU_SCRIPT}"
#!/bin/sh
- IMAGE_DIR="\${0%/*}/"
+ BINARIES_DIR="\${0%/*}/"
if [ "\${1}" = "serial-only" ]; then
EXTRA_ARGS='${SERIAL_ARGS}'