diff options
Diffstat (limited to 'nix')
| -rw-r--r-- | nix/rootfs.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nix/rootfs.nix b/nix/rootfs.nix index f9d29a7..de3876a 100644 --- a/nix/rootfs.nix +++ b/nix/rootfs.nix @@ -32,11 +32,11 @@ stdenv.mkDerivation { # runit start cp -a ${runit}/bin/* rootfs/usr/bin chmod -R u+w rootfs - ln -sf /usr/bin/runit-init rootfs/init + ln -sf usr/bin/runit-init rootfs/init chmod -R u+w rootfs rm -f rootfs/sbin/init chmod -R u+w rootfs - ln -sf /usr/bin/runit-init rootfs/sbin/init + ln -sf usr/bin/runit-init rootfs/sbin/init cp -a ${../runit}/* rootfs/etc/runit/ chmod -R u+w rootfs ln -sf /etc/runit/sv/getty-tty0 rootfs/etc/service/ |
