fix: remove bootctl from makepart, remove signing
@@ -24,13 +24,6 @@ chcon -R system_u:object_r:unlabeled_t:s0 "$rootfs_work"
chroot "$rootfs_work" /sbin/setfiles /etc/selinux/default/contexts/files/file_contexts /
rm "$rootfs_work/.autorelabel"
-# setup systemd boot (setting SYSTEMD_ESP_PATH env needed to bypass bootctl checking if mounted from esp partition)
-touch "$rootfs_work/boot/efi/loader/loader.conf"
-chroot "$rootfs_work" /usr/bin/env -i SYSTEMD_ESP_PATH="/boot/efi" bootctl --no-variables --make-machine-id-directory=no install
-datefudge -s "@$timestamp" sbsign --cert /kernel.crt --key /kernel.key --output "$rootfs_work/boot/efi/EFI/systemd/systemd-bootx64.efi" "$rootfs_work/boot/efi/EFI/systemd/systemd-bootx64.efi"
-datefudge -s "@$timestamp" sbsign --cert /kernel.crt --key /kernel.key --output "$rootfs_work/boot/efi/EFI/BOOT/BOOTX64.EFI" "$rootfs_work/boot/efi/EFI/BOOT/BOOTX64.EFI"
-rm "$rootfs_work/boot/efi/loader/random-seed" # random seed would obviously break reproducibility
-
fstab=$(mktemp)
export E2FSPROGS_FAKE_TIME=$timestamp
