Skip to content

DLPX-94011 simplify kernel build and exclusion of dkms modules #346

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

Merged
Merged
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
12 changes: 4 additions & 8 deletions default-package-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ function kernel_prepare() {
"$DEPDIR"/delphix-rust/*.deb \
devscripts \
equivs \
kernel-wedge
kernel-wedge \
gawk
}

#
Expand Down Expand Up @@ -123,7 +124,7 @@ function kernel_build() {
# any intention and logic to provide signatures for now
# we set it to false to avoid any misconfigurations down
# the line.
# do_dkms_*=false
# dkms_exclude=*
# This disables the build of various out-of-tree kernel modules
# that we do not use in our product or that we provide separately.
#
Expand All @@ -132,12 +133,7 @@ function kernel_build() {
"do_tools_common=false"
"do_tools_host=false"
"uefi_signed=false"
"do_zfs=false"
"do_dkms_nvidia=false"
"do_dkms_nvidia_server=false"
"do_dkms_vbox=false"
"do_dkms_wireguard=false"
"dkms_exclude=v4l2loopback"
"dkms_exclude=zfs ipu6 iwlwifi v4l2loopback usbio"
"flavours=$platform"
"abinum=${delphix_abinum}"
)
Expand Down