Skip to content

Commit d10ba83

Browse files
committed
mkosi: update the boot loader from our freshly built one
1 parent a53f90c commit d10ba83

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

mkosi.build

+5
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,8 @@ cat > "$DESTDIR"/etc/issue <<EOF
9090
Kernel \r on an \m (\l)
9191
9292
EOF
93+
94+
# Manually update the boot loader from the one we just built
95+
mkdir -p "$DESTDIR"/boot/efi/EFI/systemd "$DESTDIR"/boot/efi/EFI/BOOT
96+
cp "$DESTDIR"/usr/lib/systemd/boot/efi/systemd-bootx64.efi "$DESTDIR"/boot/efi/EFI/systemd/systemd-bootx64.efi
97+
cp "$DESTDIR"/usr/lib/systemd/boot/efi/systemd-bootx64.efi "$DESTDIR"/boot/efi/EFI/BOOT/bootx64.efi

0 commit comments

Comments
 (0)