From de3b0a65fa633f3c7cb05138086390463336d38f Mon Sep 17 00:00:00 2001 From: Tim Crawford Date: Wed, 29 Sep 2021 08:10:27 -0600 Subject: [PATCH] scripts: Add Python2 to deps coreboot requires python2 explicitly when using the FSP submodule as the source for FSP binaries. python2 3rdparty/fsp/Tools/SplitFspBin.py ... Signed-off-by: Tim Crawford --- scripts/deps.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/deps.sh b/scripts/deps.sh index 6007d30..0d5f440 100755 --- a/scripts/deps.sh +++ b/scripts/deps.sh @@ -35,6 +35,7 @@ if [[ "${ID}" =~ "debian" ]] || [[ "${ID_LIKE}" =~ "debian" ]]; then nasm \ parted \ python-is-python3 \ + python2 \ python3-distutils \ sdcc \ uuid-dev \ @@ -60,6 +61,9 @@ elif [[ "${ID}" =~ "fedora" ]] || [[ "${ID_LIKE}" =~ "fedora" ]]; then ncurses-devel \ parted \ patch \ + python-unversioned-command \ + python2 \ + python3 \ sdcc \ systemd-devel \ vim-common \ @@ -86,6 +90,7 @@ elif [[ "${ID}" =~ "arch" ]] || [[ "${ID_LIKE}" =~ "arch" ]]; then patch \ python \ python-distutils-extra \ + python2 \ sdcc \ systemd-libs \ vim