-
Notifications
You must be signed in to change notification settings - Fork 41
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
Want variant-specific package lists for Live Build #582
Comments
As an alternative, we could perhaps also just mount For reference you can see what you are doing in
|
If we did this, and stopped installing packages via Ansible, that'd likely address DLPX-76872 bug too. IMO, it's a bit awkward how we install delphix-platform first, and then install other packages via Ansible, rather than installing all packages for a given variant via the package list(s). |
There currently exist two ways to install packages:
live-build/config/package-lists
, where it will be processed by Live Build in an environment where/proc
is mounted. Such package lists apply to all variants.live-build/variants/${VARIANT}/ansible
, where it will be processed by Ansible in an environment where/proc
is not mounted. Such Ansible playbooks apply to specific variants.As discovered in #576, some packages (notably
ca-certificates-java
) require/proc
to be mounted during installation, and those packages must be installed in some variants (notablyinternal-dcenter
, to provide Java 11 support for Jenkins agents) and not others (notablyinternal-dev
,internal-qa
, andexternal-standard
, which are designed to support products that use Java 8 and are incompatible with Java 11).No infrastructure currently exists to support this use case. The solution is to enhance
appliance-build
's build to support variant-specific package lists (just as it already supports variant-specific Ansible playbooks) and plumb those through to Live Build alongside the existing package lists that apply to all variants.A possible design would be to introduce variant-specific package lists in e.g.
live-build/variants/${VARIANT}/package-lists
, updatingscripts/run-live-build.sh
to merge them with the existing package lists that apply to all variants and plumb through the result to Live Build.The text was updated successfully, but these errors were encountered: