mkosi: update the boot loader from our freshly built one

This commit is contained in:
Lennart Poettering 2018-06-21 18:47:33 +02:00
parent a53f90ca24
commit d10ba83a1b
1 changed files with 5 additions and 0 deletions

View File

@ -90,3 +90,8 @@ cat > "$DESTDIR"/etc/issue <<EOF
Kernel \r on an \m (\l)
EOF
# Manually update the boot loader from the one we just built
mkdir -p "$DESTDIR"/boot/efi/EFI/systemd "$DESTDIR"/boot/efi/EFI/BOOT
cp "$DESTDIR"/usr/lib/systemd/boot/efi/systemd-bootx64.efi "$DESTDIR"/boot/efi/EFI/systemd/systemd-bootx64.efi
cp "$DESTDIR"/usr/lib/systemd/boot/efi/systemd-bootx64.efi "$DESTDIR"/boot/efi/EFI/BOOT/bootx64.efi