Only copy 64-bit driver for Marvell network

This commit is contained in:
Manuel Thalmann 2023-07-27 23:14:05 +02:00
parent 8e2c1f1860
commit a199dc30b2

View file

@ -50,7 +50,10 @@ else
fi;
mkdir -p "$overlayDir/drivers";
unzip "$marvellNetworkArchive" -d "$overlayDir/drivers/MarvellNetwork";
tempDir="$(mktemp -d)";
unzip "$marvellNetworkArchive" -d "$tempDir";
cp -r "$tempDir/x64" "$overlayDir/drivers/MarvellNetwork";
rm -rf "$tempDir";
mkdir -p "$overlayDir/git";
pushd "$overlayDir/git" > /dev/null;