Skip to content
Discussion options

You must be logged in to vote

Hi @gc-user,

No harm at all. I would ship your own config file, don't depend on the other package just for its conf.

At boot core-services/02-kmods.sh runs void-runit's modules-load. It reads *.conf from /etc, /run and /usr/lib/modules-load.d, keeps one file per basename, and passes all modules to a single modprobe -ab. If a module is listed in two files, modprobe just sees it twice. For an already loaded module modprobe does nothing and returns 0. That's also why it works on your first system already.

Only thing to watch is the file name. Name it after your package (<yourpkg>.conf), not after the module. If both packages ship the same path, xbps refuses to install the second one because …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gc-user
Comment options

Answer selected by gc-user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants