From 3325f933b5c27737c7970df36d31578dc1ad9c6c Mon Sep 17 00:00:00 2001 From: bryan Date: Thu, 24 Apr 2025 09:45:51 -0400 Subject: [PATCH] Use rootful container for testing --- installJRMC | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/installJRMC b/installJRMC index ff080a7..f21b02c 100755 --- a/installJRMC +++ b/installJRMC @@ -782,7 +782,7 @@ acquire_deb_new() { # Define the repositories to search cnt=$(sudo buildah from --quiet alpine:edge) && - buildah run "$cnt" -- sh -c ' + sudo buildah run "$cnt" -- sh -c ' apk add apt &>/dev/null mkdir -p /download cat <<-EOF > /etc/apt/sources.list.d/jriver.sources @@ -795,8 +795,8 @@ acquire_deb_new() { apt update --allow-insecure-repositories &>/dev/null cd /download apt download "mediacenter'"$MC_MVERSION"'"' && - buildah copy "$cnt" /download/MediaCenter-"$MC_VERSION"*.deb "$OUTPUT_DIR/SOURCES/" && - buildah rm "$cnt" + sudo buildah copy "$cnt" /download/MediaCenter-"$MC_VERSION"*.deb "$OUTPUT_DIR/SOURCES/" && + sudo buildah rm "$cnt" # Return if the download was successful ((found)) && [[ -f $MC_DEB ]]