Correct pkglist search path, add cpio explicit copy to centos genimage

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@451 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2008-02-12 15:52:22 +00:00
parent b9e73b46ee
commit 72ce49431d
2 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@ if (-r "$pathtofiles/$profile.$osver.$arch.pkglist") {
$pkglist = "$pathtofiles/$profile.$arch.pkglist";
} elsif (-r "$pathtofiles/$profile.$osver.pkglist") {
$pkglist = "$pathtofiles/$profile.$osver.pkglist";
} elsif (-r "$pathtofiles/$profile.$arch.pkglist") {
} elsif (-r "$pathtofiles/$profile.pkglist") {
$pkglist = "$pathtofiles/$profile.pkglist";
} else {
print "Unable to find package list for $profile!";
@ -213,7 +213,7 @@ sub mkinitrd {
push @filestoadd,[$_,"lib/$_"];
}
}
foreach ("sbin/nash","sbin/busybox.anaconda","sbin/rmmod") {
foreach ("bin/cpio","sbin/nash","sbin/busybox.anaconda","sbin/rmmod") {
getlibs($_);
push @filestoadd,$_;
}

View File

@ -62,7 +62,7 @@ if (-r "$pathtofiles/$profile.$osver.$arch.pkglist") {
$pkglist = "$pathtofiles/$profile.$arch.pkglist";
} elsif (-r "$pathtofiles/$profile.$osver.pkglist") {
$pkglist = "$pathtofiles/$profile.$osver.pkglist";
} elsif (-r "$pathtofiles/$profile.$arch.pkglist") {
} elsif (-r "$pathtofiles/$profile.pkglist") {
$pkglist = "$pathtofiles/$profile.pkglist";
} else {
print "Unable to find package list for $profile!";