Skip to content

Commit c04607f

Browse files
authored
DLPX-95265 [Backport of DLPX-95141] Upgrade to 2025.4.0.2 failed with 'Internal Error" / "DelphixFatalException.java:46" (#374)
PR URL: https://www.github.com/delphix/linux-pkg/pull/374
1 parent 54c1efe commit c04607f

File tree

1 file changed

+8
-19
lines changed

1 file changed

+8
-19
lines changed

packages/grub2/config.sh

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -17,29 +17,18 @@
1717
# shellcheck disable=SC2034
1818

1919
DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/grub2"
20+
SKIP_COPYRIGHTS_CHECK=true
2021

21-
UPSTREAM_GIT_URL=https://git.launchpad.net/ubuntu/+source/grub2
22-
UPSTREAM_GIT_BRANCH="applied/ubuntu/${UBUNTU_DISTRIBUTION}-updates"
22+
URI="s3://release-de-images/internal-artifacts/2025.3.0.1/1.0.53/input-artifacts/combined-packages/packages/grub2"
2323

24-
SKIP_COPYRIGHTS_CHECK=true
24+
function fetch() {
25+
logmust cd "$WORKDIR/artifacts"
2526

26-
#
27-
# Install build dependencies for the package.
28-
#
29-
function prepare() {
30-
logmust install_build_deps_from_control_file
27+
logmust aws s3 sync "$URI" .
28+
logmust sha256sum -c SHA256SUMS
3129
}
3230

33-
#
34-
# Build the package.
35-
#
3631
function build() {
37-
logmust dpkg_buildpackage_default
38-
}
39-
40-
#
41-
# Hook to fetch upstream package changes and merge into our tree.
42-
#
43-
function update_upstream() {
44-
logmust update_upstream_from_git
32+
return
33+
# Nothing to do, all the logic is done in fetch().
4534
}

0 commit comments

Comments
 (0)