/install is hard coded
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7695 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
58924637b4
commit
0afc3ecb55
@ -111,8 +111,9 @@ sub fsp_api_action {
|
||||
#print "fsp ip: $fsp_ip\n";
|
||||
|
||||
my $cmd;
|
||||
my $install_dir = xCAT::Utils->getInstallDir();
|
||||
if( $action =~ /^code_update$/) {
|
||||
$cmd = "$fsp_api -a $action -T $tooltype -t $type:$fsp_ip:$id:$node_name: -d /install/packages_fw/";
|
||||
$cmd = "$fsp_api -a $action -T $tooltype -t $type:$fsp_ip:$id:$node_name: -d $install_dir/packages_fw/";
|
||||
} elsif($action =~ /^add_connection$/) {
|
||||
my $ppcdirecttab = xCAT::Table->new( 'ppcdirect');
|
||||
if ( ! $ppcdirecttab) {
|
||||
|
@ -1046,7 +1046,8 @@ sub dolitesetup
|
||||
|
||||
# add aixlitesetup to ..inst_root/aixlitesetup
|
||||
# this will wind up in the root dir on the node ("/")
|
||||
my $cpcmd = "/bin/cp /install/postscripts/aixlitesetup $instrootloc/aixlitesetup; chmod +x $instrootloc/aixlitesetup";
|
||||
my $install_dir = xCAT::Utils->getInstallDir();
|
||||
my $cpcmd = "/bin/cp $install_dir/postscripts/aixlitesetup $instrootloc/aixlitesetup; chmod +x $instrootloc/aixlitesetup";
|
||||
my $out = xCAT::Utils->runcmd("$cpcmd", -1);
|
||||
if ($::RUNCMD_RC != 0)
|
||||
{
|
||||
|
@ -269,7 +269,8 @@ sub preprocess_for_rflash {
|
||||
my $request = shift;
|
||||
my $opt = shift;
|
||||
my $callback = $request->{callback};
|
||||
my $packages_fw = "/install/packages_fw";
|
||||
my $install_dir = xCAT::Utils->getInstallDir();
|
||||
my $packages_fw = "$install_dir/packages_fw";
|
||||
my $c = 0;
|
||||
my $packages_d;
|
||||
# foreach (@$exargs) {
|
||||
|
Loading…
Reference in New Issue
Block a user