forked from DGNum/liminix
liminix-rebuild source /etc/profile to get PATH for reboot
This commit is contained in:
parent
292a4c4d46
commit
a809c28dde
1 changed files with 1 additions and 1 deletions
|
@ -12,4 +12,4 @@ fi
|
||||||
toplevel=$(nix-build "$@" -A outputs.systemConfiguration --no-out-link)
|
toplevel=$(nix-build "$@" -A outputs.systemConfiguration --no-out-link)
|
||||||
min-copy-closure $target_host $toplevel
|
min-copy-closure $target_host $toplevel
|
||||||
$ssh_command $target_host cp -v -fP $toplevel/bin/* /persist
|
$ssh_command $target_host cp -v -fP $toplevel/bin/* /persist
|
||||||
$ssh_command $target_host "sync; reboot"
|
$ssh_command $target_host "sync; source /etc/profile; reboot"
|
||||||
|
|
Loading…
Reference in a new issue