diff options
Diffstat (limited to 'meta-oe/recipes-bsp/fwupd/fwupd-efi/0001-efi-generate_binary.py-Use-env-to-detect-python3.patch')
| -rw-r--r-- | meta-oe/recipes-bsp/fwupd/fwupd-efi/0001-efi-generate_binary.py-Use-env-to-detect-python3.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-oe/recipes-bsp/fwupd/fwupd-efi/0001-efi-generate_binary.py-Use-env-to-detect-python3.patch b/meta-oe/recipes-bsp/fwupd/fwupd-efi/0001-efi-generate_binary.py-Use-env-to-detect-python3.patch new file mode 100644 index 0000000000..c362681421 --- /dev/null +++ b/meta-oe/recipes-bsp/fwupd/fwupd-efi/0001-efi-generate_binary.py-Use-env-to-detect-python3.patch | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | From 4c8f95fedecbc590eb7cd98aaf97912fa36b8f2e Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Fri, 7 Jun 2024 23:58:36 -0700 | ||
| 4 | Subject: [PATCH] efi/generate_binary.py: Use env to detect python3 | ||
| 5 | |||
| 6 | This enables python3 from native sysroot correctly | ||
| 7 | |||
| 8 | Upstream-Status: Pending | ||
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 10 | --- | ||
| 11 | efi/generate_binary.py | 2 +- | ||
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 13 | |||
| 14 | diff --git a/efi/generate_binary.py b/efi/generate_binary.py | ||
| 15 | index 443472a..a4611bb 100755 | ||
| 16 | --- a/efi/generate_binary.py | ||
| 17 | +++ b/efi/generate_binary.py | ||
| 18 | @@ -1,4 +1,4 @@ | ||
| 19 | -#!/usr/bin/python3 | ||
| 20 | +#!/usr/bin/env python3 | ||
| 21 | # | ||
| 22 | # Copyright (C) 2021 Javier Martinez Canillas <javierm@redhat.com> | ||
| 23 | # Copyright (C) 2021 Richard Hughes <richard@hughsie.com> | ||
