diff options
| author | Arslaan Pathan <[email protected]> | 2026-06-10 20:07:29 +1200 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-06-10 20:07:29 +1200 |
| commit | 3609dc6087944e642233d15ee158504f57a266f3 (patch) | |
| tree | 5c1fa9a879bf26f19032659db26a0b4fb24074d0 /nix | |
| parent | 58b1499d3431700d999a5164f7e5a22706adc35d (diff) | |
| download | yerbalinux-3609dc6087944e642233d15ee158504f57a266f3.tar.xz yerbalinux-3609dc6087944e642233d15ee158504f57a266f3.zip | |
Use rm -f on rootfs/sbin/init just in case it fails instead of just rm
Diffstat (limited to 'nix')
| -rw-r--r-- | nix/rootfs.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/rootfs.nix b/nix/rootfs.nix index 44532cc..f9d29a7 100644 --- a/nix/rootfs.nix +++ b/nix/rootfs.nix @@ -34,7 +34,7 @@ stdenv.mkDerivation { chmod -R u+w rootfs ln -sf /usr/bin/runit-init rootfs/init chmod -R u+w rootfs - rm rootfs/sbin/init + rm -f rootfs/sbin/init chmod -R u+w rootfs ln -sf /usr/bin/runit-init rootfs/sbin/init cp -a ${../runit}/* rootfs/etc/runit/ |
