diff options
author | Simon Rettberg | 2020-04-27 14:09:12 +0200 |
---|---|---|
committer | Simon Rettberg | 2020-04-27 14:09:12 +0200 |
commit | ebbdf079eb68b3fcdf7dcd635ba7747ffb25091c (patch) | |
tree | 9b08afc19c14e843827d2b10a68625628a8fabf1 /core/modules/nvidia-common | |
parent | [kernel-vanilla] Update to 4.19.118 (diff) | |
download | mltk-ebbdf079eb68b3fcdf7dcd635ba7747ffb25091c.tar.gz mltk-ebbdf079eb68b3fcdf7dcd635ba7747ffb25091c.tar.xz mltk-ebbdf079eb68b3fcdf7dcd635ba7747ffb25091c.zip |
[nvidia-common] Don't redownload supportedchips.html all the time
Diffstat (limited to 'core/modules/nvidia-common')
-rw-r--r-- | core/modules/nvidia-common/module.build | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/modules/nvidia-common/module.build b/core/modules/nvidia-common/module.build index c402f5d2..cf648656 100644 --- a/core/modules/nvidia-common/module.build +++ b/core/modules/nvidia-common/module.build @@ -32,7 +32,9 @@ build() { pdebug "Unpacking NVidia-Installer ..." [ -d "$destdir" ] && rm -rf "$destdir" sh "$bundle" --extract-only --target "$destdir" || perror "Could not extract $bundle to $destdir." - download "${REQUIRED_HTML//%VERSION%/$version}" "$builddir/supportedchips.html" + if ! [ -s "$builddir/supportedchips.html" ]; then + download "${REQUIRED_HTML//%VERSION%/$version}" "$builddir/supportedchips.html" + fi local KMOD_ERROR="(ERROR: The nvidia kernel module was not created.|.ko failed to build)" local KMOD_LOG="/var/log/nvidia-installer.kmod.log" pinfo "Ready to chroot - may take some time." |