summaryrefslogtreecommitdiff
path: root/mkosi.build
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2021-11-23 19:57:18 +0100
committerDaan De Meyer <daan.j.demeyer@gmail.com>2021-11-25 13:54:03 +0100
commit1b6f9b9880348be939d354e8506a2424e88776c8 (patch)
treefbe9c38e9503e529764f36c990256d82162b3256 /mkosi.build
parent49ae9d91f9ba68bf3f1a6928152a5969d329bbc2 (diff)
downloadsystemd-1b6f9b9880348be939d354e8506a2424e88776c8.tar.gz
mkosi: Install sd-boot using postinst script instead of in build script
This allows us to reuse bootctl install instead of replicating the logic in the build script.
Diffstat (limited to 'mkosi.build')
-rwxr-xr-xmkosi.build9
1 files changed, 0 insertions, 9 deletions
diff --git a/mkosi.build b/mkosi.build
index bb04d5edaa..fe3688d6ae 100755
--- a/mkosi.build
+++ b/mkosi.build
@@ -110,12 +110,3 @@ if [ -n "$IMAGE_VERSION" ] ; then
cat /tmp/os-release.tmp > "$DESTDIR"/usr/lib/os-release
rm /tmp/os-release.tmp
fi
-
-# 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
-
-mkdir -p "$DESTDIR"/efi/EFI/systemd "$DESTDIR"/efi/EFI/BOOT
-cp "$DESTDIR"/usr/lib/systemd/boot/efi/systemd-bootx64.efi "$DESTDIR"/efi/EFI/systemd/systemd-bootx64.efi
-cp "$DESTDIR"/usr/lib/systemd/boot/efi/systemd-bootx64.efi "$DESTDIR"/efi/EFI/BOOT/bootx64.efi