Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

Commit

Permalink
Fix grubby traceback on fresh F17 system (#872088)
Browse files Browse the repository at this point in the history
bootloader.default_entry() causes a traceback if your grub2.cfg has:

  set default="${saved_entry}"

which is the F17 default, apparently. But we don't need to check the
default entry for anything except debugging, so.. just drop those lines.
  • Loading branch information
wgwoods committed Nov 2, 2012
1 parent b35a82d commit 7f2f2f1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fedup/download.py
Expand Up @@ -297,8 +297,6 @@ def setup_upgraderoot():
def modify_bootloader(kernel, initrd):
log.info("reading bootloader config")
bootloader = Grubby()
default = bootloader.default_entry()
log.info("default boot entry: \"%s\", %s", default.title, default.root)

# avoid duplicate boot entries
for e in bootloader.get_entries():
Expand Down

0 comments on commit 7f2f2f1

Please sign in to comment.