From b0d5f9c8c1707fded3c7c27674aa1b5ba4d9e208 Mon Sep 17 00:00:00 2001 From: Fierelier Date: Mon, 26 Sep 2022 11:13:13 +0200 Subject: [PATCH] Add --error-on=any to apt updates --- mods/packages-apply/data/chroot | 2 +- mods/packages-base/data/chroot | 2 +- mods/sources-proprietary/data/chroot | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/mods/packages-apply/data/chroot b/mods/packages-apply/data/chroot index 78a4af3..dfbfdd1 100755 --- a/mods/packages-apply/data/chroot +++ b/mods/packages-apply/data/chroot @@ -3,7 +3,7 @@ set -e cat << EOF | debconf-set-selections firmware-ipw2x00 firmware-ipw2x00/license/accepted boolean true EOF -apt -y update +apt --error-on=any -y update apt -y upgrade apt -y install $WDVN_PACKAGES_INTERACTIVE export DEBIAN_FRONTEND="noninteractive" diff --git a/mods/packages-base/data/chroot b/mods/packages-base/data/chroot index c81b7c0..a17b969 100755 --- a/mods/packages-base/data/chroot +++ b/mods/packages-base/data/chroot @@ -1,4 +1,4 @@ #!/bin/bash set -e -apt -y update +apt --error-on=any -y update apt -y upgrade diff --git a/mods/sources-proprietary/data/chroot b/mods/sources-proprietary/data/chroot index 229ea14..2cad80a 100755 --- a/mods/sources-proprietary/data/chroot +++ b/mods/sources-proprietary/data/chroot @@ -1,2 +1,3 @@ #!/bin/sh -apt update \ No newline at end of file +set -e +apt --error-on=any -y update \ No newline at end of file