summaryrefslogtreecommitdiffstats
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
parentshared: Add support for non-native architectures to dissect_image() (diff)
downloadsystemd-1b6f9b9880348be939d354e8506a2424e88776c8.tar.xz
systemd-1b6f9b9880348be939d354e8506a2424e88776c8.zip
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