mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix ucode adding
This commit is contained in:
parent
929389435e
commit
5a31d60884
2 changed files with 4 additions and 3 deletions
|
@ -71,7 +71,7 @@ CONFEOF
|
|||
Description=Run systemd ukify
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart="/usr/lib/systemd/ukify -c /etc/ukify.conf --output ${_UEFISYS_MP}/EFI/Linux/archlinux-linux.efi"
|
||||
ExecStart="/usr/lib/systemd/ukify build --config=/etc/ukify.conf --output ${_UEFISYS_MP}/EFI/Linux/archlinux-linux.efi"
|
||||
CONFEOF
|
||||
${_NSPAWN} systemctl enable run_ukify.path &>"${_NO_LOG}"
|
||||
}
|
||||
|
|
|
@ -8,10 +8,11 @@ _uki_config() {
|
|||
echo "[UKI]" > "${_UKIFY_CONFIG}"
|
||||
echo "Linux=/boot/${_VMLINUZ}" >> "${_UKIFY_CONFIG}"
|
||||
if [[ -n ${_UCODE} ]]; then
|
||||
_UCODE="/boot/${_UCODE}"
|
||||
echo "Initrd=/boot/${_UCODE} /boot/${_INITRAMFS}" >> "${_UKIFY_CONFIG}"
|
||||
else
|
||||
echo "Initrd=/boot/${_INITRAMFS}" >> "${_UKIFY_CONFIG}"
|
||||
fi
|
||||
cat << CONFEOF >> "${_UKIFY_CONFIG}"
|
||||
Initrd=${_UCODE} /boot/${_INITRAMFS}
|
||||
Cmdline=@/etc/kernel/cmdline
|
||||
OSRelease=@/etc/os-release
|
||||
Splash=/usr/share/systemd/bootctl/splash-arch.bmp
|
||||
|
|
Loading…
Reference in a new issue