summaryrefslogtreecommitdiff
path: root/include/vendor.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-09-28 11:27:16 +0100
committerLeah Rowe <leah@libreboot.org>2025-09-28 11:27:16 +0100
commitb786918b2b34531e3c50f03968c1232a5dc7ba1b (patch)
tree68ace39fc224768260d2ad0d43f1c9056ec8d27e /include/vendor.sh
parentc6939cf390f8733d1e2e7f98300e560d95ff271c (diff)
vendor.sh: use bsdunzip, not unzip
most implementations of unzip are info-zip we already compile libarchive for bsdtar, to extract rar archives in vendor.sh now we also use bsdunzip Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/vendor.sh')
-rw-r--r--include/vendor.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/vendor.sh b/include/vendor.sh
index f2024334..6f3bc249 100644
--- a/include/vendor.sh
+++ b/include/vendor.sh
@@ -18,6 +18,7 @@ me7updateparser="$xbmkpwd/util/me7_update_parser/me7_update_parser.py"
pfs_extract="$xbmkpwd/src/biosutilities/Dell_PFS_Extract.py"
uefiextract="$xbmkpwd/elf/uefitool/uefiextract"
bsdtar="$xbmkpwd/elf/libarchive/bsdtar"
+bsdunzip="$xbmkpwd/elf/libarchive/bsdunzip"
vendir="vendorfiles"
appdir="$vendir/app"
vfix="DO_NOT_FLASH_YET._FIRST,_INJECT_FILES_VIA_INSTRUCTIONS_ON_LIBREBOOT.ORG_"
@@ -299,7 +300,7 @@ extract_archive()
:
elif "$bsdtar" -C "$2" -xf "$1"; then
:
- elif unzip "$1" -d "$2"; then
+ elif "$bsdunzip" "$1" -d "$2"; then
:
else
return 1
@@ -443,7 +444,7 @@ bootstrap()
x_ ./mk -b bios_extract
x_ ./mk -b biosutilities
x_ ./mk -b uefitool
- x_ ./mk -b libarchive # for bsdtar
+ x_ ./mk -b libarchive # for bsdtar and bsdunzip
if [ -d "${kbc1126_ec_dump%/*}" ]; then
x_ make -C "$cbdir/util/kbc1126"