buildkit - need to build tar.bz2 instead of tar.gz file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14264 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
fa48a097c3
commit
ca2e4cc71e
@ -719,8 +719,8 @@ sub kit_buildtar
|
||||
}
|
||||
# build the tarfile
|
||||
my $kitname = $::bldkit_config->{kit}{entries}[0]->{kitname};
|
||||
my $tarfile = $::build_dir."/".$kitname.".tar.gz";
|
||||
if ( system("cd $::build_dir; tar -czhf $tarfile $kitname/*") ) {
|
||||
my $tarfile = $::build_dir."/".$kitname.".tar.bz2";
|
||||
if ( system("cd $::build_dir; tar -cjhf $tarfile $kitname/*") ) {
|
||||
print "Error building tarfile $tarfile \n";
|
||||
return 1;
|
||||
}
|
||||
@ -744,7 +744,7 @@ sub kit_cleantar
|
||||
|
||||
print "running buildkit cleantar... \n";
|
||||
my $kitname = $::bldkit_config->{kit}{entries}[0]->{kitname};
|
||||
my $tarfile = $::build_dir."/".$kitname.".tar.gz";
|
||||
my $tarfile = $::build_dir."/".$kitname.".tar.bz2";
|
||||
if ( -r $tarfile ) {
|
||||
if ( system("rm -f $tarfile ") ) {
|
||||
print "Error removing kit tar file $tarfile \n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user