From d509765a583eb1cab1941ffd306370fa0a7f256e Mon Sep 17 00:00:00 2001 From: Palash Gandhi <87093175+palash-gandhi@users.noreply.github.com> Date: Wed, 2 Oct 2024 10:36:09 -0700 Subject: [PATCH 01/13] DLPX-91976 Step 4: linux-pkg: Prepare and update Ubuntu distribution pointer to new version (#322) PR URL: https://www.github.com/delphix/linux-pkg/pull/322 --- README.md | 2 +- default-package-config.sh | 6 +----- lib/common.sh | 6 +++--- packages/misc-debs/config.sh | 5 +---- 4 files changed, 6 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 4efa6b02..ae292b4b 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ projects. ## System Requirements -This framework is intended to be run on an Ubuntu 20.04 system with some basic +This framework is intended to be run on an Ubuntu 24.04 system with some basic developer packages installed, such as git, and passwordless sudo enabled. Note that it will automatically install various build-dependencies on the system, so as a safety precaution it is currently restricted to only run on an AWS instance diff --git a/default-package-config.sh b/default-package-config.sh index 93f962c3..1a721d4e 100644 --- a/default-package-config.sh +++ b/default-package-config.sh @@ -262,11 +262,7 @@ function kernel_update_upstream() { local tag_prefix_flavour case "${platform}" in generic) - if [[ "$UBUNTU_DISTRIBUTION" == focal ]]; then - tag_prefix_flavour="Ubuntu-hwe" - else - tag_prefix_flavour="Ubuntu" - fi + tag_prefix_flavour="Ubuntu" ;; aws | azure | gcp | oracle) tag_prefix_flavour="Ubuntu-${platform}" diff --git a/lib/common.sh b/lib/common.sh index a75f6cc7..d414a1bf 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -28,7 +28,7 @@ export SUPPORTED_KERNEL_FLAVORS="generic aws gcp azure oracle" # export JENKINS_OPS_DIR="${JENKINS_OPS_DIR:-jenkins-ops}" -export UBUNTU_DISTRIBUTION="focal" +export UBUNTU_DISTRIBUTION="noble" # # We currently support getting the linux kernel from 3 different sources: @@ -1119,10 +1119,10 @@ function get_kernel_version_for_platform_from_apt() { # available, it is not always the case. # - if [[ "$platform" != generic ]] && [[ "$UBUNTU_DISTRIBUTION" == focal ]]; then + if [[ "$platform" != generic ]] && [[ "$UBUNTU_DISTRIBUTION" == noble ]]; then package="linux-image-${platform}" else - package="linux-image-${platform}-hwe-20.04" + package="linux-image-${platform}-hwe-24.04" fi if [[ "$(apt-cache show --no-all-versions "$package" \ diff --git a/packages/misc-debs/config.sh b/packages/misc-debs/config.sh index 3fc41b3b..36225319 100644 --- a/packages/misc-debs/config.sh +++ b/packages/misc-debs/config.sh @@ -47,10 +47,7 @@ SKIP_COPYRIGHTS_CHECK=true function fetch() { logmust cd "$WORKDIR/artifacts" - local debs=( - # Copied from https://s3.amazonaws.com/packages.treasuredata.com/4/ubuntu/focal/pool/contrib/t/td-agent/td-agent_4.4.2-1_arm64.deb - "td-agent_4.4.2-1_amd64.deb b40c1883c3849e9a7bf67762c9f9a87a6119ad98f1fae64a83d754e1275a379a" - ) + local debs=() local url="http://artifactory.delphix.com/artifactory/linux-pkg/misc-debs" From 811ec340325d4ef970b58a2041ecc921fdfea643 Mon Sep 17 00:00:00 2001 From: Palash Gandhi <87093175+palash-gandhi@users.noreply.github.com> Date: Tue, 14 Jan 2025 22:33:28 -0800 Subject: [PATCH 02/13] DLPX-92534 linux-pkg changes for LTS upgrade to 24.04 (#325) PR URL: https://www.github.com/delphix/linux-pkg/pull/325 --- .github/scripts/verify-query-packages.sh | 8 --- README.md | 7 +- default-package-config.sh | 19 +++--- lib/common.sh | 4 ++ package-lists/build/main.pkgs | 7 -- packages/adoptopenjdk/config.sh | 81 ------------------------ packages/bcc/config.sh | 39 ------------ packages/bpftrace/config.sh | 42 ------------ packages/connstat/config.sh | 2 +- packages/containerized-masking/config.sh | 6 +- packages/delphix-sso-app/config.sh | 6 +- packages/drgn/config.sh | 41 ------------ packages/fio/config.sh | 41 ------------ packages/libkdumpfile/config.sh | 34 ---------- packages/masking/config.sh | 6 +- packages/mold/config.sh | 34 ---------- packages/virtualization/config.sh | 6 +- packages/zfs/config.sh | 7 +- setup.sh | 14 +++- 19 files changed, 40 insertions(+), 364 deletions(-) delete mode 100755 packages/adoptopenjdk/config.sh delete mode 100644 packages/bcc/config.sh delete mode 100644 packages/bpftrace/config.sh delete mode 100644 packages/drgn/config.sh delete mode 100644 packages/fio/config.sh delete mode 100644 packages/libkdumpfile/config.sh delete mode 100644 packages/mold/config.sh diff --git a/.github/scripts/verify-query-packages.sh b/.github/scripts/verify-query-packages.sh index 65cc85f0..c4051171 100755 --- a/.github/scripts/verify-query-packages.sh +++ b/.github/scripts/verify-query-packages.sh @@ -30,14 +30,6 @@ read -r -a fields <<<"$(./query-packages.sh single -o git-url zfs 2>&1)" test ${#fields[@]} -eq 1 test "${fields[0]}" == 'https://github.com/delphix/zfs.git' -# Expect: "bpftrace bcc true https://github.com/delphix/bpftrace.git" -read -r -a fields <<<"$(./query-packages.sh single -o name,dependencies,can-update,git-url bpftrace 2>&1)" -test ${#fields[@]} -eq 4 -test "${fields[0]}" == 'bpftrace' -test "${fields[1]}" == 'bcc' -test "${fields[2]}" == 'true' -test "${fields[3]}" == 'https://github.com/delphix/bpftrace.git' - # Expect that "list all" outputs all directory names under packages/ diff <(ls -1 packages | sort) <(./query-packages.sh list all 2>&1 | sort) diff --git a/README.md b/README.md index ae292b4b..4a5aa0b4 100644 --- a/README.md +++ b/README.md @@ -280,12 +280,7 @@ of some of the scripts defined above. * **package_S3_URL**: Similar to the package_VAR variables above. This is used to override the default S3 location for where package build-dependencies are - fetched for a given linux-pkg package. For instance, if you are building - bpftrace, which has `PACKAGE_DEPENDENCIES="bcc"` in its config, the - `fetch_dependencies()` stage in the build will fetch the latest build - artifacts of the bcc package from a predetermined S3 location. If you pass - `BCC_S3_URL=s3://path/to/custom/bcc/artifacts` then those artifacts will be - fetched insteasd. + fetched for a given linux-pkg package. * **DELPHIX_PACKAGE_MIRROR_MAIN, DELPHIX_PACKAGE_MIRROR_SECONDARY**: When the [setup.sh](#setupsh) script is run, it will configure the apt sources diff --git a/default-package-config.sh b/default-package-config.sh index 1a721d4e..633013c6 100644 --- a/default-package-config.sh +++ b/default-package-config.sh @@ -53,8 +53,8 @@ function kernel_build() { local platform="$1" # # Note: Extra arguments can overwrite default arguments. - # For example in this function we default skipdbg - # to false, but if we pass "skipdbg=true" as an + # For example in this function we default do_dbgsym_package + # to false, but if we pass "do_dbgsym_package=true" as an # extra argument we will be overwriting this value # to true. This is because when a variable's value # is declared multiple times when invoking the @@ -103,25 +103,28 @@ function kernel_build() { echo "$kernel_version" >"$WORKDIR/artifacts/KERNEL_VERSION" # - # skipdbg=false + # do_dbgsym_package=true # We need debug info for our debugging tools to work. # Don't skip them. + # do_tools_common=false + # We do not need to build linux-tools-common package and we + # install it directly from our package mirror. + # do_tools_host=false + # We do not need to build linux-tools-host package. # uefi_signed=false # This variable defaults to true but since we don't have # any intention and logic to provide signatures for now # we set it to false to avoid any misconfigurations down # the line. - # disable_d_i=true - # This prevents udeb packages from being built as they are - # not consumed by the Delphix Appliance. # do_dkms_*=false # This disables the build of various out-of-tree kernel modules # that we do not use in our product or that we provide separately. # local debian_rules_args=( - "skipdbg=false" + "do_dbgsym_package=true" + "do_tools_common=false" + "do_tools_host=false" "uefi_signed=false" - "disable_d_i=true" "do_zfs=false" "do_dkms_nvidia=false" "do_dkms_nvidia_server=false" diff --git a/lib/common.sh b/lib/common.sh index d414a1bf..8ab5e044 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -616,6 +616,10 @@ function delphix_revision() { echo "delphix.$(date '+%Y.%m.%d.%H.%M')" } +function compare_versions() { + dpkg --compare-versions "$@" +} + function determine_dependencies_base_url() { [[ -n "$DEPENDENCIES_BASE_URL" ]] && return diff --git a/package-lists/build/main.pkgs b/package-lists/build/main.pkgs index d96c1fb9..452a6c83 100644 --- a/package-lists/build/main.pkgs +++ b/package-lists/build/main.pkgs @@ -2,9 +2,6 @@ # List of non-kernel packages to be included in the Delphix Appliance. # -adoptopenjdk -bcc -bpftrace challenge-response cloud-init crash-python @@ -13,20 +10,16 @@ delphix-go delphix-platform delphix-rust delphix-sso-app -drgn docker-python-image dwarves -fio fluentd-gems gdb-python grub2 host-jdks -libkdumpfile make-jpkg makedumpfile masking misc-debs -mold nfs-utils performance-diagnostics ptools diff --git a/packages/adoptopenjdk/config.sh b/packages/adoptopenjdk/config.sh deleted file mode 100755 index 8342afd9..00000000 --- a/packages/adoptopenjdk/config.sh +++ /dev/null @@ -1,81 +0,0 @@ -#!/usr/bin/env bash -# -# Copyright 2018, 2024 Delphix -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# shellcheck disable=SC2034 - -DEFAULT_PACKAGE_GIT_URL=none -PACKAGE_DEPENDENCIES="make-jpkg" - -case $(dpkg-architecture -q DEB_HOST_ARCH 2>/dev/null || echo "none") in -amd64) - _tarfile="OpenJDK8U-jdk_x64_linux_hotspot_8u422b05.tar.gz" - _tarfile_sha256="4c6056f6167fae73ace7c3080b78940be5c87d54f5b08894b3517eed1cbb2c06" - _jdk_path="/usr/lib/jvm/adoptopenjdk-java8-jdk-amd64" - ;; -arm64) - _tarfile="OpenJDK8U-jdk_aarch64_linux_hotspot_8u422b05.tar.gz" - _tarfile_sha256="af98a839ec238106078bd360af9e405dc6665c05ee837178ed13b92193681923" - _jdk_path="/usr/lib/jvm/adoptopenjdk-java8-jdk-arm64" - ;; -*) ;; - -esac - -function prepare() { - logmust install_pkgs "$DEPDIR"/make-jpkg/*.deb -} - -function fetch() { - # We exit here rather than above in the architecture detection logic - # to deal with the fact that this file can, during test runs, be - # sourced on platforms where builds are not happening. list-packages - # sources the file to gather information about the package, and this - # is performed on jenkins and macos during test runs. Having the exit - # occur above causes those runs to fail. - if [[ -z "$_tarfile" ]]; then - echo "Invalid architecture detected" >&2 - exit 1 - fi - logmust cd "$WORKDIR/" - - local url="http://artifactory.delphix.com/artifactory/java-binaries/linux/jdk/8/$_tarfile" - - logmust fetch_file_from_artifactory "$url" "$_tarfile_sha256" -} - -function build() { - if [[ -z "$_tarfile" ]]; then - echo "Invalid architecture detected" >&2 - exit 1 - fi - logmust cd "$WORKDIR/" - - logmust env DEB_BUILD_OPTIONS=nostrip fakeroot make-jpkg "$_tarfile" <<'$WORKDIR/artifacts/JDK_PATH'" - - echo "Tar file: $_tarfile" >"$WORKDIR/artifacts/BUILD_INFO" -} diff --git a/packages/bcc/config.sh b/packages/bcc/config.sh deleted file mode 100644 index 17ac5032..00000000 --- a/packages/bcc/config.sh +++ /dev/null @@ -1,39 +0,0 @@ -#!/usr/bin/env bash -# -# Copyright 2018, 2020 Delphix -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# shellcheck disable=SC2034 - -DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/bcc.git" - -UPSTREAM_GIT_URL=https://github.com/iovisor/bcc.git -UPSTREAM_GIT_BRANCH=master - -function prepare() { - logmust install_build_deps_from_control_file -} - -function build() { - logmust cd "$WORKDIR/repo" - # Note: the string to determine the version was copied from bcc's - # debian/rules file. - PACKAGE_VERSION=$(dpkg-parsechangelog | sed -rne 's,^Version: (.*),\1,p') - - logmust dpkg_buildpackage_default -} - -function update_upstream() { - logmust update_upstream_from_git -} diff --git a/packages/bpftrace/config.sh b/packages/bpftrace/config.sh deleted file mode 100644 index 79cfa307..00000000 --- a/packages/bpftrace/config.sh +++ /dev/null @@ -1,42 +0,0 @@ -#!/usr/bin/env bash -# -# Copyright 2018, 2020 Delphix -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# shellcheck disable=SC2034 - -DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/bpftrace.git" -PACKAGE_DEPENDENCIES="bcc" - -UPSTREAM_GIT_URL="https://github.com/iovisor/bpftrace.git" -UPSTREAM_GIT_BRANCH="master" - -function fetch() { - logmust fetch_repo_from_git - logmust git submodule init - logmust git submodule update --recursive -} - -function prepare() { - logmust install_pkgs "$DEPDIR"/bcc/libbcc_*.deb - logmust install_build_deps_from_control_file -} - -function build() { - logmust dpkg_buildpackage_default -} - -function update_upstream() { - logmust update_upstream_from_git -} diff --git a/packages/connstat/config.sh b/packages/connstat/config.sh index 33825120..1c8559a3 100644 --- a/packages/connstat/config.sh +++ b/packages/connstat/config.sh @@ -23,7 +23,7 @@ function prepare() { logmust install_pkgs \ debhelper \ dpkg-dev \ - llvm-12 + llvm-14 logmust install_kernel_headers logmust install_pkgs "$DEPDIR"/dwarves/*.deb } diff --git a/packages/containerized-masking/config.sh b/packages/containerized-masking/config.sh index 7c480b59..7b2fd926 100644 --- a/packages/containerized-masking/config.sh +++ b/packages/containerized-masking/config.sh @@ -29,17 +29,15 @@ source "$PWD/lib/common.sh" DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/dms-core-gate.git" -PACKAGE_DEPENDENCIES="adoptopenjdk" SKIP_COPYRIGHTS_CHECK=true function prepare() { - logmust install_pkgs "$DEPDIR"/adoptopenjdk/*.deb + echo "Nothing to prepare" } function build() { export JAVA_HOME - JAVA_HOME=$(cat "$DEPDIR/adoptopenjdk/JDK_PATH") || - die "Failed to read $DEPDIR/adoptopenjdk/JDK_PATH" + JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64/" logmust cd "$WORKDIR/repo" diff --git a/packages/delphix-sso-app/config.sh b/packages/delphix-sso-app/config.sh index 3f880145..79ac9139 100644 --- a/packages/delphix-sso-app/config.sh +++ b/packages/delphix-sso-app/config.sh @@ -17,16 +17,14 @@ # shellcheck disable=SC2034 DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/saml-app.git" -PACKAGE_DEPENDENCIES="adoptopenjdk" function prepare() { - logmust install_pkgs "$DEPDIR"/adoptopenjdk/*.deb + echo "Nothing to prepare" } function build() { local java_home - java_home=$(cat "$DEPDIR/adoptopenjdk/JDK_PATH") || - die "Failed to read $DEPDIR/adoptopenjdk/JDK_PATH" + java_home="/usr/lib/jvm/java-8-openjdk-amd64/" logmust cd "$WORKDIR/repo" logmust sudo ./gradlew "-Dorg.gradle.java.home=$java_home" distDeb logmust sudo mv ./build/distributions/*deb "$WORKDIR/artifacts/" diff --git a/packages/drgn/config.sh b/packages/drgn/config.sh deleted file mode 100644 index 0387a3a7..00000000 --- a/packages/drgn/config.sh +++ /dev/null @@ -1,41 +0,0 @@ -#!/usr/bin/env bash -# -# Copyright 2019, 2020 Delphix -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -# shellcheck disable=SC2034 -DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/drgn.git" -PACKAGE_DEPENDENCIES="libkdumpfile" - -UPSTREAM_GIT_URL="https://github.com/osandov/drgn.git" -UPSTREAM_GIT_BRANCH="main" - -function prepare() { - # - # Strictly speaking libkdumpfile is not a hard prerequisite for - # drgn itself, but it is a hard requirement in our use-case as - # we do want to use drgn for kdump-compressed crash dumps. - # - logmust install_pkgs "$DEPDIR"/libkdumpfile/*.deb - logmust install_build_deps_from_control_file -} - -function build() { - logmust dpkg_buildpackage_default -} - -function update_upstream() { - logmust update_upstream_from_git -} diff --git a/packages/fio/config.sh b/packages/fio/config.sh deleted file mode 100644 index 758ff252..00000000 --- a/packages/fio/config.sh +++ /dev/null @@ -1,41 +0,0 @@ -#!/usr/bin/env bash -# -# Copyright 2018, 2022 Delphix -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# shellcheck disable=SC2034 - -DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/fio.git" - -function prepare() { - logmust install_pkgs \ - libaio-dev \ - librdmacm-dev \ - libibverbs-dev \ - librbd-dev \ - libgtk2.0-dev \ - libcairo2-dev \ - libnuma-dev \ - flex \ - bison \ - libglusterfs-dev \ - libpmem-dev \ - libpmemblk-dev -} - -function build() { - logmust cd "$WORKDIR/repo/" - logmust dpkg-buildpackage -b -us -uc - logmust mv "$WORKDIR"/*deb "$WORKDIR/artifacts/" -} diff --git a/packages/libkdumpfile/config.sh b/packages/libkdumpfile/config.sh deleted file mode 100644 index f6e5c179..00000000 --- a/packages/libkdumpfile/config.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/usr/bin/env bash -# -# Copyright 2019, 2020 Delphix -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -# shellcheck disable=SC2034 -DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/libkdumpfile.git" - -UPSTREAM_GIT_URL="https://github.com/ptesarik/libkdumpfile.git" -UPSTREAM_GIT_BRANCH="tip" - -function prepare() { - logmust install_build_deps_from_control_file -} - -function build() { - logmust dpkg_buildpackage_default -} - -function update_upstream() { - logmust update_upstream_from_git -} diff --git a/packages/masking/config.sh b/packages/masking/config.sh index 2a641c7f..963a6c99 100644 --- a/packages/masking/config.sh +++ b/packages/masking/config.sh @@ -19,19 +19,15 @@ source "$PWD/lib/common.sh" DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/dms-core-gate.git" -PACKAGE_DEPENDENCIES="adoptopenjdk" function prepare() { logmust read_list "$WORKDIR/repo/packaging/build-dependencies" logmust install_pkgs "${_RET_LIST[@]}" - - logmust install_pkgs "$DEPDIR"/adoptopenjdk/*.deb } function build() { export JAVA_HOME - JAVA_HOME=$(cat "$DEPDIR/adoptopenjdk/JDK_PATH") || - die "Failed to read $DEPDIR/adoptopenjdk/JDK_PATH" + JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64/" logmust cd "$WORKDIR/repo" diff --git a/packages/mold/config.sh b/packages/mold/config.sh deleted file mode 100644 index 589ef63a..00000000 --- a/packages/mold/config.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/usr/bin/env bash -# -# Copyright 2023 Delphix -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# shellcheck disable=SC2034 - -DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/mold.git" - -UPSTREAM_GIT_URL=https://salsa.debian.org/pkg-llvm-team/mold.git -UPSTREAM_GIT_BRANCH=master - -function prepare() { - logmust install_build_deps_from_control_file -} - -function build() { - logmust dpkg_buildpackage_default -} - -function update_upstream() { - logmust update_upstream_from_git -} diff --git a/packages/virtualization/config.sh b/packages/virtualization/config.sh index 1f72783f..e4b015c7 100644 --- a/packages/virtualization/config.sh +++ b/packages/virtualization/config.sh @@ -19,22 +19,20 @@ source "$PWD/lib/common.sh" DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/dlpx-app-gate.git" -PACKAGE_DEPENDENCIES="adoptopenjdk crypt-blowfish host-jdks" +PACKAGE_DEPENDENCIES="crypt-blowfish host-jdks" function prepare() { logmust read_list "$WORKDIR/repo/appliance/packaging/build-dependencies" logmust install_pkgs "${_RET_LIST[@]}" logmust install_pkgs \ - "$DEPDIR"/adoptopenjdk/*.deb \ "$DEPDIR"/crypt-blowfish/*.deb \ "$DEPDIR"/host-jdks/*.deb } function build() { export JAVA_HOME - JAVA_HOME=$(cat "$DEPDIR/adoptopenjdk/JDK_PATH") || - die "Failed to read $DEPDIR/adoptopenjdk/JDK_PATH" + JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64/" export LANG LANG=en_US.UTF-8 diff --git a/packages/zfs/config.sh b/packages/zfs/config.sh index 6d9e0aed..9fe0ce33 100644 --- a/packages/zfs/config.sh +++ b/packages/zfs/config.sh @@ -33,6 +33,7 @@ function prepare() { devscripts \ dh-autoreconf \ dh-python \ + dh-dkms \ dkms \ fakeroot \ gawk \ @@ -40,12 +41,14 @@ function prepare() { libattr1-dev \ libblkid-dev \ libelf-dev \ + libpam0g \ libselinux-dev \ libselinux1-dev \ libssl-dev \ + libtirpc-dev \ libtool \ libudev-dev \ - llvm-12 \ + llvm-14 \ lsb-release \ lsscsi \ parted \ @@ -56,7 +59,7 @@ function prepare() { zlib1g-dev logmust install_kernel_headers logmust install_pkgs "$DEPDIR"/delphix-rust/*.deb - logmust cargo install cargo-bundle-licenses + logmust cargo install cargo-bundle-licenses@2.1.1 --locked logmust install_pkgs "$DEPDIR"/delphix-go/*.deb logmust install_pkgs "$DEPDIR"/dwarves/*.deb } diff --git a/setup.sh b/setup.sh index 9be7405f..98398b46 100755 --- a/setup.sh +++ b/setup.sh @@ -19,7 +19,7 @@ TOP="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" source "$TOP/lib/common.sh" logmust check_running_system -check_env DEFAULT_GIT_BRANCH +check_env DEFAULT_GIT_BRANCH DELPHIX_RELEASE_VERSION # # Update the sources.list file to point to our internal package mirror. If no @@ -31,7 +31,16 @@ function configure_apt_sources() { local secondary_url="$DELPHIX_PACKAGE_MIRROR_SECONDARY" if [[ -z "$primary_url" ]] || [[ -z "$secondary_url" ]]; then - local latest_url="http://linux-package-mirror.delphix.com/" + local latest_url + local delphix_version="$DELPHIX_RELEASE_VERSION" + # TODO: Remove the first condition & set the version of os-upgrade in dlpx.version.mapping to + # 9999.0.0.0 when https://perforce.atlassian.net/browse/SUP-5179 is done. + if compare_versions "$delphix_version" eq "999.0.0.0" || compare_versions "$delphix_version" gt "2025.2"; then + latest_url="http://linux-package-mirror-v2.delphix.com/" + else + latest_url="http://linux-package-mirror.delphix.com/" + fi + if is_release_branch; then package_mirror_url="${latest_url}releases/${DELPHIX_RELEASE_VERSION}" else @@ -74,7 +83,6 @@ function configure_apt_sources() { deb-src ${primary_url} ${UBUNTU_DISTRIBUTION}-backports main restricted universe multiverse deb ${secondary_url} ${UBUNTU_DISTRIBUTION} main multiverse universe - deb ${secondary_url} ${UBUNTU_DISTRIBUTION}-updates main multiverse universe EOF" || die "/etc/apt/sources.list could not be updated" logmust sudo apt-key add "$TOP/resources/delphix-secondary-mirror.key" From 7b297312f28e14dc5fc86b0bac810bf0c299dfaa Mon Sep 17 00:00:00 2001 From: Palash Gandhi <87093175+palash-gandhi@users.noreply.github.com> Date: Fri, 31 Jan 2025 06:47:14 -0800 Subject: [PATCH 03/13] DLPX-93263 24.04 LTS: Set delphix-rust package version to rustc version (#333) PR URL: https://www.github.com/delphix/linux-pkg/pull/333 --- packages/delphix-rust/config.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/packages/delphix-rust/config.sh b/packages/delphix-rust/config.sh index c826a12e..4f1f06c0 100755 --- a/packages/delphix-rust/config.sh +++ b/packages/delphix-rust/config.sh @@ -20,5 +20,16 @@ DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/delphix-rust.git" function build() { logmust mkdir -p "$WORKDIR/repo" + + # + # Instead of relying on linux-pkg to assign a default version like 1.0.0, set the + # version of the `delphix-rust` package to the version of the `rustc` package. + # This is done to ensure that third-party packages that rely on specific versions + # of `rustc` can correctly compare the version of the `rustc` package supplied by + # `delphix-rust` with their requirement. + # + PACKAGE_VERSION="$(tr -d '\n' <"$WORKDIR/repo/RUSTC_VERSION")" + [[ -n "$PACKAGE_VERSION" ]] || die "Failed to retrieve package version" + logmust dpkg_buildpackage_default } From 48792e614ff47aa5b780fb94099e0a3876d51b73 Mon Sep 17 00:00:00 2001 From: Palash Gandhi <87093175+palash-gandhi@users.noreply.github.com> Date: Tue, 18 Feb 2025 12:20:29 -0800 Subject: [PATCH 04/13] DLPX-93401 LTS 24.04: Kernel builds require delphix-rust-src to be installed (#335) PR URL: https://www.github.com/delphix/linux-pkg/pull/335 --- default-package-config.sh | 9 ++++++++- packages/linux-kernel-aws/config.delphix.sh | 6 ++++++ packages/linux-kernel-azure/config.delphix.sh | 6 ++++++ packages/linux-kernel-gcp/config.delphix.sh | 6 ++++++ packages/linux-kernel-generic/config.delphix.sh | 6 ++++++ packages/linux-kernel-oracle/config.delphix.sh | 6 ++++++ 6 files changed, 38 insertions(+), 1 deletion(-) diff --git a/default-package-config.sh b/default-package-config.sh index 633013c6..2acff6e1 100644 --- a/default-package-config.sh +++ b/default-package-config.sh @@ -35,10 +35,17 @@ function merge_with_upstream() { # The functions below are specific for the Linux kernel packages # and contain the majority of their common code. # +# Ensure that Delphix's version of the rust toolchain is +# installed rather than Ubuntu's version to satisfy the kernel's +# dependency on the rust toolchain. Delphix's rust toolchain is +# supplied via virtual packages and hence must be installed explicitly +# otherwise apt installs the Ubuntu's version of the rust toolchain. +# function kernel_prepare() { logmust install_pkgs \ - equivs \ + "$DEPDIR"/delphix-rust/*.deb \ devscripts \ + equivs \ kernel-wedge } diff --git a/packages/linux-kernel-aws/config.delphix.sh b/packages/linux-kernel-aws/config.delphix.sh index 220d14b3..c369203a 100644 --- a/packages/linux-kernel-aws/config.delphix.sh +++ b/packages/linux-kernel-aws/config.delphix.sh @@ -22,6 +22,12 @@ UPSTREAM_GIT_URL="https://git.launchpad.net/~canonical-kernel/ubuntu/+source/lin # Note: UPSTREAM_GIT_BRANCH is not used here UPSTREAM_GIT_BRANCH="none" +# +# Ensure that Delphix's version of the rust toolchain is +# installed rather than Ubuntu's version. +# +PACKAGE_DEPENDENCIES="delphix-rust" + # # Force push required when syncing with upstream because we perform a rebase. # diff --git a/packages/linux-kernel-azure/config.delphix.sh b/packages/linux-kernel-azure/config.delphix.sh index 85a41381..f2e46969 100644 --- a/packages/linux-kernel-azure/config.delphix.sh +++ b/packages/linux-kernel-azure/config.delphix.sh @@ -22,6 +22,12 @@ UPSTREAM_GIT_URL="https://git.launchpad.net/~canonical-kernel/ubuntu/+source/lin # Note: UPSTREAM_GIT_BRANCH is not used here UPSTREAM_GIT_BRANCH="none" +# +# Ensure that Delphix's version of the rust toolchain is +# installed rather than Ubuntu's version. +# +PACKAGE_DEPENDENCIES="delphix-rust" + # # Force push required when syncing with upstream because we perform a rebase. # diff --git a/packages/linux-kernel-gcp/config.delphix.sh b/packages/linux-kernel-gcp/config.delphix.sh index 8503731b..5318c168 100644 --- a/packages/linux-kernel-gcp/config.delphix.sh +++ b/packages/linux-kernel-gcp/config.delphix.sh @@ -22,6 +22,12 @@ UPSTREAM_GIT_URL="https://git.launchpad.net/~canonical-kernel/ubuntu/+source/lin # Note: UPSTREAM_GIT_BRANCH is not used here UPSTREAM_GIT_BRANCH="none" +# +# Ensure that Delphix's version of the rust toolchain is +# installed rather than Ubuntu's version. +# +PACKAGE_DEPENDENCIES="delphix-rust" + # # Force push required when syncing with upstream because we perform a rebase. # diff --git a/packages/linux-kernel-generic/config.delphix.sh b/packages/linux-kernel-generic/config.delphix.sh index 4a8d4e10..4b61fcd1 100644 --- a/packages/linux-kernel-generic/config.delphix.sh +++ b/packages/linux-kernel-generic/config.delphix.sh @@ -22,6 +22,12 @@ UPSTREAM_GIT_URL="https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/ # Note: UPSTREAM_GIT_BRANCH is not used here UPSTREAM_GIT_BRANCH="none" +# +# Ensure that Delphix's version of the rust toolchain is +# installed rather than Ubuntu's version. +# +PACKAGE_DEPENDENCIES="delphix-rust" + # # Force push required when syncing with upstream because we perform a rebase. # diff --git a/packages/linux-kernel-oracle/config.delphix.sh b/packages/linux-kernel-oracle/config.delphix.sh index e41c05d4..8d6518b5 100644 --- a/packages/linux-kernel-oracle/config.delphix.sh +++ b/packages/linux-kernel-oracle/config.delphix.sh @@ -22,6 +22,12 @@ UPSTREAM_GIT_URL="https://git.launchpad.net/~canonical-kernel/ubuntu/+source/lin # Note: UPSTREAM_GIT_BRANCH is not used here UPSTREAM_GIT_BRANCH="none" +# +# Ensure that Delphix's version of the rust toolchain is +# installed rather than Ubuntu's version. +# +PACKAGE_DEPENDENCIES="delphix-rust" + # # Force push required when syncing with upstream because we perform a rebase. # From 7a348b26898c174e9805ddd02f33f113541422f5 Mon Sep 17 00:00:00 2001 From: Palash Gandhi <87093175+palash-gandhi@users.noreply.github.com> Date: Wed, 5 Mar 2025 09:53:53 -0800 Subject: [PATCH 05/13] TOOL-27512 LTS 24.04: Stop using HWE kernels when fetching kernel versions (#336) PR URL: https://www.github.com/delphix/linux-pkg/pull/336 --- lib/common.sh | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/lib/common.sh b/lib/common.sh index 8ab5e044..73c1ad53 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -1113,21 +1113,13 @@ function get_kernel_version_for_platform_from_apt() { # image for that particular platform. For instance, Ubuntu has a # meta-package for AWS called 'linux-image-aws', which depends on # package 'linux-image-4.15.0-1027-aws'. The latter is the linux image - # for kernel version '4.15.0-1027-aws'. We use this depenency to figure + # for kernel version '4.15.0-1027-aws'. We use this dependency to figure # out the default kernel version for a given platform. # - # The "generic" platform is a special case, since we want to use the - # hwe kernel image instead of the regular generic image. - # # Note that while the default kernel is usually also the latest # available, it is not always the case. # - - if [[ "$platform" != generic ]] && [[ "$UBUNTU_DISTRIBUTION" == noble ]]; then - package="linux-image-${platform}" - else - package="linux-image-${platform}-hwe-24.04" - fi + package="linux-image-${platform}" if [[ "$(apt-cache show --no-all-versions "$package" \ 2>/dev/null | grep Depends)" =~ linux-image-([^,]*-${platform}) ]]; then From 2774597f6c6591a559f92c34a413616d98ab78d2 Mon Sep 17 00:00:00 2001 From: Tony Nguyen Date: Wed, 5 Mar 2025 11:19:56 -0700 Subject: [PATCH 06/13] TOOL-27513 Add FAT and VFAT support for building EFI boot images PR URL: https://www.github.com/delphix/linux-pkg/pull/337 --- resources/delphix_kernel_annotations | 2 -- 1 file changed, 2 deletions(-) diff --git a/resources/delphix_kernel_annotations b/resources/delphix_kernel_annotations index d5b4fef1..bcbdb0af 100644 --- a/resources/delphix_kernel_annotations +++ b/resources/delphix_kernel_annotations @@ -104,7 +104,6 @@ CONFIG_EXFAT_FS policy<{'amd64': 'n', 'arm64': ' CONFIG_EXT2_FS policy<{'amd64': 'n', 'arm64': 'n'}> CONFIG_EXT3_FS policy<{'amd64': 'n', 'arm64': 'n'}> CONFIG_F2FS_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_FAT_FS policy<{'amd64': 'n', 'arm64': 'n'}> CONFIG_GFS2_FS policy<{'amd64': 'n', 'arm64': 'n'}> CONFIG_HFSPLUS_FS policy<{'amd64': 'n', 'arm64': 'n'}> CONFIG_HFS_FS policy<{'amd64': 'n', 'arm64': 'n'}> @@ -126,7 +125,6 @@ CONFIG_SYSV_FS policy<{'amd64': 'n', 'arm64': ' CONFIG_UBIFS_FS policy<{'amd64': 'n', 'arm64': 'n'}> CONFIG_UDF_FS policy<{'amd64': 'n', 'arm64': 'n'}> CONFIG_UFS_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_VFAT_FS policy<{'amd64': 'n', 'arm64': 'n'}> CONFIG_VXFS_FS policy<{'amd64': 'n', 'arm64': 'n'}> CONFIG_XFS_FS policy<{'amd64': 'n', 'arm64': 'n'}> From e289cd25588e2aaaa6b01783af05b6cb59b67c9a Mon Sep 17 00:00:00 2001 From: Palash Gandhi <87093175+palash-gandhi@users.noreply.github.com> Date: Thu, 6 Mar 2025 08:37:57 -0800 Subject: [PATCH 07/13] TOOL-27516 LTS 24.04: Bump os-upgrade version to 9999.0 (#338) PR URL: https://www.github.com/delphix/linux-pkg/pull/338 --- setup.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/setup.sh b/setup.sh index 98398b46..5c579604 100755 --- a/setup.sh +++ b/setup.sh @@ -33,9 +33,7 @@ function configure_apt_sources() { if [[ -z "$primary_url" ]] || [[ -z "$secondary_url" ]]; then local latest_url local delphix_version="$DELPHIX_RELEASE_VERSION" - # TODO: Remove the first condition & set the version of os-upgrade in dlpx.version.mapping to - # 9999.0.0.0 when https://perforce.atlassian.net/browse/SUP-5179 is done. - if compare_versions "$delphix_version" eq "999.0.0.0" || compare_versions "$delphix_version" gt "2025.2"; then + if compare_versions "$delphix_version" eq "9999.0.0.0" || compare_versions "$delphix_version" gt "2025.3"; then latest_url="http://linux-package-mirror-v2.delphix.com/" else latest_url="http://linux-package-mirror.delphix.com/" From ef1608005cdc563ad848de597e2d0990d6bb02f1 Mon Sep 17 00:00:00 2001 From: Prakash Surya Date: Tue, 11 Mar 2025 16:04:40 -0700 Subject: [PATCH 08/13] DLPX-93639 LTS 24.04: Upgrade fails due to drgn conflict with upstream python3-drgn package (#339) PR URL: https://www.github.com/delphix/linux-pkg/pull/339 --- package-lists/build/main.pkgs | 1 + packages/drgn/config.sh | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 packages/drgn/config.sh diff --git a/package-lists/build/main.pkgs b/package-lists/build/main.pkgs index 452a6c83..ffa597a8 100644 --- a/package-lists/build/main.pkgs +++ b/package-lists/build/main.pkgs @@ -11,6 +11,7 @@ delphix-platform delphix-rust delphix-sso-app docker-python-image +drgn dwarves fluentd-gems gdb-python diff --git a/packages/drgn/config.sh b/packages/drgn/config.sh new file mode 100644 index 00000000..0bb3fe37 --- /dev/null +++ b/packages/drgn/config.sh @@ -0,0 +1,34 @@ +#!/usr/bin/env bash +# +# Copyright 2019, 2025 Delphix +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +# shellcheck disable=SC2034 +DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/drgn.git" + +UPSTREAM_GIT_URL="https://github.com/osandov/drgn.git" +UPSTREAM_GIT_BRANCH="main" + +function prepare() { + logmust install_build_deps_from_control_file +} + +function build() { + logmust dpkg_buildpackage_default +} + +function update_upstream() { + logmust update_upstream_from_git +} From 3d1ac55033e984aa49f39aba647f5ee4f1699aa1 Mon Sep 17 00:00:00 2001 From: Prakash Surya Date: Thu, 13 Mar 2025 13:48:32 -0700 Subject: [PATCH 09/13] DLPX-93685 LTS 24.04: Upgrade fails due to libkdumpfile conflict with upstream libkdumpfile10 package (#340) PR URL: https://www.github.com/delphix/linux-pkg/pull/340 --- package-lists/build/main.pkgs | 1 + packages/libkdumpfile/config.sh | 34 +++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 packages/libkdumpfile/config.sh diff --git a/package-lists/build/main.pkgs b/package-lists/build/main.pkgs index ffa597a8..0a0a669c 100644 --- a/package-lists/build/main.pkgs +++ b/package-lists/build/main.pkgs @@ -17,6 +17,7 @@ fluentd-gems gdb-python grub2 host-jdks +libkdumpfile make-jpkg makedumpfile masking diff --git a/packages/libkdumpfile/config.sh b/packages/libkdumpfile/config.sh new file mode 100644 index 00000000..f6e5c179 --- /dev/null +++ b/packages/libkdumpfile/config.sh @@ -0,0 +1,34 @@ +#!/usr/bin/env bash +# +# Copyright 2019, 2020 Delphix +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +# shellcheck disable=SC2034 +DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/libkdumpfile.git" + +UPSTREAM_GIT_URL="https://github.com/ptesarik/libkdumpfile.git" +UPSTREAM_GIT_BRANCH="tip" + +function prepare() { + logmust install_build_deps_from_control_file +} + +function build() { + logmust dpkg_buildpackage_default +} + +function update_upstream() { + logmust update_upstream_from_git +} From 44530c917a8e90ab017a85b2d08b3f26ac71ac21 Mon Sep 17 00:00:00 2001 From: Prakash Surya Date: Fri, 14 Mar 2025 09:40:48 -0700 Subject: [PATCH 10/13] DLPX-93685 LTS 24.04: Upgrade fails due to libkdumpfile conflict with upstream libkdumpfile10 package (#341) PR URL: https://www.github.com/delphix/linux-pkg/pull/341 --- packages/drgn/config.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/drgn/config.sh b/packages/drgn/config.sh index 0bb3fe37..791a6aac 100644 --- a/packages/drgn/config.sh +++ b/packages/drgn/config.sh @@ -17,11 +17,18 @@ # shellcheck disable=SC2034 DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/drgn.git" +PACKAGE_DEPENDENCIES="libkdumpfile" UPSTREAM_GIT_URL="https://github.com/osandov/drgn.git" UPSTREAM_GIT_BRANCH="main" function prepare() { + # + # Strictly speaking libkdumpfile is not a hard prerequisite for + # drgn itself, but it is a hard requirement in our use-case as + # we do want to use drgn for kdump-compressed crash dumps. + # + logmust install_pkgs "$DEPDIR"/libkdumpfile/*.deb logmust install_build_deps_from_control_file } From 0b36681fd9bb314a18578e77f0fc8918b71053bd Mon Sep 17 00:00:00 2001 From: Prakash Surya Date: Wed, 19 Mar 2025 10:23:31 -0700 Subject: [PATCH 11/13] DLPX-93738 LTS 24.04: remove make-jpkg as it's unnecessary on 24.04 (#342) PR URL: https://www.github.com/delphix/linux-pkg/pull/342 --- package-lists/build/main.pkgs | 1 - packages/drgn/config.sh | 12 ++++++------ packages/make-jpkg/config.sh | 30 ------------------------------ 3 files changed, 6 insertions(+), 37 deletions(-) delete mode 100644 packages/make-jpkg/config.sh diff --git a/package-lists/build/main.pkgs b/package-lists/build/main.pkgs index 0a0a669c..570c0673 100644 --- a/package-lists/build/main.pkgs +++ b/package-lists/build/main.pkgs @@ -18,7 +18,6 @@ gdb-python grub2 host-jdks libkdumpfile -make-jpkg makedumpfile masking misc-debs diff --git a/packages/drgn/config.sh b/packages/drgn/config.sh index 791a6aac..4a180ca1 100644 --- a/packages/drgn/config.sh +++ b/packages/drgn/config.sh @@ -23,12 +23,12 @@ UPSTREAM_GIT_URL="https://github.com/osandov/drgn.git" UPSTREAM_GIT_BRANCH="main" function prepare() { - # - # Strictly speaking libkdumpfile is not a hard prerequisite for - # drgn itself, but it is a hard requirement in our use-case as - # we do want to use drgn for kdump-compressed crash dumps. - # - logmust install_pkgs "$DEPDIR"/libkdumpfile/*.deb + # + # Strictly speaking libkdumpfile is not a hard prerequisite for + # drgn itself, but it is a hard requirement in our use-case as + # we do want to use drgn for kdump-compressed crash dumps. + # + logmust install_pkgs "$DEPDIR"/libkdumpfile/*.deb logmust install_build_deps_from_control_file } diff --git a/packages/make-jpkg/config.sh b/packages/make-jpkg/config.sh deleted file mode 100644 index 518b4bfc..00000000 --- a/packages/make-jpkg/config.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/usr/bin/env bash -# -# Copyright 2019, 2020 Delphix -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# shellcheck disable=SC2034 - -DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/make-jpkg.git" - -UPSTREAM_GIT_URL=https://salsa.debian.org/java-team/java-package.git -UPSTREAM_GIT_BRANCH=master - -function build() { - logmust dpkg_buildpackage_default -} - -function update_upstream() { - logmust update_upstream_from_git -} From 9943f599e5a457216c59f50a227c5fc444b55b87 Mon Sep 17 00:00:00 2001 From: Prakash Surya Date: Tue, 8 Apr 2025 13:54:30 -0700 Subject: [PATCH 12/13] DLPX-XXXXX LTS 24.04: enable necessary EFI kernel config options --- resources/delphix_kernel_annotations | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/resources/delphix_kernel_annotations b/resources/delphix_kernel_annotations index bcbdb0af..8fca02ac 100644 --- a/resources/delphix_kernel_annotations +++ b/resources/delphix_kernel_annotations @@ -3,6 +3,14 @@ # ARCH: amd64 # FLAVOUR: amd64-aws amd64-azure amd64-generic amd64-gcp amd64-oracle +# +# Enable various "efi" modules that we need. +# +CONFIG_FB_EFI policy<{'amd64': 'y', 'arm64': 'n'}> +CONFIG_FRAMEBUFFER_CONSOLE policy<{'amd64': 'y', 'arm64': 'n'}> +CONFIG_EFI policy<{'amd64': 'y', 'arm64': 'n'}> +CONFIG_EFIVAR_FS policy<{'amd64': 'y', 'arm64': 'n'}> + # # Disable various "net" modules which we don't use. # @@ -32,7 +40,6 @@ CONFIG_CONNECTOR policy<{'amd64': 'n', 'arm64': ' CONFIG_DAX policy<{'amd64': 'n', 'arm64': 'n'}> CONFIG_EISA policy<{'amd64': 'n', 'arm64': 'n'}> CONFIG_EXTCON policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_FB policy<{'amd64': 'n', 'arm64': 'n'}> CONFIG_FPGA policy<{'amd64': 'n', 'arm64': 'n'}> CONFIG_FSI policy<{'amd64': 'n', 'arm64': 'n'}> CONFIG_GNSS policy<{'amd64': 'n', 'arm64': 'n'}> From 8391457b84c7ea6a85b249c25db261d97e293ad9 Mon Sep 17 00:00:00 2001 From: Prakash Surya Date: Tue, 8 Apr 2025 14:06:41 -0700 Subject: [PATCH 13/13] Revert "DLPX-87969 Modify kernel build to include Delphix's custom annotations (#300)" PR URL: https://www.github.com/delphix/linux-pkg/pull/343 --- default-package-config.sh | 16 +- packages/linux-kernel-aws/config.sh | 2 +- resources/delphix_kernel_annotations | 237 --------------------------- 3 files changed, 2 insertions(+), 253 deletions(-) delete mode 100644 resources/delphix_kernel_annotations diff --git a/default-package-config.sh b/default-package-config.sh index 2acff6e1..facf5404 100644 --- a/default-package-config.sh +++ b/default-package-config.sh @@ -171,21 +171,7 @@ function kernel_build() { # system. This is useful as it allows us to override various # kernel config options via an annotations file, which we use to # disable various kernel modules that we don't need or want. - # The kernel provides a mechanism to manipulate the annotations via - # a python script at `debian/scripts/misc/annotations`. The script - # is first used to export the Delphix's annotations file to an old-style - # config, which in turn is imported back into the kernel's base - # annotations. This allows us to maintain a partial set of annotations - # that are only relevant to our product. At the time of writing this, - # there was no direct way to import a partial annotations file into the base - # annotations file without first converting it to an old-style config. - # - . debian/debian.env - local architecture - architecture=$(dpkg-architecture -q DEB_HOST_ARCH 2>/dev/null) - logmust debian/scripts/misc/annotations -f "${WORKDIR}/../../../resources/delphix_kernel_annotations" --arch "${architecture}" --flavour "${platform}" --export >delphix.config - logmust debian/scripts/misc/annotations -f ${DEBIAN}/config/annotations --arch "${architecture}" --flavour "${platform}" --update delphix.config - + # logmust fakeroot debian/rules updateconfigs "${debian_rules_args[@]}" do_skip_checks=true logmust fakeroot debian/rules "binary" "${debian_rules_args[@]}" diff --git a/packages/linux-kernel-aws/config.sh b/packages/linux-kernel-aws/config.sh index b2596d2f..713b9b26 100644 --- a/packages/linux-kernel-aws/config.sh +++ b/packages/linux-kernel-aws/config.sh @@ -18,7 +18,7 @@ # # We currently support getting the linux kernel from 3 different sources: # 1. Building it from code: see config.delphix.sh -# 2. Downloading from apt: see config.archive.sh +# 2. Dowloading from apt: see config.archive.sh # 3. Pre-built kernel stored in artifactory: see config.prebuilt.sh # diff --git a/resources/delphix_kernel_annotations b/resources/delphix_kernel_annotations deleted file mode 100644 index 8fca02ac..00000000 --- a/resources/delphix_kernel_annotations +++ /dev/null @@ -1,237 +0,0 @@ -# Menu: HEADER -# FORMAT: 4 -# ARCH: amd64 -# FLAVOUR: amd64-aws amd64-azure amd64-generic amd64-gcp amd64-oracle - -# -# Enable various "efi" modules that we need. -# -CONFIG_FB_EFI policy<{'amd64': 'y', 'arm64': 'n'}> -CONFIG_FRAMEBUFFER_CONSOLE policy<{'amd64': 'y', 'arm64': 'n'}> -CONFIG_EFI policy<{'amd64': 'y', 'arm64': 'n'}> -CONFIG_EFIVAR_FS policy<{'amd64': 'y', 'arm64': 'n'}> - -# -# Disable various "net" modules which we don't use. -# -CONFIG_6LOWPAN policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_6LOWPAN_NHC policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_BT policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_CAIF policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_HAMRADIO policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_IEEE802154 policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_NET_9P policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_NET_DSA policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_NFC policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_RFKILL policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_WIMAX policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_WIRELESS policy<{'amd64': 'n', 'arm64': 'n'}> - -# -# Disable various "drivers" modules which we don't use. -# -CONFIG_ACCESSIBILITY policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_AMD_PMC policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_ATA policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_ATM_DRIVERS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_AUXDISPLAY policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_BCMA policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_CONNECTOR policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_DAX policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_EISA policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_EXTCON policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_FPGA policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_FSI policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_GNSS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_GPIOLIB policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_GPIO_BT8XX policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_GREYBUS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_HSI policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_I3C policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_IDE policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_IIO policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_INFINIBAND policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_INTERCONNECT policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_IPACK_BUS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_LIBNVDIMM policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_MAILBOX policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_MCB policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_MEDIA_SUPPORT policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_MEMSTICK policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_MMC policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_MTD policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_NEW_LEDS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_NTB policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_NVM policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_NVMEM policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_OF policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_PARPORT policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_PARPORT_PANEL policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_PCCARD policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_PINCTRL policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_PMIC_OPREGION policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_PM_DEVFREQ policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_POWERCAP policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_PPS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_RAPIDIO policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_REGULATOR policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_RESET_CONTROLLER policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_RTC_CLASS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SFI policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SIOX policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SLIMBUS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SOUNDWIRE policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SPMI policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_STAGING policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_THERMAL policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_THUNDERBOLT policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_UIO policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_USB_SUPPORT policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_VFIO policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_W1 policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_WLAN policy<{'amd64': 'n', 'arm64': 'n'}> - -# -# Disable various filesystem which we don't use. -# -CONFIG_9P_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_ADFS_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_AFFS_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_AFS_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_AUFS_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_BEFS_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_BFS_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_BTRFS_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_CEPH_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_CODA_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_ECRYPT_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_EFS_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_EROFS_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_EXFAT_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_EXT2_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_EXT3_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_F2FS_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_GFS2_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_HFSPLUS_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_HFS_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_HPFS_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_JFFS2_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_JFS_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_MINIX_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_MSDOS_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_NILFS2_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_OCFS2_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_OMFS_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_ORANGEFS_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_QNX4FS_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_QNX6FS_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_REISERFS_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_REISERFS_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_ROMFS_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SYSV_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_UBIFS_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_UDF_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_UFS_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_VXFS_FS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_XFS_FS policy<{'amd64': 'n', 'arm64': 'n'}> - -# -# Disable other misc. modules which we don't use. -# -CONFIG_AGP policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_ANDROID policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_AQUANTIA_PHY policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_ATALK policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_BATMAN_ADV policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_BCACHE policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_BE2ISCSI policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_BE2NET policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_BLK_DEV_PCIESSD_MTIP32XX policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_BLK_DEV_RSXX policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_BNA policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_BNX2 policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_BNX2X policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_BNXT policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_BROADCOM_PHY policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_CASSINI policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_CDROM policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_CEPH_LIB policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_CRAMFS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_CYCLADES policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_DRM policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_ENIC policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_FM10K policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_FORCEDETH policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_GENWQE policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_GVE policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_HABANA_AI policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_HID policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_HIO policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_HWMON policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_IAVF policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_ICE policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_INTEL_IOATDMA policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_INTEL_MEI policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_INTEL_ATOMISP2_PM policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_IONIC policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_JME policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_KVM policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_LIBFC policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_LIQUIDIO policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_MEGARAID_LEGACY policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_MEGARAID_MAILBOX policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_MEGARAID_MM policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_MEGARAID_NEWGEN policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_MEGARAID_SAS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_MFD_MADERA policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_MSCC_OCELOT_SWITCH policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_MWAVE policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_NETXEN_NIC policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_NET_TEAM policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_NET_VENDOR_AQUANTIA policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_NET_VENDOR_ATHEROS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_NET_VENDOR_CAVIUM policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_NET_VENDOR_CHELSIO policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_NET_VENDOR_CHELSIO policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_NET_VENDOR_MARVELL policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_NET_VENDOR_MICREL policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_NET_VENDOR_MYRI policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_NET_VENDOR_NETERION policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_NET_VENDOR_ROCKER policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_NFP policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_NOZOMI policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_QED policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_QLCNIC policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_RDS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_REALTEK_PHY policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SCIF policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SCSI_ADVANSYS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SCSI_AIC7XXX policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SCSI_AIC94XX policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SCSI_ARCMSR policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SCSI_BFA_FC policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SCSI_ESAS2R policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SCSI_GDTH policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SCSI_HPSA policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SCSI_IPS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SCSI_LPFC policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SCSI_MVSAS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SCSI_MYRB policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SCSI_MYRS policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SCSI_PM8001 policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SCSI_PMCRAID policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SCSI_QLA_FC policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SCSI_SMARTPQI policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SCSI_SNIC policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SCSI_SYM53C8XX_2 policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SCSI_UFSHCD policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SENSORS_LM93 policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SFC policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SOUND policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SSB policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_STMMAC_ETH policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SXGBE_ETH policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_SYNCLINK policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_USB policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_VBOXGUEST policy<{'amd64': 'n', 'arm64': 'n'}> -CONFIG_VOP policy<{'amd64': 'n', 'arm64': 'n'}>