From a4455d364061831f242c7d491d1eaa71a7d811ed Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Tue, 7 Dec 2010 17:36:52 -0500 Subject: [PATCH] add --allow-missing parameter to support different kernel configs --- source/steps/MakeInitrd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/steps/MakeInitrd.py b/source/steps/MakeInitrd.py index b4a8917..4b63bac 100644 --- a/source/steps/MakeInitrd.py +++ b/source/steps/MakeInitrd.py @@ -67,7 +67,7 @@ def Run( vars, log ): # hack for CentOS 5.3 bypassRaidIfNeeded(SYSIMG_PATH) - 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 ) utils.sysexec_noerr("umount %s/sys" % SYSIMG_PATH) -- 2.43.0