mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
move parameters to common
This commit is contained in:
parent
ef156fe38c
commit
190a640708
1 changed files with 5 additions and 0 deletions
|
@ -5,6 +5,11 @@ LANG=C.UTF8
|
|||
_LOCAL_DB="/var/cache/pacman/pkg/archboot.db"
|
||||
_RUNNING_ARCH="$(uname -m)"
|
||||
_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
|
||||
[[ "${_RUNNING_ARCH}" == "x86_64" || "${_RUNNING_ARCH}" == "riscv64" ]] && _VMLINUZ="vmlinuz-${_KERNELPKG}"
|
||||
if [[ "${_RUNNING_ARCH}" == "aarch64" ]]; then
|
||||
|
|
Loading…
Reference in a new issue