drivers: ensure DEBIAN_FRONTEND=noninteractive on install #1969
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
If ubuntu-drivers picks a dkms package to install, the ubuntu-drivers process will hang on an unsupressed debconf prompt to enter a MOK enrollment key (LP: #2060353).
Somehow, I didn't encounter this bug with broadcom-sta-dkms. Although after looking at the logs/doing some tests with that package, there appears to be some dpkg failures with that package that were stopping the prompt from coming up at all.
Testing this with the LP: #2060353 conditions will take some time to set up since I have to do an offline install now the archive is fixed, and I'm deferring this to later as it's not urgent, but it should just DTRT. You can simulate the good vs bad condition this with autoinstall today with the following late-commands snippets:
hangs:
completes: