summaryrefslogtreecommitdiff
path: root/config/deguard/patches/0001-Replace-usr-bin-python3-with-usr-bin-env-python3.patch
diff options
context:
space:
mode:
authorLeah Rowe <vimuser@noreply.codeberg.org>2026-02-19 15:35:59 +0100
committerLeah Rowe <vimuser@noreply.codeberg.org>2026-02-19 15:35:59 +0100
commite6d9b82c628080fd87e90a002ddc7b818a0eba2f (patch)
treec12da4aea7c80168db29fff614ea0c5b31efa957 /config/deguard/patches/0001-Replace-usr-bin-python3-with-usr-bin-env-python3.patch
parenta2c571558997b1bd7c4a9a61a7769feacbfef486 (diff)
parent47bf8e69e84298929d6894837f54b514e6893c7b (diff)
Merge pull request 'supermicro x11ssh_f: Use deguard-configured ME image instead of SPS and disable ME HECI in devicetree' (#404) from noisytoot/supermicro-x11ssh-f into master
Reviewed-on: https://codeberg.org/libreboot/lbmk/pulls/404
Diffstat (limited to 'config/deguard/patches/0001-Replace-usr-bin-python3-with-usr-bin-env-python3.patch')
-rw-r--r--config/deguard/patches/0001-Replace-usr-bin-python3-with-usr-bin-env-python3.patch61
1 files changed, 61 insertions, 0 deletions
diff --git a/config/deguard/patches/0001-Replace-usr-bin-python3-with-usr-bin-env-python3.patch b/config/deguard/patches/0001-Replace-usr-bin-python3-with-usr-bin-env-python3.patch
new file mode 100644
index 00000000..d5dc0dcc
--- /dev/null
+++ b/config/deguard/patches/0001-Replace-usr-bin-python3-with-usr-bin-env-python3.patch
@@ -0,0 +1,61 @@
+From 80a8aeec376621b633634a092aa13e795de2fbce Mon Sep 17 00:00:00 2001
+From: Ron Nazarov <ron@noisytoot.org>
+Date: Sat, 14 Feb 2026 18:13:21 +0000
+Subject: [PATCH 1/4] Replace "#!/usr/bin/python3" with "#!/usr/bin/env
+ python3"
+
+Makes this work on Guix, which has /usr/bin/env but does not install
+python3 into /usr/bin.
+
+Change-Id: I5da9d2e975f6465ce5eea27476152afffe301112
+Signed-off-by: Ron Nazarov <ron@noisytoot.org>
+---
+ finalimage.py | 2 +-
+ gen_shellcode.py | 2 +-
+ generatedelta.py | 2 +-
+ mfsutil.py | 2 +-
+ 4 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/finalimage.py b/finalimage.py
+index c77f5f4..e3fbd01 100755
+--- a/finalimage.py
++++ b/finalimage.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python3
++#!/usr/bin/env python3
+ # SPDX-License-Identifier: GPL-2.0-only
+
+ import argparse
+diff --git a/gen_shellcode.py b/gen_shellcode.py
+index 1d8fbfb..0e1130a 100755
+--- a/gen_shellcode.py
++++ b/gen_shellcode.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python3
++#!/usr/bin/env python3
+ # SPDX-License-Identifier: GPL-2.0-only
+
+ import argparse
+diff --git a/generatedelta.py b/generatedelta.py
+index 9153d61..0b35c1f 100755
+--- a/generatedelta.py
++++ b/generatedelta.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python3
++#!/usr/bin/env python3
+ # SPDX-License-Identifier: GPL-2.0-only
+
+ import argparse
+diff --git a/mfsutil.py b/mfsutil.py
+index 246d213..7171e5f 100755
+--- a/mfsutil.py
++++ b/mfsutil.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python3
++#!/usr/bin/env python3
+ # SPDX-License-Identifier: GPL-2.0-only
+ # This code is based on MFSUtil by Youness Alaoui (see `doc/LICENSE.orig` for original copyright)
+
+--
+2.52.0
+