[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 12/13] scripts/xml-preprocess: Make sure this script is invoked vi
From: |
Michael Tokarev |
Subject: |
[PULL 12/13] scripts/xml-preprocess: Make sure this script is invoked via the right Python |
Date: |
Wed, 11 Oct 2023 14:20:53 +0300 |
From: Thomas Huth <thuth@redhat.com>
If a script is executable and has a shebang line, Meson treats it as
a normal executable, so that this script here is run via the "python3"
binary in the $PATH. However, "python3" might not be in the $PATH at
all, or it might be a wrong version, so we should make sure to run
this script via the Python version that has been chosen for the QEMU
build process. The best way to do this is to remove the executable bit
from the access mode bits. (See also commit 4b424c757188f7a4)
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1918
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
scripts/xml-preprocess.py | 0
1 file changed, 0 insertions(+), 0 deletions(-)
mode change 100755 => 100644 scripts/xml-preprocess.py
diff --git a/scripts/xml-preprocess.py b/scripts/xml-preprocess.py
old mode 100755
new mode 100644
--
2.39.2
- Re: [PULL 02/13] hw/rdma/vmw/pvrdma_cmd: Use correct struct in query_port(), (continued)
- [PULL 04/13] MAINTAINERS: Add g364fb and ds1225y to the Jazz section, Michael Tokarev, 2023/10/11
- [PULL 05/13] MAINTAINERS: Add unowned RISC-V related files to the right sections, Michael Tokarev, 2023/10/11
- [PULL 06/13] MAINTAINERS: Add include folder to the hw/char/ section, Michael Tokarev, 2023/10/11
- [PULL 03/13] Fix compilation when UFFDIO_REGISTER is not set., Michael Tokarev, 2023/10/11
- [PULL 07/13] MAINTAINERS: Add the CI-related doc files to the CI section, Michael Tokarev, 2023/10/11
- [PULL 09/13] MAINTAINERS: Add section for overall sensors, Michael Tokarev, 2023/10/11
- [PULL 10/13] MAINTAINERS: Add some unowned files to the SBSA-REF section, Michael Tokarev, 2023/10/11
- [PULL 11/13] roms: use PYTHON to invoke python, Michael Tokarev, 2023/10/11
- [PULL 08/13] MAINTAINERS: add standard-headers to Hosts/LINUX, Michael Tokarev, 2023/10/11
- [PULL 12/13] scripts/xml-preprocess: Make sure this script is invoked via the right Python,
Michael Tokarev <=
- [PULL 13/13] cpus: Remove unused smp_cores/smp_threads declarations, Michael Tokarev, 2023/10/11