File tree Expand file tree Collapse file tree 6 files changed +58
-1
lines changed Expand file tree Collapse file tree 6 files changed +58
-1
lines changed Original file line number Diff line number Diff line change @@ -34,11 +34,18 @@ 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#
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,16 @@ 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+ # This also installs the `delphix-rust` and `delphix-rust-src`
27+ # packages to satisfy the kernel's dependency on the rust toolchain
28+ # by ensuring that Delphix's version of the rust toolchain is
29+ # installed. Delphix's rust toolchain is supplied via virtual
30+ # packages and hence must be installed explicitly otherwise apt
31+ # installs the Ubuntu's version of the rust toolchain.
32+ #
33+ PACKAGE_DEPENDENCIES=" delphix-rust"
34+
2535#
2636# Force push required when syncing with upstream because we perform a rebase.
2737#
Original file line number Diff line number Diff line change @@ -22,6 +22,16 @@ 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+ # This also installs the `delphix-rust` and `delphix-rust-src`
27+ # packages to satisfy the kernel's dependency on the rust toolchain
28+ # by ensuring that Delphix's version of the rust toolchain is
29+ # installed. Delphix's rust toolchain is supplied via virtual
30+ # packages and hence must be installed explicitly otherwise apt
31+ # installs the Ubuntu's version of the rust toolchain.
32+ #
33+ PACKAGE_DEPENDENCIES=" delphix-rust"
34+
2535#
2636# Force push required when syncing with upstream because we perform a rebase.
2737#
Original file line number Diff line number Diff line change @@ -22,6 +22,16 @@ 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+ # This also installs the `delphix-rust` and `delphix-rust-src`
27+ # packages to satisfy the kernel's dependency on the rust toolchain
28+ # by ensuring that Delphix's version of the rust toolchain is
29+ # installed. Delphix's rust toolchain is supplied via virtual
30+ # packages and hence must be installed explicitly otherwise apt
31+ # installs the Ubuntu's version of the rust toolchain.
32+ #
33+ PACKAGE_DEPENDENCIES=" delphix-rust"
34+
2535#
2636# Force push required when syncing with upstream because we perform a rebase.
2737#
Original file line number Diff line number Diff line change @@ -22,6 +22,16 @@ 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+ # This also installs the `delphix-rust` and `delphix-rust-src`
27+ # packages to satisfy the kernel's dependency on the rust toolchain
28+ # by ensuring that Delphix's version of the rust toolchain is
29+ # installed. Delphix's rust toolchain is supplied via virtual
30+ # packages and hence must be installed explicitly otherwise apt
31+ # installs the Ubuntu's version of the rust toolchain.
32+ #
33+ PACKAGE_DEPENDENCIES=" delphix-rust"
34+
2535#
2636# Force push required when syncing with upstream because we perform a rebase.
2737#
Original file line number Diff line number Diff line change @@ -22,6 +22,16 @@ 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+ # This also installs the `delphix-rust` and `delphix-rust-src`
27+ # packages to satisfy the kernel's dependency on the rust toolchain
28+ # by ensuring that Delphix's version of the rust toolchain is
29+ # installed. Delphix's rust toolchain is supplied via virtual
30+ # packages and hence must be installed explicitly otherwise apt
31+ # installs the Ubuntu's version of the rust toolchain.
32+ #
33+ PACKAGE_DEPENDENCIES=" delphix-rust"
34+
2535#
2636# Force push required when syncing with upstream because we perform a rebase.
2737#
You can’t perform that action at this time.
0 commit comments