summaryrefslogtreecommitdiff
path: root/config/git/biosutilities
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-05-03 13:15:40 +0100
committerLeah Rowe <leah@libreboot.org>2025-05-03 13:28:47 +0100
commit72f4412a52df60bd2d3f01a4c8dc138334ffe434 (patch)
treec07ea3a8f28b9850cdfa5dcdf25678eeaed94282 /config/git/biosutilities
parentbf569d2b4dcbf8efc648da1a87803eefd4b892dc (diff)
inject.sh: simplified fsp extraction
we know that _dest is always what's set in the coreboot config, without the ../../../ in it, so just copy both files in a single function, and call the function twice. if both files are done on the first call, the second call will be skipped. if only the first file was done on the first call, running the download script again will skip the first one, and grab the second one. this also avoids having to run the decat function twice, in most cases, so it's a tiny optimisation. this optimisation only works if both fsp files (s and m) are to be extracted into the same directory, which is the case anyway, and this will always be the case. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'config/git/biosutilities')
0 files changed, 0 insertions, 0 deletions