commit | a7c4b1a66755ef12faa46e3548e6bb4d3aef9bcb | [log] [download] |
---|---|---|
author | Will Woods <wwoods@redhat.com> | Fri Nov 14 04:55:53 2008 +0000 |
committer | Tony Breeds <tony@bakeyournoodle.com> | Wed Feb 18 09:59:52 2009 +1100 |
tree | 59c56a7503381221185d57c3576a36dc02b93708 | |
parent | 5a103124cb1e8a2e503663e55f6fe7da4a398d24 [diff] |
ybin --bootonce doesn't work 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). From bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=471425 The attached patch fixes these problems and makes --bootonce work as expected. Signed-off-by: Roman Rakus <rrakus@redhat.com> Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>