File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ debloat_paths=(
3636 " /usr/lib/tmpfiles.d"
3737 " /etc/systemd/network"
3838 " /etc/credstore"
39+ " /nix"
3940)
4041
4142for p in " ${debloat_paths[@]} " ; do rm -rf " $BUILDROOT$p " ; done
Original file line number Diff line number Diff line change @@ -6,4 +6,11 @@ SYSTEMD_BOOT_URL="https://snapshot.debian.org/archive/debian/20240314T094714Z/po
66TEMP_DEB=" $BUILDROOT /systemd-boot.deb"
77curl -L -o " $TEMP_DEB " " $SYSTEMD_BOOT_URL "
88mkosi-chroot dpkg -i /systemd-boot.deb
9- rm -f " $TEMP_DEB "
9+ rm -f " $TEMP_DEB "
10+
11+ # Copy the efi stub to the place where bootctl expects it
12+ bootctl=" $( which -a bootctl | grep /nix | head -n 1) "
13+ nix_dir=" $( dirname $( dirname $bootctl ) ) "
14+ boot_dir=" lib/systemd/boot"
15+ mkosi-chroot mkdir -p $nix_dir /$boot_dir
16+ mkosi-chroot cp -r /usr/$boot_dir /efi $nix_dir /$boot_dir /efi
Original file line number Diff line number Diff line change 2828 extraDeps = with pkgs ; [
2929 apt dpkg gnupg debootstrap
3030 squashfsTools dosfstools e2fsprogs mtools mustache-go
31- cryptsetup util-linux zstd
31+ cryptsetup util-linux zstd which qemu-utils
3232 ] ++ [ reprepro ] ;
3333 } ;
3434 in {
You can’t perform that action at this time.
0 commit comments