From b786918b2b34531e3c50f03968c1232a5dc7ba1b Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 28 Sep 2025 11:27:16 +0100 Subject: 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 --- include/vendor.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') 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" -- cgit v1.2.1