git://git.onelab.eu
/
bootmanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1502702
)
add --allow-missing parameter to support different kernel configs
author
S.Çağlar Onur
<caglar@cs.princeton.edu>
Tue, 7 Dec 2010 22:36:52 +0000
(17:36 -0500)
committer
S.Çağlar Onur
<caglar@cs.princeton.edu>
Tue, 7 Dec 2010 22:36:52 +0000
(17:36 -0500)
source/steps/MakeInitrd.py
patch
|
blob
|
history
diff --git
a/source/steps/MakeInitrd.py
b/source/steps/MakeInitrd.py
index
b4a8917
..
4b63bac
100644
(file)
--- 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)