From a5572b980d733994c3650c3cf0754dfd0704a4e9 Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Sat, 6 Sep 2025 10:54:51 +0100 Subject: [PATCH] Ensure reboot is the busybox one systemd's version may end up in PATH, and that won't work. --- rootfs/generic.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs/generic.nix b/rootfs/generic.nix index d4b5a5e..ff86661 100644 --- a/rootfs/generic.nix +++ b/rootfs/generic.nix @@ -49,7 +49,7 @@ let ln -s ${dbus}/bin/dbus-daemon bin/dbus-daemon install ${doas}/bin/doas bin/doas.unwrapped ln -s /tmp/doas bin/doas - echo "alias vmhalt='reboot; exit'" > root/.bash_profile + echo "alias vmhalt='${busybox}/bin/reboot; exit'" > root/.bash_profile ln -s ${makeStage1 { inherit run; }} sbin/init ln -s ${linuxModules}/lib lib cp -r ${./etc} etc