From e42d64a4c6461d69f930788a66968bcd6e24b3e9 Mon Sep 17 00:00:00 2001 From: Prakash Surya Date: Wed, 27 Aug 2025 14:18:14 -0700 Subject: [PATCH] DLPX-95265 [Backport of DLPX-95141] Upgrade to 2025.4.0.2 failed with 'Internal Error" / "DelphixFatalException.java:46" PR URL: https://www.github.com/delphix/linux-pkg/pull/374 --- packages/grub2/config.sh | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/packages/grub2/config.sh b/packages/grub2/config.sh index c7b223fe..461c9458 100644 --- a/packages/grub2/config.sh +++ b/packages/grub2/config.sh @@ -17,29 +17,18 @@ # shellcheck disable=SC2034 DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/grub2" +SKIP_COPYRIGHTS_CHECK=true -UPSTREAM_GIT_URL=https://git.launchpad.net/ubuntu/+source/grub2 -UPSTREAM_GIT_BRANCH="applied/ubuntu/${UBUNTU_DISTRIBUTION}-updates" +URI="s3://release-de-images/internal-artifacts/2025.3.0.1/1.0.53/input-artifacts/combined-packages/packages/grub2" -SKIP_COPYRIGHTS_CHECK=true +function fetch() { + logmust cd "$WORKDIR/artifacts" -# -# Install build dependencies for the package. -# -function prepare() { - logmust install_build_deps_from_control_file + logmust aws s3 sync "$URI" . + logmust sha256sum -c SHA256SUMS } -# -# Build the package. -# function build() { - logmust dpkg_buildpackage_default -} - -# -# Hook to fetch upstream package changes and merge into our tree. -# -function update_upstream() { - logmust update_upstream_from_git + return + # Nothing to do, all the logic is done in fetch(). }