roll back to the last version to remove the sync image implementation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3653 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
648fb472e3
commit
3b427eebef
@ -1,8 +1,4 @@
|
||||
#!/usr/bin/env perl
|
||||
BEGIN { $::XCATROOT = $ENV{'XCATROOT'} ? $ENV{'XCATROOT'} : -d '/opt/xcat' ? '/opt/xcat' : '/usr'; }
|
||||
use lib "$::XCATROOT/lib/perl";
|
||||
use xCAT::Utils;
|
||||
|
||||
use File::Basename;
|
||||
use File::Path;
|
||||
use File::Copy;
|
||||
@ -194,15 +190,6 @@ elsif (-x "$pathtofiles/$profile.postinstall") {
|
||||
|
||||
mkinitrd();
|
||||
|
||||
# sync fils to the rootimage
|
||||
my $syncfile = xCAT::Utils->getsynclistfile(undef, $osver, $arch, $profile, "netboot");
|
||||
if (defined ($syncfile) && -f $syncfile
|
||||
&& -d "$installroot/netboot/$osver/$arch/$profile/rootimg") {
|
||||
print "sync files from $syncfile to the $installroot/netboot/$osver/$arch/$profile/rootimg\n";
|
||||
`$::XCATROOT/bin/xdcp -i "$installroot/netboot/$osver/$arch/$profile/rootimg" -F $syncfile`;
|
||||
}
|
||||
|
||||
|
||||
sub getlibs {
|
||||
my $file = shift;
|
||||
my $liblist = `chroot $installroot/netboot/$osver/$arch/$profile/rootimg ldd $file`;
|
||||
|
@ -1,8 +1,4 @@
|
||||
#!/usr/bin/env perl
|
||||
BEGIN { $::XCATROOT = $ENV{'XCATROOT'} ? $ENV{'XCATROOT'} : -d '/opt/xcat' ? '/opt/xcat' : '/usr'; }
|
||||
use lib "$::XCATROOT/lib/perl";
|
||||
use xCAT::Utils;
|
||||
|
||||
use File::Basename;
|
||||
use File::Path;
|
||||
use File::Copy;
|
||||
@ -249,14 +245,6 @@ if (($postinstall_filename) && (-x $postinstall_filename)) {
|
||||
|
||||
mkinitrd();
|
||||
|
||||
# sync fils to the rootimage
|
||||
my $syncfile = xCAT::Utils->getsynclistfile(undef, $osver, $arch, $profile, "netboot");
|
||||
if (defined ($syncfile) && -f $syncfile
|
||||
&& -d "$installroot/netboot/$osver/$arch/$profile/rootimg") {
|
||||
print "sync files from $syncfile to the $installroot/netboot/$osver/$arch/$profile/rootimg\n";
|
||||
`$::XCATROOT/bin/xdcp -i "$installroot/netboot/$osver/$arch/$profile/rootimg" -F $syncfile`;
|
||||
}
|
||||
|
||||
|
||||
sub getlibs {
|
||||
my $file = shift;
|
||||
|
Loading…
x
Reference in New Issue
Block a user