X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=source%2Fsteps%2FMakeInitrd.py;fp=source%2Fsteps%2FMakeInitrd.py;h=42ccf8758bff7cf1e90b3004820c31d595e9acd8;hb=2eaef641f28551681c27f7990949352f6cbfeda9;hp=576a67938d1d9b4dc5741c5b1a2cb07a9defb961;hpb=d4c558e54ec285dac69b290af291c6eef7c40416;p=bootmanager.git diff --git a/source/steps/MakeInitrd.py b/source/steps/MakeInitrd.py index 576a679..42ccf87 100644 --- a/source/steps/MakeInitrd.py +++ b/source/steps/MakeInitrd.py @@ -75,7 +75,7 @@ def Run( vars, log ): # hack for CentOS 5.3 bypassRaidIfNeeded(SYSIMG_PATH) if kernelHasMkinitrd() == True: - utils.sysexec_chroot( SYSIMG_PATH, "mkinitrd -v /boot/initrd-%s.img %s" % \ + utils.sysexec_chroot( SYSIMG_PATH, "mkinitrd -v --allow-missing /boot/initrd-%s.img %s" % \ (kernel_version, kernel_version), log ) else: shutil.copy("./mkinitrd.sh","%s/tmp/mkinitrd.sh" % SYSIMG_PATH)