···11/*
22 Technical details
3344- `make-disk-image` has a bit of magic to minimize the amount of work to do in a virtual machine.
44+ `make-disk-image` has a bit of magic to minimize the amount of work to do in a virtual machine. It also might arguably have too much, or at least too specific magic, so please consider to work towards the effort of unifying our image builders, as outlined in https://github.com/NixOS/nixpkgs/issues/324817 before adding more.
5566 It relies on the [LKL (Linux Kernel Library) project](https://github.com/lkl/linux) which provides Linux kernel as userspace library.
77···447447 mkdir -p $root
448448449449 # Copy arbitrary other files into the image
450450- # Semi-shamelessly copied from make-etc.sh. I (@copumpkin) shall factor this stuff out as part of
451451- # https://github.com/NixOS/nixpkgs/issues/23052.
450450+ # Semi-shamelessly copied from make-etc.sh.
452451 set -f
453452 sources_=(${lib.concatStringsSep " " sources})
454453 targets_=(${lib.concatStringsSep " " targets})
···116116 platforms = platforms.linux; # Darwin probably works too but I haven't tested it
117117 license = licenses.gpl2;
118118 maintainers = with maintainers; [
119119- copumpkin
120119 raitobezarius
121120 ];
122121 };