Some other progress, we'are almost there:

- Cleaned up several stuff.
- Fixed the emergency shell to work when called from within systemd.
- Removed the /nix/store/eeeeeeeee- references hack, now we build a systemd
with hardcoded /bin/foo and /sbin/bar commands.

Still systemd is re-executed for the stage-2, I think there's no clean
solution at the moment.

FIXME: currently "auto" file systems do not work because the relative
kernel module is not loaded. Does the fstab-generator generates .mount with
the guessed file system, or it keeps being "auto"?Does anybody know, before
I scratch my head to make it work?

For an example of porting from old hooks, see the qemu-vm.nix[1]. I don't
know instead why the setupRoot service is not even scheduled by systemd :-(

[1]
https://github.com/lethalman/nixpkgs/blob/systemd/nixos/modules/virtualisation/qemu-vm.nix#L284
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to