Skip to content

Commit 21491b6

Browse files
committed
DLPX-93639 LTS 24.04: Upgrade fails due to drgn conflict with upstream python3-drgn package
1 parent 5a72143 commit 21491b6

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

package-lists/build/main.pkgs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ delphix-platform
1111
delphix-rust
1212
delphix-sso-app
1313
docker-python-image
14+
drgn
1415
dwarves
1516
fluentd-gems
1617
gdb-python

packages/drgn/config.sh

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Copyright 2019, 2025 Delphix
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
18+
# shellcheck disable=SC2034
19+
DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/drgn.git"
20+
21+
UPSTREAM_GIT_URL="https://github.com/osandov/drgn.git"
22+
UPSTREAM_GIT_BRANCH="main"
23+
24+
function prepare() {
25+
#
26+
# Strictly speaking libkdumpfile is not a hard prerequisite for
27+
# drgn itself, but it is a hard requirement in our use-case as
28+
# we do want to use drgn for kdump-compressed crash dumps.
29+
#
30+
logmust install_pkgs "$DEPDIR"/libkdumpfile/*.deb
31+
logmust install_build_deps_from_control_file
32+
}
33+
34+
function build() {
35+
logmust dpkg_buildpackage_default
36+
}
37+
38+
function update_upstream() {
39+
logmust update_upstream_from_git
40+
}

0 commit comments

Comments
 (0)