netboot: Initialize crossystem data for Ctrl+N

Some people complained about crossyste mainfw_type and other things not
working during netboot. This patch should resolve that problem, although
it's not 100% clean (the VbSharedData passed to crossystem will not have
all values filled out the same way as a normal boot, since we didn't do
the actual kernel selection part).

BRANCH=None
BUG=chromium:848410
TEST=Netbooted a Cheza, confirmed that 'crossystem mainfw_type' returns
'developer'.

Change-Id: I1da99091bdf7931705d2748c9df6745053ccba34
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1094014
Commit-Ready: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
1 file changed