aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Labatut <plabatut@google.com>2023-11-06 12:40:06 +0100
committerPierre Labatut <plabatut@google.com>2023-11-17 15:44:42 +0100
commit47d032035c15112cdfeb4f39a8c202616c8cfe32 (patch)
tree8d360f6475dad61b20d897bf0e181321c6bdf8f8
parent88ef1d13846bb6f17d903c7d0eb88b749bb4076c (diff)
downloadcuttlefish_vmm-47d032035c15112cdfeb4f39a8c202616c8cfe32.tar.gz
Minor spelling correction.
Change-Id: Ie67291088bbea7142ce663d610005e65fc4c32f1
-rwxr-xr-xqemu/scripts/rebuild.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/qemu/scripts/rebuild.py b/qemu/scripts/rebuild.py
index 276ab8f..229965b 100755
--- a/qemu/scripts/rebuild.py
+++ b/qemu/scripts/rebuild.py
@@ -921,7 +921,7 @@ def build_task_for_qemu(build: BuildConfig):
# `--prefix` above.
"-Dbindir=../bin",
# Because the canonicalized `bindir` is `/bin` and does not start
- # with the `--prefix` the `qemu_firmwarepath` is interpreded differently.
+ # with the `--prefix` the `qemu_firmwarepath` is interpreted differently.
# Hence we have to rewrite it to work as expected.
"-Dqemu_firmwarepath=../usr/share/qemu",
# `gfxstream` is is only capable to output a dynamic library for now
@@ -968,7 +968,14 @@ def build_task_for_qemu_portable(build: BuildConfig):
build.run(["chmod", "a+rx"] + list(bin_dir.glob("*")))
build.run(["patchelf", "--set-rpath", "$ORIGIN"] + list(bin_dir.glob("*")))
build.run(
- ["tar", "-czvf", "qemu-portable.tar.gz", "-C", "qemu-portable", "."],
+ [
+ "tar",
+ "-czvf",
+ "qemu-portable.tar.gz",
+ "--directory",
+ "qemu-portable",
+ ".",
+ ],
build.build_dir,
)