add ext3 in initrd for f14
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 18 Jan 2011 16:17:18 +0000 (17:17 +0100)
committerS.Çağlar Onur <caglar@verivue.com>
Tue, 15 Mar 2011 16:00:04 +0000 (12:00 -0400)
source/steps/MakeInitrd.py

index fc587c4..16c6341 100644 (file)
@@ -79,7 +79,8 @@ def Run( vars, log ):
     # hack for CentOS 5.3
     bypassRaidIfNeeded(SYSIMG_PATH)
     if kernelHasMkinitrd() == True:
-        utils.sysexec_chroot( SYSIMG_PATH, "mkinitrd -v --allow-missing /boot/initrd-%s.img %s" % \
+    # specify ext3 for fedora14 and above as their default fs is ext4
+        utils.sysexec_chroot( SYSIMG_PATH, "mkinitrd -v --with=ext3 --allow-missing /boot/initrd-%s.img %s" % \
                    (kernel_version, kernel_version), log )
     else:
         shutil.copy("./mkinitrd.sh","%s/tmp/mkinitrd.sh" % SYSIMG_PATH)