]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: update the boot loader from our freshly built one
authorLennart Poettering <lennart@poettering.net>
Thu, 21 Jun 2018 16:47:33 +0000 (18:47 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 16 Oct 2018 14:44:34 +0000 (16:44 +0200)
mkosi.build

index b7b8c50a2b7425c90875c859063526129a74ce1d..114e617c8586e57d8a200d7a0f7ab63584af8c71 100755 (executable)
@@ -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