Patch away kernel module check in freebsd-update#133
Conversation
This is a hack to avoid the slow and annoying check of installed kernel modules, which actually runs on the host system and has no value whatsoever when updating jails. There should be something done about this in freebsd-update at some point.
|
Example output from my machine, it's not helpful and takes a long time (at least if the connection is slow):
|
arrowd
left a comment
There was a problem hiding this comment.
The proper fix is to make upgrade_check_kmod_ports() to take the -b option into account.
For a temporary measure the change looks OK to me. Note that unrelated style fixes makes it harder to review. I usually try to put non-functional changes into a separate commit for that reason.
And probably
I agree, it was just so few that I didn't back them out this time. |
This is a hack to avoid the slow and annoying check of installed kernel modules, which actually runs on the host system and has no value whatsoever when updating jails.
There should be something done about this in freebsd-update at some point.
Pacified flake8 on the modified files while there.
Make sure to follow and check these boxes before submitting a PR! Thank you.