[Gelistirici] Çekirdek güncellemesi esnasında Çomar hatası

Bahadır Kandemir bahadir at pardus.org.tr
22 Kas 2008 Cmt 14:34:28 EET


22 Kas 2008 Cts tarihinde, Ozan Çağlayan şunları yazmıştı: 
> 2008-11-22 13:45:14 (Job-1974) [bus:1.203] Error: Python Exception
> [Exception] in (tr.org.pardus.comar.Boot.Loader,/package/grub,563): Root
> drive must be given.

Root'un hangi aygıt üzerinde olduğunu bulan şöyle bir kod var:

def getRoot():
    for mount in os.popen("/bin/mount").readlines():
        mount_items = mount.split()
        if mount_items[0].startswith("/dev") and mount_items[2] == "/":
            return mount_items[0]

Bir şekilde aygıtı bulamıyor ve None döndürdüğü için updateKernelEntry() 
patlıyor.

mount çıktısı nedir?
-------------- sonraki bölüm --------------
A non-text attachment was scrubbed...
Name: kullanılamıyor
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://liste.pardus.org.tr/gelistirici/attachments/20081122/e956c638/attachment-0002.pgp>


Gelistirici mesaj listesiyle ilgili daha fazla bilgi