diff --git a/patches/stage-2-init.sh b/patches/stage-2-init.sh index 0ef8cc6..78d416f 100755 --- a/patches/stage-2-init.sh +++ b/patches/stage-2-init.sh @@ -2,7 +2,7 @@ set -x -echo "HELLOOOOOOOOOOOO FROM STAGE 2" +echo "--- starting stage 2 ---" systemConfig=@systemConfig@ @@ -17,6 +17,9 @@ if [ "${IN_NIXOS_SYSTEMD_STAGE1:-}" != true ]; then # Show each command. set -x ;; + debug2) + bash -i + ;; esac done @@ -121,7 +124,7 @@ echo "running activation script..." #strace -f $systemConfig/activate $systemConfig/activate -echo "ACTIVATE WORKED!!!" +echo "activation script OK" # Record the boot configuration. ln -sfn "$systemConfig" /run/booted-system