diff options
| author | r-vdp <ramses@well-founded.dev> | 2024-12-11 14:37:48 +0100 |
|---|---|---|
| committer | r-vdp <ramses@well-founded.dev> | 2024-12-17 00:18:43 +0100 |
| commit | 2187d1970e627656bf3a2ed7d23d579bc66874be (patch) | |
| tree | c8b68210ed4d5de166596061e33d7e2721b8f604 /pkgs/development/python-modules/rangehttpserver | |
| parent | d18fae80ef757c63e497c77271300f4efce7fb86 (diff) | |
nixos/etc-overlay: make the etc overlay compatible with nixos-enter and nixos-install
When using nixos-enter (and so also nixos-install) on a system with etc-overlay enabled,
he activation script gets called directly, and there is no systemd running.
This violates a couple of assumptions in the etc-overlay activation script which
assumed that it only ever ran when switching into a new generation and that
the very first /etc would always have been set up by the systemd initrd.
As more and more things are being moved into systemd components (initrd services,
mount units, tmpfiles, etc), I think that it is going to become increasingly
difficult to stay compatible with these tools, but at least for now there is
no real alternative and so we probably want to be able to install systems
with etc-overlay enabled.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
