tftpboot: don't rely on hostname being set

This commit is contained in:
Daniel Barlow 2024-01-03 19:40:00 +00:00
parent fc5def2e15
commit 9632a64b47

View file

@ -20,11 +20,11 @@ expect {
} }
expect { expect {
"#" { send "test -f /proc/device-tree/reserved-memory/phram-rootfs*/name && hostname \r" } "#" { send "test -f /proc/device-tree/reserved-memory/phram-rootfs*/name && uname \r" }
timeout { exit 1 } timeout { exit 1 }
} }
expect { expect {
"tftpboot-test" { exit 0 } "Linux" { exit 0 }
timeout { exit 1 } timeout { exit 1 }
} }