seabios: use python2 explicitly as needed
authorBruce Rogers <brogers@suse.com>
Thu, 27 Jun 2019 16:15:24 +0000 (10:15 -0600)
committerwanchao-xu <wanchao.xu@samsung.com>
Tue, 9 Jan 2024 11:58:34 +0000 (19:58 +0800)
Switch to python2 the places where "python" is explicitly referenced.
(Ignore the uses of #!/usr/bin/env python, since that usage does the
right thing in our build environment).

Signed-off-by: Bruce Rogers <brogers@suse.com>
roms/seabios/Makefile
roms/seabios/scripts/acpi_extract.py
roms/seabios/scripts/acpi_extract_preprocess.py

index 5f7d5370198abac950b24e08a7aa69e133562028..de1fa90035b82ef3608d68d62f59f132a47c0c55 100644 (file)
@@ -22,7 +22,7 @@ LD=$(CROSS_PREFIX)ld
 OBJCOPY=$(CROSS_PREFIX)objcopy
 OBJDUMP=$(CROSS_PREFIX)objdump
 STRIP=$(CROSS_PREFIX)strip
-PYTHON=python
+PYTHON=python2
 CPP=cpp
 IASL:=iasl
 LD32BIT_FLAG:=-melf_i386
index 3ed863b6a79412a1276bb905d08f92bd677e9e09..86c6226c0f9aae4e4687cf216369878a3269c95c 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
 # Copyright (C) 2011 Red Hat, Inc., Michael S. Tsirkin <mst@redhat.com>
 #
 # This file may be distributed under the terms of the GNU GPLv3 license.
index 2698118406d97c164783335c7fb6cbfa6239183b..b8e92a525730442815a0dce78f45bec6bbd54a00 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
 # Copyright (C) 2011 Red Hat, Inc., Michael S. Tsirkin <mst@redhat.com>
 #
 # This file may be distributed under the terms of the GNU GPLv3 license.