]> git.ozlabs.org Git - petitboot/commit
discover: Add struct resource
authorJeremy Kerr <jk@ozlabs.org>
Thu, 14 Mar 2013 07:55:55 +0000 (15:55 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Mon, 29 Apr 2013 04:31:20 +0000 (14:31 +1000)
commitd170c0ae55daf41c34497b51a5e84f50b76a42b6
treeab74df0c2d96892e6ad0335e2e996f065adca5a0
parente4f5bd235894c11823ac1befe8c8c43063cad026
discover: Add struct resource

Introduce a new type, struct resource, for handling resources such as
kernels and initrds.

This allows the parsers to better describe resources that are required
for booting. Firstly, we enforce all resources to be URLs, rather than
local paths. Also, resources allow us to describe files devices that
have not-yet been hotplugged.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
discover/Makefile.am
discover/resource.h [new file with mode: 0644]