move bootctl output to logging

This commit is contained in:
Tobias Powalowski 2022-03-22 09:26:02 +01:00
parent 6a61a8df88
commit fd6bc7cc80
2 changed files with 3 additions and 5 deletions

View file

@ -528,7 +528,7 @@ do_efistub_uefi() {
do_systemd_boot_uefi() {
DIALOG --msgbox "Setting up Systemd-boot now ..." 0 0
DIALOG --infobox "Setting up Systemd-boot now ..." 0 0
# create directory structure, if it doesn't exist
! [[ -d "${DESTDIR}/${UEFISYS_MOUNTPOINT}/loader/entries" ]] && mkdir -p "${DESTDIR}/${UEFISYS_MOUNTPOINT}/loader/entries"
@ -574,8 +574,8 @@ GUMEOF
uefi_mount_efivarfs
chroot_mount
chroot "${DESTDIR}" "/usr/bin/bootctl" --path="${UEFISYS_MOUNTPOINT}" install
chroot "${DESTDIR}" "/usr/bin/bootctl" --path="${UEFISYS_MOUNTPOINT}" update
chroot "${DESTDIR}" "/usr/bin/bootctl" --path="${UEFISYS_MOUNTPOINT}" install > $LOG
chroot "${DESTDIR}" "/usr/bin/bootctl" --path="${UEFISYS_MOUNTPOINT}" update > $LOG
chroot_umount
if [[ -e "${DESTDIR}/${UEFISYS_MOUNTPOINT}/EFI/systemd/systemd-boot${_SPEC_UEFI_ARCH}.efi" ]]; then

View file

@ -11,8 +11,6 @@ if [[ "${RUNNING_ARCH}" == "aarch64" ]]; then
VMLINUZ="Image.gz"
VMLINUZ_EFISTUB="Image"
fi
# name of the initramfs filesystem
INITRAMFS="initramfs-${KERNELPKG}"
# abstract the common pacman args
PACMAN="pacman --root ${DESTDIR} ${PACMAN_CONF} --cachedir=${DESTDIR}/var/cache/pacman/pkg --noconfirm --noprogressbar"