mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
don't show output on tty
This commit is contained in:
parent
22389f737b
commit
a12526ff9a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue