summaryrefslogtreecommitdiffstats
path: root/booty/ppc.py
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2009-03-20 10:47:48 +0100
committerHans de Goede <hdegoede@redhat.com>2009-03-20 17:26:21 +0100
commite4c81910ee1c7223c8c8697400d0e628f095500f (patch)
treeb05583c0d185807c4c3516da0707ed11b2b88d95 /booty/ppc.py
parent4f42f8ea3a4431fc66f39d6410f1b8a4186b700f (diff)
downloadanaconda-e4c81910ee1c7223c8c8697400d0e628f095500f.tar.gz
anaconda-e4c81910ee1c7223c8c8697400d0e628f095500f.tar.xz
anaconda-e4c81910ee1c7223c8c8697400d0e628f095500f.zip
Make root= line in grub.conf and path spec in fstab consistent
booty was using its own code to find out wether to pass in UUID=.... or /dev/.... as root= option, leading to inconsistencies between fstab (/dev/mapper/Volgroup-lv_root) and grub.conf (UUID=...) Harmless, but confusing. This patch fixes this by removing the no longer needed getRootDevName method from booty and instead using device.fstabSpec
Diffstat (limited to 'booty/ppc.py')
-rw-r--r--booty/ppc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/booty/ppc.py b/booty/ppc.py
index 7ac9299a3..706f1989b 100644
--- a/booty/ppc.py
+++ b/booty/ppc.py
@@ -121,7 +121,7 @@ class ppcBootloaderInfo(bootloaderInfo):
append = "%s" %(self.args.get(),)
- realroot = getRootDevName(instRoot+initrd, rootDev)
+ realroot = rootDev.fstabSpec
if rootIsDevice(realroot):
f.write("\troot=%s\n" %(realroot,))
else: