Temp debug

This commit is contained in:
2025-11-07 20:36:34 -05:00
parent e040a94504
commit f564980ec6

View File

@@ -2015,8 +2015,8 @@ create_mc_apt_container() {
{ command -v buildah &>/dev/null || install_package buildah &>/dev/null; } &&
CNT=$(buildah from --quiet alpine:edge) &&
buildah run --env MC_REPO="$MC_REPO" --env MC_ARCH="$MC_ARCH" "$CNT" -- sh -c '
apk add --no-cache apt curl gnupg &>/dev/null
curl -fsSL https://dist.jriver.com/mediacenter@jriver.com.gpg.key | gpg --dearmor -o /usr/share/keyrings/jriver-com-archive-keyring.gpg &>/dev/null
apk add --no-cache apt curl gnupg
curl -fsSL https://dist.jriver.com/mediacenter@jriver.com.gpg.key | gpg --dearmor -o /usr/share/keyrings/jriver-com-archive-keyring.gpg
cat <<-EOF > /etc/apt/sources.list.d/jriver.sources
Types: deb
URIs: https://dist.jriver.com/latest/mediacenter/
@@ -2025,7 +2025,7 @@ create_mc_apt_container() {
Components: main
Architectures: $MC_ARCH
EOF
apt-get update &>/dev/null' &&
apt-get update' &&
# If user passes command strings run them in the container
for cmd in "${cmds[@]}"; do
buildah run "$CNT" -- sh -c "$cmd" || { err "$cmd failed"; return 1; }