Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DLPX-92876 delphix-platform dependencies need to be updated to allow installation on 24.04 #502

Open
wants to merge 3 commits into
base: os-upgrade
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ configure)
# postgres UID. Note that we put this code here instead of the
# delphix-platform service as we need it to be executed before
# the postgres package gets installed.
sed -i 's/^UID_MAX.*/UID_MAX 65437/g' /etc/login.defs
sed -i 's/^GID_MAX.*/GID_MAX 65437/g' /etc/login.defs
addgroup postgres --gid 65437
adduser --home /var/lib/postgresql --no-create-home \
--shell /bin/bash --ingroup postgres \
Expand Down
18 changes: 4 additions & 14 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ DEPENDS += ansible, \
rsyslog, \
sudo, \
systemd-container, \
systemd-resolved, \
tzdata, \
udev,

Expand All @@ -110,14 +111,6 @@ DEPENDS += $(DEPENDS.$(TARGET_PLATFORM))
#
DEPENDS += delphix-build-info,

#
# The usrmerge package modifies the layout of directories under root (/) upon
# installation, to ensure that a Delphix Engine upgraded to Ubuntu 20.04 has
# the same directory layout as a Delphix Engine that initially came on
# Ubuntu 20.04 (or later).
#
DEPENDS += usrmerge,

#
# These packages help strengthen the security of the appliance by identifying
# and preventing undesired behaviors.
Expand All @@ -131,26 +124,24 @@ DEPENDS += aide, \
# or replaced without regard for backward compatibility.
#
DEPENDS += aptitude, \
awscli, \
bcc-tools, \
bcc, \
bpftrace, \
crash-python, \
delphix-rust, \
dnsutils, \
drgn, \
python3-drgn, \
dstat, \
emacs-nox, \
ethtool, \
gdb, \
gdb-python, \
htop, \
iftop, \
inotify-tools, \
iotop, \
jq, \
kdump-tools, \
ldap-utils, \
libkdumpfile, \
libkdumpfile10, \
linux-tools-common, \
lsof, \
man-db, \
Expand Down Expand Up @@ -229,4 +220,3 @@ override_dh_auto_test:
# testing via another mechanism, so running it during package
# builds is unnecessary.
#

Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@
regexp: '^{{ item.key }}='
line: '{{ item.key }}="{{ item.value }}"'
with_items:
- { key: 'JAVA_HOME', value: '/usr/lib/jvm/adoptopenjdk-java8-jdk-amd64' }
- { key: 'JAVA_HOME', value: '/usr/lib/jvm/java-8-openjdk-amd64' }

#
# Configure the Azure agent. Only run this on Azure, since that is the
Expand Down
Loading