1. VectorLinux Core
  2. vinstall

Commits

Moises Henriquez  committed c92085a

bootloader controller properly quote append lines for lilo

  • Participants
  • Parent commits 2630ca5
  • Branches master

Comments (0)

Files changed (1)

File vinstall/controller/bootloader.py

View file
 		# Splash was disabled... override the initd line for the entry
 	        if system.root == self.config['target_device'].path():
 		    system.initrd = None
-		    system.appendline = "root=%s verbose"% system.root
+		    system.appendline = '"root=%s verbose"'% system.root
 	    else:
-	        system.appendline = "root=%s splash quiet"% system.root
+	        system.appendline = '"root=%s splash quiet"'% system.root
             lilo.add_os(system)
 	if tui_kernel:
 	    # Create the TUI entry for LiLO
 	    tui.type = "linux"
 	    tui.initrd = None
 	    tui.label = "%s-tui"%tui_label
-	    tui.appendline = 'root=%s ro 2 verbose'% tui.root
+	    tui.appendline = '"root=%s ro 2 verbose"'% tui.root
 	    lilo.add_os(tui)