]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
install-deps.sh: support INSTALL_EXTRA_PKGS
authorJohn Mulligan <jmulligan@redhat.com>
Mon, 3 Oct 2022 18:43:19 +0000 (14:43 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 18 Feb 2025 22:58:08 +0000 (17:58 -0500)
commit63530dfbe1f11332196e506e9f98731a4add56b4
tree260b8aba34fe4b5b39ac59da4f45646b18786676
parent8da888c2872dfbd2d1927df0f910503cb5cc4a50
install-deps.sh: support INSTALL_EXTRA_PKGS

Instead of requiring other scripts to install packages independently,
teach install-deps.sh to install additional packages from the variable
INSTALL_EXTRA_PKGS. Now, other scripts should just set
INSTALL_EXTRA_PKGS and call install-deps.sh.

In particular, this fixes an issue installing packages in a clean (ex.
container) system that doesn't yet have repositories set up. Since this
task is performed by install-deps.sh already we avoid a chicken-and-egg
issue (or doing redundant work of setting up repos) in other scripts.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 8b529a0d416acd9b1fd102fd384ab0b64736e66c)
install-deps.sh