ybin --bootonce doesn't work
Roman Rakus
rrakus at redhat.com
Sat Nov 15 01:55:53 EST 2008
From bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=471425
/Description <https://bugzilla.redhat.com/show_bug.cgi?id=471425#c0>
From Will Woods (wwoods at redhat.com <mailto:wwoods at redhat.com>)
2008-11-13 12:25:19 EDT/
ybin --bootonce doesn't work, for a couple of reasons:
1) It inverts the logic of a test to see if nvram is available, and
2) It assumes the output of 'nvsetenv VARNAME' will be 'VARNAME=VALUE', rather
than just 'VALUE' (as it is when using the "nvram" utility).
The attached patch fixes these problems and makes --bootonce work as expected.
RR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yaboot-1.3.14-fix-bootonce-nvram.patch
Type: text/x-patch
Size: 745 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/yaboot-devel/attachments/20081114/99b38106/attachment.bin>
More information about the Yaboot-devel
mailing list