[SLOF] [PATCH 0/2] envvar: Make sure that /options is always populated correctly

Alexey Kardashevskiy aik at ozlabs.ru
Thu Oct 27 23:06:07 AEDT 2016


On 25/10/16 22:43, Thomas Huth wrote:
> 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(-)

Thanks, applied.


-- 
Alexey


More information about the SLOF mailing list