discover/boot: Allow boot hooks to alter boot data