tftpboot: don't rely on hostname being set
This commit is contained in:
1 parent
fc5def2e15
commit
9632a64b47
1 file changed
+2
-2
@@ -20,11 +20,11 @@ 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 }
|
||||
}
|
||||
|
||||
expect {
|
||||
"tftpboot-test" { exit 0 }
|
||||
"Linux" { exit 0 }
|
||||
timeout { exit 1 }
|
||||
}
|
||||
Reference in new issue
Block a user