Skip to content

Commit

Permalink
feat: Use bsdtar to extract drivers archive (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Oct 13, 2024
1 parent 7016a9c commit 7777c17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/*
Expand Down
2 changes: 1 addition & 1 deletion src/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7777c17

Please sign in to comment.