discover/boot: Add boot hooks
authorJeremy Kerr <jk@ozlabs.org>
Thu, 20 Jun 2013 02:33:29 +0000 (10:33 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Mon, 24 Jun 2013 05:07:58 +0000 (13:07 +0800)
commite9fd07f945135224708253845a2fa08943755b53
tree80176b1ba0681bcf6058edfde9a32dadab49c10c
parent72332700113065602e3545b7a358a34c102851d8
discover/boot: Add boot hooks

Add a method of running pre-boot hooks. Executable files in
/etc/petitboot/boot.d/ are run (in order) before we start the boot
process.

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