Bug 471425 - ybin --bootonce doesn't work
Summary: ybin --bootonce doesn't work
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: yaboot
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Woodhouse
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-13 17:25 UTC by Will Woods
Modified: 2008-12-13 15:00 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-11-26 13:17:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
yaboot-1.3.14-fix-bootonce-nvram.patch (871 bytes, patch)
2008-11-13 17:25 UTC, Will Woods
no flags Details | Diff

Description Will Woods 2008-11-13 17:25:19 UTC
Created attachment 323479 [details]
yaboot-1.3.14-fix-bootonce-nvram.patch

yaboot --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.

Comment 1 Will Woods 2008-11-13 17:31:14 UTC
Er, I meant ybin --bootonce. But you get the idea.

Comment 2 Roman Rakus 2008-11-14 14:19:17 UTC
Thank you for investigation and patch.

Comment 3 Bug Zapper 2008-11-26 05:19:33 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Roman Rakus 2008-11-26 13:17:24 UTC
Fixed in rawhide yaboot-1.3.14-7.fc11

Comment 5 Fedora Update System 2008-12-11 09:44:12 UTC
yaboot-1.3.14-8.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/yaboot-1.3.14-8.fc10

Comment 6 Fedora Update System 2008-12-13 15:00:28 UTC
yaboot-1.3.14-8.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.