On 2015-10-19 23:35, Luca Boccassi wrote: >> Hmm, looking at it again, this needs to be fixed in bumblebee-nvidia. >> >> Package: bumblebee-nvidia >> Depends: glx-alternative-nvidia (>= 0.6.92) >> >> (note: glx-alternative-nvidia does not exist in Ubuntu) > > This is going to be an issue I'm afraid. It would mean forking the > packaging branch. Vincent, what do you think about this?
No forking. Substvars and scripts being customized at build time should be sufficient, see nvidia-cuda-toolkit (same source package for Ubuntu and Debian). > Also, given that the hook is run in the postinst, doesn't that mean > bumblebee would need to pre-depend on glx-alternative-nvidia? Otherwise > it might not be configured by the time bumblebee's postinst runs, right? postinst is fine, all dependencies are satisfied, only preinst would require a pre-depends. Andreas

