delphix / linux-pkg

Framework to build custom packages for the Delphix Appliance
Apache License 2.0
4 stars 31 forks source link

DLPX-92534 linux-pkg changes for LTS upgrade to 24.04 #325

Open palash-gandhi opened 4 weeks ago

palash-gandhi commented 4 weeks ago

Problem

This PR contains changes required for the Ubuntu LTS upgrade to 24.04 and as such targets the `os-upgrade` branch. It mainly removes a few internal sources in favor of upstream packages and also enables building the remaining packages on 24.04.

Solution

The following are the changes, along with explanations for each: 1. `adoptopenjdk`: Prior to this PR, the JDK was sourced and downloaded from our internal artifactory. There is no reason why we cannot install this via apt. 2. `bpftrace`, `bcc`, `drgn`, `fio`, `gdb-python`, `libkdumpfile` and `mold`: All of these packages also can be sourced directly from their respective upstream sources (dependent changes WIP) 3. `llvm-12` is not available on 24.04. As such update `connstat` and `zfs`'s build dependency to depend on `llvm-14` instead. 4. `zfs` also requires additional packages: - `dh-dkms` - `libpam0g`: The bootstrap image that the current + future OS upgrade projects will initially use is based on a vanilla Ubuntu image, and not a Delphix-based buildserver. Hence, the PAM headers need to be installed as a build dependency of ZFS - `libtirpc-dev`

Testing Done

WIP