Page MenuHomeFreeBSD

pkg.conf: Use kmod repositories
ClosedPublic

Authored by cperciva on Wed, May 28, 9:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 29, 5:50 PM
Unknown Object (File)
Thu, May 29, 5:25 PM

Details

Summary

The kmod repositories were added shortly after 14.2-RELEASE. Point at
them here so that users don't need to manually add the configuration
in order to get e.g. working graphics.

MFC after: 1 day
Sponsored by: Amazon

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

usr.sbin/pkg/FreeBSD.conf.latest
16

Should we have a "priority" value here to make sure people get kernel modules from the FreeBSD-kmods repository rather than from the FreeBSD repository?

If this is approved, I will merge it for 14.3-RC1.

This revision was not accepted when it landed; it landed in state Needs Review.Thu, May 29, 7:58 PM
This revision was automatically updated to reflect the committed changes.

Thank you. It's a highly appreciated and long-awaited change. Will this make it into 14.3 ?

Edit:
I am sorry for the noise. I wish I had read all the comments above before asking.

Concerning priority, even setting a higher priority didn't help in my case to seamlessly switch to the kmod repo, pkg(8) insisted on using the previous repo, only hiding the old one helped. It looks like pkg(8), when doing the upgrade, sticks to the repo where pkg was found earlier.

Anyway, the existence of this repo will come to the awareness of the wider userbase, and thus many possible to be reported in future bug reports regarding drm-kmod will never show up.

… setting a higher priority didn't help in my case …

From https://www.reddit.com/r/freebsd/comments/1ktnhfd/comment/mugiwhv/:

It may be necessary to specify a repository name when you require an upgrade to a non-base kernel module.

Questions may be addressed to the freebsd-questions list. Thanks.

usr.sbin/pkg/FreeBSD.conf.latest
17

CURRENT needs either _${VERSION_MINOR} removal from the config file or some kind of alias in the repository redirecting to the right place.

OSZAR »