]> git.ozlabs.org Git - petitboot/commit
Add URL test to resolve_path
authorGeoff Levand <geoffrey.levand@am.sony.com>
Sun, 12 Apr 2009 15:11:47 +0000 (15:11 +0000)
committerJeremy Kerr <jk@ozlabs.org>
Tue, 30 Jun 2009 07:29:14 +0000 (15:29 +0800)
commitdc13479d33efc6cf4b55bfd7b4875c44e4a9bbd0
tree0da6caa807e61d1f6cb51b2b3fcb5103bcd7c875
parent1eaa67c4bd124bd9e786c64c95f4fb1f3570482b
Add URL test to resolve_path

Add a check to discover's resolve_path() to test if the path
is a URL, and if so just return that path.

If the path has "file://", treat it as a local path.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
discover/paths.c