Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the qubes-pciback module omittable #178

Merged
merged 1 commit into from
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions dracut/dracut.conf.d/30-qubes.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ add_dracutmodules+=" extra-modules "
# pciback kernel module.
omit_dracutmodules+=" network kernel-network-modules "

# This is to include Qubes-specific dracut module that takes care of
# detecting and hiding all networking devices at boot time
# so that Dom0 doesn't load drivers for them...
add_dracutmodules+=" qubes-pciback "

# reduced syslog verbosity avoids lsinitrd call - this avoids 'cat: Broken
# pipe' confusing message, but also makes dracut call faster.
sysloglvl=4
7 changes: 7 additions & 0 deletions dracut/modules.d/90qubes-pciback/module-setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
#!/bin/bash
# This is a Qubes-specific dracut module that takes care of detecting and
# hiding all networking devices (and optionally USB devices) at boot time so
# that Dom0 doesn't load drivers for them...

check() {
return 0
}

install () {
inst_hook cmdline 02 "$moddir/qubes-pciback.sh"
Expand Down