mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
only install ucode if not present on _DESTDIR
This commit is contained in:
parent
37474d74c2
commit
b22c76b24a
1 changed files with 5 additions and 3 deletions
|
@ -961,10 +961,12 @@ _install_bootloader() {
|
|||
_select_source || return 1
|
||||
fi
|
||||
_prepare_pacman
|
||||
if [[ -n "${_UCODE_PKG}" ]]; then
|
||||
if [[ -n "${_UCODE}" ]]; then
|
||||
if ! [[ -f ${_DESTDIR}/boot/${_UCODE} ]]; then
|
||||
_PACKAGES="${_UCODE_PKG}"
|
||||
_run_pacman
|
||||
fi
|
||||
fi
|
||||
if [[ -n "${_UEFI_BOOT}" ]]; then
|
||||
_install_bootloader_uefi
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue