1. VectorLinux Core
  2. vinstall

Commits

Moises Henriquez  committed b80c061
  • Participants
  • Parent commits 71290a3
  • Branches master

Comments (0)

Files changed (1)

File vinstall/backend/bootloader.py

View file
 	    default_os_line = "default = %s"% self.default_os.label
 	else:
 	    default_os_line = "#"
+        if os.path.exists("/boot/bitmap/boot.bmp"):
+            bitmap_line = "bitmap = /boot/bitmap/boot.bmp"
+        else:
+            bitmap_line = "# bitmap = /boot/bitmap/boot.bmp"
         header = (
             "# LILO configuration file.",
             "# ",
             "# ",
             "boot = %s" % target_line,
 	    default_os_line,
+            bitmap_line,
             "compact",
             "prompt",
             "timeout = %s" % self.timeout,
             "change-rules",
             "reset",
-            "bitmap = /boot/bitmap/boot.bmp",
             "vga = 788",
             "# OS list")