Ensure reboot is the busybox one

systemd's version may end up in PATH, and that won't work.
This commit is contained in:
Thomas Leonard 2025-09-06 10:54:51 +01:00
parent ca240495f0
commit a5572b980d

View file

@ -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