[SLOF] [PATCH 0/2] envvar: Make sure that /options is always populated correctly
thuth at redhat.com
Tue Oct 25 22:43:43 AEDT 2016
While working on the "-prom-env" parameter support for the pseries
machine in QEMU, I had to discover that SLOF does not populate
the /options device tree node correctly anymore in case some
environment variables are missing in the common NVRAM partition.
While looking closer at the issue, I also noticed that "set-defaults"
is currently broken with regards to /options - it does not update
the entries there anymore.
The first patch now fixes these issues. The second patch is a small
optimization - once we correctly set the default values in /options
right from the start, we do not have to read them from the freshly
initialized NVRAM partition anymore.
Thomas Huth (2):
envvar: Set properties in /options during "(set-defaults)"
envvar: Do not read default values for /options from the NVRAM anymore
slof/fs/envvar.fs | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
More information about the SLOF