From a12526ff9a043f22ba7f8060ca4a7506634f4027 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Mon, 4 Apr 2022 10:05:55 +0200 Subject: [PATCH] don't show output on tty --- usr/lib/archboot/installer/configuration.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/lib/archboot/installer/configuration.sh b/usr/lib/archboot/installer/configuration.sh index 8af38702f..d5760b232 100644 --- a/usr/lib/archboot/installer/configuration.sh +++ b/usr/lib/archboot/installer/configuration.sh @@ -50,9 +50,9 @@ run_mkinitcpio() { chroot_mount echo "Initramfs progress ..." > /tmp/mkinitcpio.log if [[ "${RUNNING_ARCH}" == "aarch64" ]]; then - chroot "${DESTDIR}" /usr/bin/mkinitcpio -p "${KERNELPKG}"-"${RUNNING_ARCH}" | tee -a "${LOG}" /tmp/mkinitcpio.log >/dev/null 2>&1 + chroot "${DESTDIR}" /usr/bin/mkinitcpio -p "${KERNELPKG}"-"${RUNNING_ARCH}" |& tee -a "${LOG}" /tmp/mkinitcpio.log >/dev/null 2>&1 else - chroot "${DESTDIR}" /usr/bin/mkinitcpio -p "${KERNELPKG}" | tee -a "${LOG}" /tmp/mkinitcpio.log >/dev/null 2>&1 + chroot "${DESTDIR}" /usr/bin/mkinitcpio -p "${KERNELPKG}" |& tee -a "${LOG}" /tmp/mkinitcpio.log >/dev/null 2>&1 fi chroot_umount }