From a696137f804c6babb843368901c9e25f6d90560f Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 17 Nov 2022 20:42:54 +0000 Subject: [PATCH] master: Don't let pakfire ask any questions Signed-off-by: Michael Tremer --- src/bricklayer-master | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bricklayer-master b/src/bricklayer-master index 46fe71b..a90eab8 100644 --- a/src/bricklayer-master +++ b/src/bricklayer-master @@ -78,7 +78,7 @@ make_buildsystem() { ) # Install packages - if ! pakfire --arch="${arch}" --config="${PAKFIRE_CONFIG}" --root="${path}" \ + if ! pakfire --arch="${arch}" --config="${PAKFIRE_CONFIG}" --root="${path}" -y \ install --without-recommended "${packages[@]}"; then echo "Could not install build system" >&2 return 1 @@ -102,7 +102,7 @@ make_live_system_image() { local tempdir="$(mktemp -d)" # Install a very basic system - if ! pakfire --arch="${arch}" --config="${PAKFIRE_CONFIG}" --root="${tempdir}" \ + if ! pakfire --arch="${arch}" --config="${PAKFIRE_CONFIG}" --root="${tempdir}" -y \ install --without-recommends "${PACKAGES[@]}" "$@"; then echo "Could not install live system" >&2 rm -rf "${tempdir}" -- 2.47.2