buildkit buildtar on debian/ubuntu

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15395 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
xq2005 2013-03-06 08:44:26 +00:00
parent 89dba8092d
commit 1e797ed26b

View File

@ -810,6 +810,9 @@ sub kit_cleanrepo
if ( -d "$::workdir/tmp" ) {
system("rm -Rf $::workdir/tmp ");
}
if ( -d "$::workdir/debbuild" ){
system("rm -Rf $::workdir/debbuild");
}
return 0;
}
@ -911,6 +914,9 @@ sub kit_cleantar
if ( -d "$::workdir/tmp" ) {
system("rm -Rf $::workdir/tmp ");
}
if ( -d "$::workdir/debbuild" ){
system("rm -Rf $::workdir/debbuild");
}
}
@ -944,6 +950,9 @@ sub kit_cleanall
if ( -d "$::workdir/tmp" ) {
system("rm -Rf $::workdir/tmp ");
}
if ( -d "$::workdir/debbuild" ){
system("rm -Rf $::workdir/debbuild");
}
}
@ -2172,7 +2181,7 @@ sub create_kitconf
}
}
}
# Handle special attrs
# Handle special attrs, these 3 attributes did not defined in the buildkit.conf, special cases.
if ( $s eq 'kitrepo' ) {
$::kit_config->{$s}{entries}[$li]->{kitreponame} =
$se->{kitreponame};