Have genintrd move new kernel

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@473 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2008-02-13 20:10:06 +00:00
parent 07e497cfac
commit 031c7d8617

View File

@ -127,7 +127,8 @@ sub getlibs {
}
sub mkinitrd {
mkpath("/tmp/xcatinitrd.$$/bin");
mkpath("/tmp/xcatinitrd.$$/bin");
rename(<$installroot/netboot/$osver/$arch/$profile/rootimg/boot/vmlinuz*>,"$installroot/netboot/$osver/$arch/$profile/kernel");
symlink("bin","/tmp/xcatinitrd.$$/sbin");
mkpath("/tmp/xcatinitrd.$$/usr/bin");
mkpath("/tmp/xcatinitrd.$$/usr/sbin");