summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-05-05 21:13:28 +0100
committerLeah Rowe <leah@libreboot.org>2025-05-05 21:13:28 +0100
commit73074dedee33bfa66edfc9a19dd9625598911518 (patch)
treeb5b4198f932a27d110c0aa8b7e97743066dda396
parent7585336b914d5d43ab85ba2f75fc5215be7782fb (diff)
inject.sh: Further simplified FSP extraction
We don't need the copy command at all, since the files it copies are the only ones that the Python script does anyway, so now we just make that script output to the directory, directly, where these files must go. Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--include/inject.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/inject.sh b/include/inject.sh
index fa6ac095..5c5e1e1c 100644
--- a/include/inject.sh
+++ b/include/inject.sh
@@ -260,7 +260,7 @@ copy_tbfw()
extract_fsp()
{
x_ python "$cbdir/3rdparty/fsp/Tools/SplitFspBin.py" split -f "$1" \
- -o "$2" -n "Fsp.fd" && x_ cp "$appdir/"Fsp_*.fd "${_dest%/*}"
+ -o "${_dest%/*}" -n "Fsp.fd"
}
fail_inject()