0001-use-python3-specifically-in-scripts.patch 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. From a21f175947d7186e0b5554826e1ae51880a6cfb8 Mon Sep 17 00:00:00 2001
  2. From: Leah Rowe <leah@libreboot.org>
  3. Date: Sun, 13 Mar 2022 18:02:26 +0000
  4. Subject: [PATCH 1/1] use python3 specifically, in scripts
  5. some systems don't have a python binary anymore, only python2 and
  6. python3 binaries, without creating a symlink to either of them
  7. ---
  8. scripts/acpi_extract.py | 2 +-
  9. scripts/acpi_extract_preprocess.py | 2 +-
  10. 2 files changed, 2 insertions(+), 2 deletions(-)
  11. diff --git a/scripts/acpi_extract.py b/scripts/acpi_extract.py
  12. index 3ed863b..eb910f3 100755
  13. --- a/scripts/acpi_extract.py
  14. +++ b/scripts/acpi_extract.py
  15. @@ -1,4 +1,4 @@
  16. -#!/usr/bin/python
  17. +#!/usr/bin/python3
  18. # Copyright (C) 2011 Red Hat, Inc., Michael S. Tsirkin <mst@redhat.com>
  19. #
  20. # This file may be distributed under the terms of the GNU GPLv3 license.
  21. diff --git a/scripts/acpi_extract_preprocess.py b/scripts/acpi_extract_preprocess.py
  22. index 2698118..6963847 100755
  23. --- a/scripts/acpi_extract_preprocess.py
  24. +++ b/scripts/acpi_extract_preprocess.py
  25. @@ -1,4 +1,4 @@
  26. -#!/usr/bin/python
  27. +#!/usr/bin/python3
  28. # Copyright (C) 2011 Red Hat, Inc., Michael S. Tsirkin <mst@redhat.com>
  29. #
  30. # This file may be distributed under the terms of the GNU GPLv3 license.
  31. --
  32. 2.25.1