discover/boot: Allow boot hooks to alter boot data
authorJeremy Kerr <jk@ozlabs.org>
Thu, 20 Jun 2013 06:04:29 +0000 (14:04 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Mon, 24 Jun 2013 05:07:58 +0000 (13:07 +0800)
commitaaa1de0046295cfd1f7a5428f399a5d1f9e1e563
tree33c68d3ab5977b9bf86553126b8d8de59dda2a09
parentca6231932c9e81822f86142646bc4aa42454353e
discover/boot: Allow boot hooks to alter boot data

By exiting with status == 2, boot hooks can update boot data by
printing name=value to stdout.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
discover/boot.c
lib/system/system.c