Compare commits

...

2 Commits

Author SHA1 Message Date
Daniel Barlow 292a4c4d46 liminix-rebuild: put activate in /persist 2023-05-17 22:49:10 +01:00
Daniel Barlow 4cb4399a1c remove standard.nix modues from qemu test
qemu kernel can't be configured for CONFIG_MTD_SPLIT_UIMAGE_FW
required by flashimage
2023-05-17 21:51:54 +01:00
3 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
ssh_command=${SSH_COMMAND-ssh}
target_host=$1 target_host=$1
shift shift
@ -10,5 +11,5 @@ 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 $target_host cp -P $toplevel/bin/\* / $ssh_command $target_host cp -v -fP $toplevel/bin/* /persist
ssh $target_host reboot $ssh_command $target_host "sync; reboot"

View File

@ -13,6 +13,7 @@ let
in { in {
imports = [ imports = [
../../vanilla-configuration.nix ../../vanilla-configuration.nix
../../modules/jffs2.nix
]; ];
config = { config = {
services.sshd = longrun { services.sshd = longrun {

View File

@ -4,7 +4,7 @@ let
inherit (pkgs.liminix.services) oneshot longrun bundle target; inherit (pkgs.liminix.services) oneshot longrun bundle target;
in rec { in rec {
imports = [ imports = [
./modules/standard.nix ./modules/tftpboot.nix
./modules/wlan.nix ./modules/wlan.nix
]; ];
services.loopback = config.hardware.networkInterfaces.lo; services.loopback = config.hardware.networkInterfaces.lo;