move parameters to common

This commit is contained in:
Tobias Powalowski 2023-01-09 10:12:33 +01:00
parent ef156fe38c
commit 190a640708

View file

@ -5,6 +5,11 @@ LANG=C.UTF8
_LOCAL_DB="/var/cache/pacman/pkg/archboot.db" _LOCAL_DB="/var/cache/pacman/pkg/archboot.db"
_RUNNING_ARCH="$(uname -m)" _RUNNING_ARCH="$(uname -m)"
_KERNELPKG="linux" _KERNELPKG="linux"
_INTEL_UCODE="intel-ucode.img"
# name of amd ucode initramfs image
_AMD_UCODE="amd-ucode.img"
# name of the initramfs filesystem
_INITRAMFS="initramfs-${_KERNELPKG}.img"
# name of the kernel image # name of the kernel image
[[ "${_RUNNING_ARCH}" == "x86_64" || "${_RUNNING_ARCH}" == "riscv64" ]] && _VMLINUZ="vmlinuz-${_KERNELPKG}" [[ "${_RUNNING_ARCH}" == "x86_64" || "${_RUNNING_ARCH}" == "riscv64" ]] && _VMLINUZ="vmlinuz-${_KERNELPKG}"
if [[ "${_RUNNING_ARCH}" == "aarch64" ]]; then if [[ "${_RUNNING_ARCH}" == "aarch64" ]]; then