diff --git a/.gitea/workflows/base-build.yml b/.gitea/workflows/base-build.yml index 73c97ff..5e290e0 100644 --- a/.gitea/workflows/base-build.yml +++ b/.gitea/workflows/base-build.yml @@ -63,18 +63,18 @@ jobs: done echo "[CHROOT] Configuring Debian system..." - chroot "$ROOTFS_DIR" /bin/bash -c " - echo 'APT::Get::Assume-Yes \"true\";' > /etc/apt/apt.conf.d/10-assume_yes - apt-get update - apt-get upgrade - apt-get install --no-install-recommends software-properties-common bash wget curl nano locales - echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen - locale-gen - update-locale LANG=en_US.UTF-8 - apt-get remove --purge --allow-remove-essential pinentry-curses whiptail kmod iptables iproute2 dmidecode || true - apt-get clean - apt-get install -f - find /var/lib/apt/lists/ -type f -delete + chroot "$ROOTFS_DIR" /bin/bash -c "\ + echo 'APT::Get::Assume-Yes \"true\";' > /etc/apt/apt.conf.d/10-assume_yes && \ + apt-get update && \ + apt-get upgrade && \ + apt-get install --no-install-recommends software-properties-common bash wget curl nano locales && \ + echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen && \ + locale-gen && \ + update-locale LANG=en_US.UTF-8 && \ + apt-get remove --purge --allow-remove-essential pinentry-curses whiptail kmod iptables iproute2 dmidecode || true && \ + apt-get clean && \ + apt-get install -f && \ + find /var/lib/apt/lists/ -type f -delete \ " echo "[INFO] Unmounting system directories (ignore errors)..."