diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2014-01-23 13:31:56 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2014-01-23 17:33:11 +0800 |
commit | e61e64c785de0809fb69cd160e8317f2de25793e (patch) | |
tree | a4f4fdbc5ed1a314e341bd26922b096a75eec4c1 /test/parser/test-grub2-default.c | |
parent | f66b0807cace1cfda192810861ba6309bf6fa9fe (diff) | |
download | talos-petitboot-e61e64c785de0809fb69cd160e8317f2de25793e.tar.gz talos-petitboot-e61e64c785de0809fb69cd160e8317f2de25793e.zip |
pb-config/powerpc: fix default option handling
Currently, we don't update nvram if an NVRAM parameter is set to the
default. This means we can never revert a configuration to its default
value.
This change fixes the default setting behaviour; instead of checking for
a default, we want to check if it's a default and the option is absent.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'test/parser/test-grub2-default.c')
0 files changed, 0 insertions, 0 deletions