Skip to content

Commit 75975c6

Browse files
committed
DLPX-93401 LTS 24.04: Kernel builds require delphix-rust-src to be installed
PR URL: https://www.github.com/delphix/linux-pkg/pull/335
1 parent 11c86fc commit 75975c6

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

default-package-config.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,19 @@ function merge_with_upstream() {
3434
#
3535
# The functions below are specific for the Linux kernel packages
3636
# and contain the majority of their common code.
37+
# This also installs the `delphix-rust` and `delphix-rust-src`
38+
# packages to satisfy the kernel's dependency on the rust toolchain
39+
# by ensuring that Delphix's version of the rust toolchain is
40+
# installed. Delphix's rust toolchain is supplied via virtual
41+
# packages and hence must be installed explicitly otherwise apt
42+
# installs the Ubuntu's version of the rust toolchain.
3743
#
3844
function kernel_prepare() {
3945
logmust install_pkgs \
40-
equivs \
46+
delphix-rust \
47+
delphix-rust-src \
4148
devscripts \
49+
equivs \
4250
kernel-wedge
4351
}
4452

0 commit comments

Comments
 (0)