From 3609dc6087944e642233d15ee158504f57a266f3 Mon Sep 17 00:00:00 2001 From: Arslaan Pathan Date: Wed, 10 Jun 2026 20:07:29 +1200 Subject: Use rm -f on rootfs/sbin/init just in case it fails instead of just rm --- nix/rootfs.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nix') 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/ -- cgit v1.2.3