Skip to content

Commit 24f09e8

Browse files
committed
Revert "DLPX-87969 Modify kernel build to include Delphix's custom annotations (#300)"
This reverts commit 500a233.
1 parent 9943f59 commit 24f09e8

File tree

3 files changed

+2
-253
lines changed

3 files changed

+2
-253
lines changed

default-package-config.sh

+1-15
Original file line numberDiff line numberDiff line change
@@ -171,21 +171,7 @@ function kernel_build() {
171171
# system. This is useful as it allows us to override various
172172
# kernel config options via an annotations file, which we use to
173173
# disable various kernel modules that we don't need or want.
174-
# The kernel provides a mechanism to manipulate the annotations via
175-
# a python script at `debian/scripts/misc/annotations`. The script
176-
# is first used to export the Delphix's annotations file to an old-style
177-
# config, which in turn is imported back into the kernel's base
178-
# annotations. This allows us to maintain a partial set of annotations
179-
# that are only relevant to our product. At the time of writing this,
180-
# there was no direct way to import a partial annotations file into the base
181-
# annotations file without first converting it to an old-style config.
182-
#
183-
. debian/debian.env
184-
local architecture
185-
architecture=$(dpkg-architecture -q DEB_HOST_ARCH 2>/dev/null)
186-
logmust debian/scripts/misc/annotations -f "${WORKDIR}/../../../resources/delphix_kernel_annotations" --arch "${architecture}" --flavour "${platform}" --export >delphix.config
187-
logmust debian/scripts/misc/annotations -f ${DEBIAN}/config/annotations --arch "${architecture}" --flavour "${platform}" --update delphix.config
188-
174+
#
189175
logmust fakeroot debian/rules updateconfigs "${debian_rules_args[@]}" do_skip_checks=true
190176

191177
logmust fakeroot debian/rules "binary" "${debian_rules_args[@]}"

packages/linux-kernel-aws/config.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#
1919
# We currently support getting the linux kernel from 3 different sources:
2020
# 1. Building it from code: see config.delphix.sh
21-
# 2. Downloading from apt: see config.archive.sh
21+
# 2. Dowloading from apt: see config.archive.sh
2222
# 3. Pre-built kernel stored in artifactory: see config.prebuilt.sh
2323
#
2424

0 commit comments

Comments
 (0)