]> git.ozlabs.org Git - petitboot/commit
discover: Don't depend on tftp failure for type detection
authorJeremy Kerr <jk@ozlabs.org>
Wed, 25 Sep 2013 06:23:39 +0000 (14:23 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 26 Sep 2013 06:30:17 +0000 (14:30 +0800)
commitca5a62c1d04a3eea1d1c307d4fa4f0b1559140d2
tree022367e0be0f9207dd4b7c4c87a3b85ea4717602
parent7889b6f4bf81a1d2742c6f7d6fb9f6f603dd251e
discover: Don't depend on tftp failure for type detection

Rather than always trying both TFTP client types, do a runtime detection
on first invocation. This can be fixed at build-time with
--with-tftp=TYPE.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
configure.ac.in
discover/paths.c
lib/system/system.c
lib/system/system.h