[Uludag-commits] r17568 - branches/yali4/yali4

uludag-commits at pardus.org.tr uludag-commits at pardus.org.tr
3 Nis 2008 Per 15:43:31 EEST


Author: gokmen.goksel
Date: Thu Apr  3 15:43:30 2008
New Revision: 17568

Modified:
   branches/yali4/yali4/bootloader.py
Log:
 * Another great fix from sun shine history in photographers valley..

Modified: branches/yali4/yali4/bootloader.py
=================================================================
--- branches/yali4/yali4/bootloader.py	(original)
+++ branches/yali4/yali4/bootloader.py	Thu Apr  3 15:43:30 2008
@@ -96,10 +96,7 @@
         if not install_dev.startswith("/dev/"):
             install_dev = "/dev/%s" % install_dev
 
-        if install_root_path.startswith(install_dev):
-            _grb = "hd0"
-        else:
-            _grb = "hd1"
+        _grb = self._find_grub_dev(install_root_path)
 
         # some paths has own directories like (/dev/cciss/c0d0p1)
         # it removes /dev/ and gets the device.


Uludag-commits mesaj listesiyle ilgili daha fazla bilgi