Skip to content
This repository
Browse code

Fix grubby traceback on fresh F17 system (#872088)

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...
commit 7f2f2f14065306f9eaafc83651ac2e511cf4cbdb 1 parent b35a82d
Will Woods authored November 02, 2012

Showing 1 changed file with 0 additions and 2 deletions. Show diff stats Hide diff stats

  1. 2  fedup/download.py
2  fedup/download.py
@@ -297,8 +297,6 @@ def setup_upgraderoot():
297 297
 def modify_bootloader(kernel, initrd):
298 298
     log.info("reading bootloader config")
299 299
     bootloader = Grubby()
300  
-    default = bootloader.default_entry()
301  
-    log.info("default boot entry: \"%s\", %s", default.title, default.root)
302 300
 
303 301
     # avoid duplicate boot entries
304 302
     for e in bootloader.get_entries():

0 notes on commit 7f2f2f1

Please sign in to comment.
Something went wrong with that request. Please try again.