move NO_LOG to common

This commit is contained in:
Tobias Powalowski 2023-02-07 16:51:32 +01:00
parent 8195bb6727
commit e94e19dfcd
2 changed files with 2 additions and 1 deletions

View file

@ -2,8 +2,8 @@
# SPDX-License-Identifier: GPL-2.0-only
# created by Tobias Powalowski <tpowa@archlinux.org>
# source base and common first, contains basic parameters
. /usr/lib/archboot/installer/base.sh
. /usr/lib/archboot/installer/common.sh
. /usr/lib/archboot/installer/base.sh
# source all other functions
. /usr/lib/archboot/installer/autoconfiguration.sh
. /usr/lib/archboot/installer/autoprepare.sh

View file

@ -6,6 +6,7 @@ LANG=C.UTF8
_LOCAL_DB="/var/cache/pacman/pkg/archboot.db"
_RUNNING_ARCH="$(uname -m)"
_KERNELPKG="linux"
_NO_LOG="/dev/null"
# name of the kernel image
[[ "${_RUNNING_ARCH}" == "x86_64" || "${_RUNNING_ARCH}" == "riscv64" ]] && _VMLINUZ="vmlinuz-${_KERNELPKG}"
if [[ "${_RUNNING_ARCH}" == "aarch64" ]]; then