Cache boot-fail-wait to avoid romfile access after POST.1.7.2-stablerel-1.7.2.2
commitd4f7d90f47462b4e8836899adc5060fbde5253e9
authorKevin O'Connor <kevin@koconnor.net>
Tue, 5 Mar 2013 09:52:21 +0000 (5 17:52 +0800)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 15 May 2013 05:47:31 +0000 (15 07:47 +0200)
tree1298346f7cfe5b9c550e1b0560fad60ebe34a317
parent49b9c599b5a05ef8b557bc5f10872a6093aef771
Cache boot-fail-wait to avoid romfile access after POST.

Memory allocated with malloc_tmp() can't be used after the POST phase.
So, access boot-fail-wait in post phase and store it for the boot
phase to use.  This fixes the regression introduced by commit
59d6ca52.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Signed-off-by: Amos Kong <akong@redhat.com>
(cherry picked from commit 11a7234491cb2a027b0fa5e82af38a3e78b44c80)
src/boot.c