diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2021-11-23 19:57:18 +0100 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2021-11-25 13:54:03 +0100 |
commit | 1b6f9b9880348be939d354e8506a2424e88776c8 (patch) | |
tree | fbe9c38e9503e529764f36c990256d82162b3256 /mkosi.build | |
parent | shared: Add support for non-native architectures to dissect_image() (diff) | |
download | systemd-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-x | mkosi.build | 9 |
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 |