[node-patches] Change in ovirt-node[master]: boot: Add savedefault to primary boot entry

fabiand at fedoraproject.org fabiand at fedoraproject.org
Sun Jun 15 15:07:57 UTC 2014


Fabian Deutsch has submitted this change and it was merged.

Change subject: boot: Add savedefault to primary boot entry
......................................................................


boot: Add savedefault to primary boot entry

Previously savedefault was only set on the backup (second) boot entry of
the grub cfg. That lead to problems when you wanted to set the primary
entry the default after booting the second one:
1. Boot primary entry (is default)
2. Boot second entry (becomes default, as of savedefault)
3. Reboot - Boots into second entry
4. Boot primary entry (does _not_ become default)
5. Reboot - Boots into second entry
This patch also adds savedefault to the primary boot entry, that way the
primary entry will be set as default when it is selected in the boot
entry. That would lead to the following behavior:
...
4. Boot primary entry (becomes default, as of new savedefault)
5. Reboot - Boots into primary entry

Change-Id: I49fcc97af7ac275086dd10ac26f9edad90e7aea9
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1017114
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirtnode/install.py
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Fabian Deutsch: Verified; Looks good to me, approved
  Joey Boggs: Verified; Looks good to me, but someone else must approve



-- 
To view, visit http://gerrit.ovirt.org/20025
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I49fcc97af7ac275086dd10ac26f9edad90e7aea9
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>
Gerrit-Reviewer: Fabian Deutsch <fabiand at fedoraproject.org>
Gerrit-Reviewer: Itamar Heim <iheim at redhat.com>
Gerrit-Reviewer: Joey Boggs <jboggs at redhat.com>
Gerrit-Reviewer: Ryan Barry <rbarry at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the node-patches mailing list