mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix preset for AARCH64
This commit is contained in:
parent
5f302bd4f4
commit
6430b2f3e5
1 changed files with 5 additions and 1 deletions
|
@ -494,7 +494,11 @@ CONFEOF
|
||||||
|
|
||||||
_do_uki_uefi() {
|
_do_uki_uefi() {
|
||||||
_CMDLINE="${_DESTDIR}/etc/kernel/cmdline"
|
_CMDLINE="${_DESTDIR}/etc/kernel/cmdline"
|
||||||
_MKINITCPIO_PRESET="${_DESTDIR}/etc/mkinitcpio.d/linux.preset"
|
if [[ "${_RUNNING_ARCH}" == "aarch64" ]]; then
|
||||||
|
_MKINITCPIO_PRESET="${_DESTDIR}/etc/mkinitcpio.d/"${_KERNELPKG}"-"${_RUNNING_ARCH}".preset"
|
||||||
|
else
|
||||||
|
_MKINITCPIO_PRESET="${_DESTDIR}/etc/mkinitcpio.d/"${_KERNELPKG}".preset"
|
||||||
|
fi
|
||||||
_dialog --infobox "Setting up Unified Kernel Image now. This needs some time..." 3 70
|
_dialog --infobox "Setting up Unified Kernel Image now. This needs some time..." 3 70
|
||||||
sleep 5
|
sleep 5
|
||||||
echo "${_KERNEL_PARAMS_MOD}" > "${_CMDLINE}"
|
echo "${_KERNEL_PARAMS_MOD}" > "${_CMDLINE}"
|
||||||
|
|
Loading…
Reference in a new issue