]> git.ipfire.org Git - people/ms/bricklayer.git/commitdiff
master: Don't let pakfire ask any questions
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 17 Nov 2022 20:42:54 +0000 (20:42 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 17 Nov 2022 20:42:54 +0000 (20:42 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/bricklayer-master

index 46fe71bdbbb22e7a6b50307aac3951395e02ef3b..a90eab81bd2e6fdb612a2036032dd12e03786b7b 100644 (file)
@@ -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}"