Changeset 1903 in ProjectBuilder for devel/pb-modules/lib/ProjectBuilder/Base.pm


Ignore:
Timestamp:
Oct 8, 2014, 1:35:10 PM (10 years ago)
Author:
Bruno Cornec
Message:
  • Add entries for osrepo for mageia/mandriva distros to allow setupve to work for these distributions without resorting to sbx2setupve
  • pbkeep now managed in pb_temp_init to avoid removing the temps dir when debugging
  • Add functions pb_ve_docker_get_image and pb_ve_get_type
  • lots of interfaces changes to allow support of docker, including script names. May break other non docker features
  • both newve and setupve work with docker now.
  • manages public keys for urpmi distriutions
  • Adds function pb_parallel_launchv. Now pb_launchv is single V
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb-modules/lib/ProjectBuilder/Base.pm

    r1896 r1903  
    425425
    426426sub pb_temp_init {
     427
     428my $pbkeep = shift || 0;    # Do not keep temp files by default
    427429
    428430if (not defined $ENV{'TMPDIR'}) {
     
    450452    pb_mkdir_p("$ENV{'TMPDIR'}/$template");
    451453} else {
    452     if ($pbdebug > 1) {
     454    if (($pbdebug > 1) || ($pbkeep == 1)) {
    453455        $ENV{'PBTMP'} = tempdir( "pb.XXXXXXXXXX", DIR => $ENV{'TMPDIR'});
    454456        pb_log(2,"DEBUG: Creating a non-volatile temporary directory ($ENV{'PBTMP'})\n");
Note: See TracChangeset for help on using the changeset viewer.