feat: Use bsdtar to extract driver archive (#805)
Some checks are pending
Build / Test (push) Waiting to run
Build / Build (push) Blocked by required conditions

This commit is contained in:
Kroese 2024-10-13 21:14:38 +02:00 committed by GitHub
parent 16c3a047c2
commit a659c1c9da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 3 deletions

View file

@ -19,7 +19,8 @@ RUN set -eu && \
dos2unix \
cabextract \
genisoimage \
libxml2-utils && \
libxml2-utils \
libarchive-tools && \
apt-get clean && \
echo "$VERSION_ARG" > /run/version && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

View file

@ -1704,7 +1704,7 @@ prepareInstall() {
local msg="Adding drivers to image..."
info "$msg" && html "$msg"
if ! tar -xf /drivers.txz -C "$drivers" --warning=no-timestamp; then
if ! bsdtar -xf /drivers.txz -C "$drivers"; then
error "Failed to extract drivers!" && return 1
fi

View file

@ -725,7 +725,7 @@ addDrivers() {
local msg="Adding drivers to image..."
info "$msg" && html "$msg"
if ! tar -xf /drivers.txz -C "$drivers" --warning=no-timestamp; then
if ! bsdtar -xf /drivers.txz -C "$drivers"; then
error "Failed to extract drivers from archive!" && return 1
fi