From: Thierry Parmentelat Date: Tue, 18 Jan 2011 16:17:18 +0000 (+0100) Subject: add ext3 in initrd for f14 X-Git-Tag: bootmanager-4.3-23~2 X-Git-Url: http://git.onelab.eu/?p=bootmanager.git;a=commitdiff_plain;h=085fbc8beb8e99a2e97401a6de391c3cea8a2b33 add ext3 in initrd for f14 --- diff --git a/source/steps/MakeInitrd.py b/source/steps/MakeInitrd.py index fc587c4..16c6341 100644 --- a/source/steps/MakeInitrd.py +++ b/source/steps/MakeInitrd.py @@ -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)