mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
move bootctl output to logging
This commit is contained in:
parent
6a61a8df88
commit
fd6bc7cc80
2 changed files with 3 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue