File tree Expand file tree Collapse file tree 6 files changed +38
-1
lines changed Expand file tree Collapse file tree 6 files changed +38
-1
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,17 @@ function merge_with_upstream() {
3535# The functions below are specific for the Linux kernel packages
3636# and contain the majority of their common code.
3737#
38+ # Ensure that Delphix's version of the rust toolchain is
39+ # installed rather than Ubuntu's version to satisfy the kernel's
40+ # dependency on the rust toolchain. Delphix's rust toolchain is
41+ # supplied via virtual packages and hence must be installed explicitly
42+ # otherwise apt installs the Ubuntu's version of the rust toolchain.
43+ #
3844function kernel_prepare() {
3945 logmust install_pkgs \
40- equivs \
46+ " $DEPDIR " /delphix-rust/ * .deb \
4147 devscripts \
48+ equivs \
4249 kernel-wedge
4350}
4451
Original file line number Diff line number Diff line change @@ -22,6 +22,12 @@ UPSTREAM_GIT_URL="https://git.launchpad.net/~canonical-kernel/ubuntu/+source/lin
2222# Note: UPSTREAM_GIT_BRANCH is not used here
2323UPSTREAM_GIT_BRANCH=" none"
2424
25+ #
26+ # Ensure that Delphix's version of the rust toolchain is
27+ # installed rather than Ubuntu's version.
28+ #
29+ PACKAGE_DEPENDENCIES=" delphix-rust"
30+
2531#
2632# Force push required when syncing with upstream because we perform a rebase.
2733#
Original file line number Diff line number Diff line change @@ -22,6 +22,12 @@ UPSTREAM_GIT_URL="https://git.launchpad.net/~canonical-kernel/ubuntu/+source/lin
2222# Note: UPSTREAM_GIT_BRANCH is not used here
2323UPSTREAM_GIT_BRANCH=" none"
2424
25+ #
26+ # Ensure that Delphix's version of the rust toolchain is
27+ # installed rather than Ubuntu's version.
28+ #
29+ PACKAGE_DEPENDENCIES=" delphix-rust"
30+
2531#
2632# Force push required when syncing with upstream because we perform a rebase.
2733#
Original file line number Diff line number Diff line change @@ -22,6 +22,12 @@ UPSTREAM_GIT_URL="https://git.launchpad.net/~canonical-kernel/ubuntu/+source/lin
2222# Note: UPSTREAM_GIT_BRANCH is not used here
2323UPSTREAM_GIT_BRANCH=" none"
2424
25+ #
26+ # Ensure that Delphix's version of the rust toolchain is
27+ # installed rather than Ubuntu's version.
28+ #
29+ PACKAGE_DEPENDENCIES=" delphix-rust"
30+
2531#
2632# Force push required when syncing with upstream because we perform a rebase.
2733#
Original file line number Diff line number Diff line change @@ -22,6 +22,12 @@ UPSTREAM_GIT_URL="https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/
2222# Note: UPSTREAM_GIT_BRANCH is not used here
2323UPSTREAM_GIT_BRANCH=" none"
2424
25+ #
26+ # Ensure that Delphix's version of the rust toolchain is
27+ # installed rather than Ubuntu's version.
28+ #
29+ PACKAGE_DEPENDENCIES=" delphix-rust"
30+
2531#
2632# Force push required when syncing with upstream because we perform a rebase.
2733#
Original file line number Diff line number Diff line change @@ -22,6 +22,12 @@ UPSTREAM_GIT_URL="https://git.launchpad.net/~canonical-kernel/ubuntu/+source/lin
2222# Note: UPSTREAM_GIT_BRANCH is not used here
2323UPSTREAM_GIT_BRANCH=" none"
2424
25+ #
26+ # Ensure that Delphix's version of the rust toolchain is
27+ # installed rather than Ubuntu's version.
28+ #
29+ PACKAGE_DEPENDENCIES=" delphix-rust"
30+
2531#
2632# Force push required when syncing with upstream because we perform a rebase.
2733#
You can’t perform that action at this time.
0 commit comments