diff --git a/.gitignore b/.gitignore index a74d3d3..9f63143 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1 @@ -NVIDIA-Linux-armv7l-gnueabihf-337.25.run -NVIDIA-Linux-x86-337.25.run NVIDIA-Linux-x86_64-337.25.run diff --git a/nvidia-snapshot.sh b/nvidia-snapshot.sh index 5c0ce57..feead63 100755 --- a/nvidia-snapshot.sh +++ b/nvidia-snapshot.sh @@ -16,10 +16,6 @@ nvspec=$(ls ${pwd}/xorg-x11-drv-nvidia*.spec) version=$(grep ^Version: ${nvspec} | awk '{print $2}') arches="$(grep ^ExclusiveArch: ${nvspec} | awk '{print $2,$3,$4}')" - -#Avoid to re-create an existing tarball - [ -e ${pwd}/nvidia-kmod-data-${version}.tar.xz ] && exit 0 - for arch in ${arches} ; do nvarch=${arch} [ ${arch} == i686 ] && nvarch=x86 @@ -27,8 +23,5 @@ for arch in ${arches} ; do if [ ! -e NVIDIA-Linux-${nvarch}-${version}.run ] ; then spectool --gf -S ${nvspec} fi - sh NVIDIA-Linux-${nvarch}-${version}.run --extract-only --target nvidiapkg-${arch} done -tar Jcf nvidia-kmod-data-${version}.tar.xz nvidiapkg-*/LICENSE nvidiapkg-*/kernel - diff --git a/sources b/sources index 0cb105c..a72696c 100644 --- a/sources +++ b/sources @@ -1,3 +1 @@ -37ac863b8cd5fb902f4252704e3b210d NVIDIA-Linux-armv7l-gnueabihf-337.25.run -2a217632ced8952e21000a51065f85b8 NVIDIA-Linux-x86-337.25.run 25a93e4f9e1888142082f4e1046eaa11 NVIDIA-Linux-x86_64-337.25.run