mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-22 03:00:26 +00:00
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:
@@ -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,$_;
|
||||
}
|
||||
|
@@ -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!";
|
||||
|
Reference in New Issue
Block a user