-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split the CUDADriver recipe into a download and a munki part. #1
Conversation
Sorry I didn't see this before now (wasn't watching the repo). It appears you've got non-download things in the download recipe. I think only the three processors (CUDADriverURLProvider, URLDownloader, and EndOfCheckPhase) ought to be in the download. |
I wasn't sure about whether determining the version should be part of the download or part of the import. The way it is in my pull request made more sense to me as determining the version is generic to all importers. I've noticed that https://partners.download.nvidia.com/activation/cuda_update_macos.xml contains the exact version number in the |
This makes sense — I hadn't considered that. I was focused on the way it's usually done.
This introduces an element of trust that Nvidia know what they're doing. I would think to the spirit of autopkg it would want to get what the package itself thinks it's version is (since that's whats going to be installed). However I'd be willing to give it a try. Perhaps @timsutton might have a perspective (I think he uses this package, too). All that being said it'd be nice to skip all the pkg extraction crap. |
I'm guessing Nvidia's auto-updater checks that exact same key against the installed version. So as long as that XML file stays there and keeps its current format (both of which we already depend on), it should be safe to depend on the |
Okay, you've convinced me. :) Can you update the pull to reflect all that? |
Force SSLv3 because the server does not seem to like urllib2's default of SSLv2+SSLv3 anymore.
Here's the commit for using On a different note, the
As urllib before Python 3 does not support customized openers, I figured using |
Yikes, sorry for not seeing updates on this! What's the current status? The CUDADriver package appears to be downloading fine now — perhaps they relaxed the requirement? |
This probably depends on the system Python version. Most web servers now disable SSLv3 for security reasons, and probably only newer Python versions (OS X 10.10 and higher maybe?) default to TLS. So I'd suggest keeping the |
For me the recipe currently works without |
Here's the commit that merges the latest changes from master. I think the pull request is ready to merge now. |
Split the CUDADriver recipe into a download and a munki part; OS version matching changes.
…eator from PR #1. Only noticed issue when trying on a fresh autopkg Cache.
Split the CUDADriver recipe into a download and a Munki part. That way, I can use it with the Importer I wrote for MunkiServer.