Changeset 1958 in ProjectBuilder


Ignore:
Timestamp:
Mar 31, 2015, 1:32:50 AM (9 years ago)
Author:
Bruno Cornec
Message:
  • Update copyrights dates notices
  • Change pb_parallel_launchv interface to have pbimage earlier in the params to fix newvm not working anymore
Location:
devel
Files:
19 edited

Legend:

Unmodified
Added
Removed
  • devel/pb-modules/Makefile.PL

    r1899 r1958  
    1 # (c) B.Cornec 2007-2012
     1# (c) B.Cornec 2007-2015
    22# Eric Anderson's changes are (c) Copyright 2012 Hewlett Packard
    33# Provided under the GPL v2
  • devel/pb-modules/bin/pbdistrocheck

    r1652 r1958  
    55# $Id$
    66#
    7 # Copyright B. Cornec 2007-2012
     7# Copyright B. Cornec 2007-2015
    88# Eric Anderson's changes are (c) Copyright 2012 Hewlett Packard
    99# Provided under the GPL v2
  • devel/pb-modules/bin/pbgetparam

    r1898 r1958  
    55# $Id$
    66#
    7 # Copyright B. Cornec 2007-2013
     7# Copyright B. Cornec 2007-2015
    88# Provided under the GPL v2
    99
  • devel/pb-modules/lib/ProjectBuilder/Base.pm

    r1907 r1958  
    44# which can be easily used by whatever perl project
    55#
    6 # Copyright B. Cornec 2007-2012
     6# Copyright B. Cornec 2007-2015
    77# Eric Anderson's changes are (c) Copyright 2012 Hewlett Packard
    88# Provided under the GPL v2
  • devel/pb-modules/lib/ProjectBuilder/Conf.pm

    r1907 r1958  
    55# which can be easily used by wahtever perl project
    66#
    7 # Copyright B. Cornec 2007-2012
     7# Copyright B. Cornec 2007-2015
    88# Eric Anderson's changes are (c) Copyright 2012 Hewlett Packard
    99# Provided under the GPL v2
  • devel/pb-modules/lib/ProjectBuilder/Display.pm

    r1528 r1958  
    44# which can be easily used by whatever perl project
    55#
    6 # Copyright B. Cornec 2007-2012
     6# Copyright B. Cornec 2007-2015
    77# Provided under the GPL v2
    88#
  • devel/pb-modules/lib/ProjectBuilder/Distribution.pm

    r1907 r1958  
    33# Creates common environment for distributions
    44#
    5 # Copyright B. Cornec 2007-2012
     5# Copyright B. Cornec 2007-2015
    66# Eric Anderson's changes are (c) Copyright 2012 Hewlett Packard
    77# Provided under the GPL v2
  • devel/pb-modules/lib/ProjectBuilder/Env.pm

    r1907 r1958  
    55# which can be easily used by pbinit scripts
    66#
    7 # Copyright B. Cornec 2007-2012
     7# Copyright B. Cornec 2007-2015
    88# Eric Anderson's changes are (c) Copyright 2012 Hewlett Packard
    99# Provided under the GPL v2
  • devel/pb-modules/lib/ProjectBuilder/VCS.pm

    r1897 r1958  
    88# $Id$
    99#
    10 # Copyright B. Cornec 2007-2012
     10# Copyright B. Cornec 2007-2015
    1111# Eric Anderson's changes are (c) Copyright 2012 Hewlett Packard
    1212# Provided under the GPL v2
  • devel/pb-modules/lib/ProjectBuilder/VE.pm

    r1907 r1958  
    33# Common functions for virtual environment
    44#
    5 # Copyright B. Cornec 2007-2012
     5# Copyright B. Cornec 2007-2015
    66# Eric Anderson's changes are (c) Copyright 2012 Hewlett Packard
    77# Provided under the GPL v2
  • devel/pb-modules/lib/ProjectBuilder/Version.pm

    r1528 r1958  
    55# and have been isolated here to avoid unrelated effects
    66#
    7 # Copyright B. Cornec 2007-2012
     7# Copyright B. Cornec 2007-2015
    88# Provided under the GPL v2
    99#
  • devel/pb/bin/pb

    r1953 r1958  
    55# $Id$
    66#
    7 # Copyright B. Cornec 2007-2012
     7# Copyright B. Cornec 2007-2015
    88# Eric Anderson's changes are (c) Copyright 2012 Hewlett Packard
    99# Provided under the GPL v2
     
    899899    pb_build2v("vm","build");
    900900} elsif ($action =~ /^launchvm$/) {
    901     pb_parallel_launchv(undef,"vm",undef,3);
     901    pb_parallel_launchv(undef,"vm",undef,3,$pbimage);
    902902} elsif ($action =~ /^launchve$/) {
    903     pb_parallel_launchv(undef,"ve",undef,3);
     903    pb_parallel_launchv(undef,"ve",undef,3,$pbimage);
    904904} elsif ($action =~ /^script2vm$/) {
    905905    die "action script2vm requires a -s script option" if (not defined $pbscript{'default'});
     
    914914    pb_newver();
    915915} elsif ($action =~ /^newve$/) {
    916     pb_parallel_launchv(undef,"ve",undef,0);
     916    pb_parallel_launchv(undef,"ve",undef,0,$pbimage);
    917917} elsif ($action =~ /^newvm$/) {
    918     pb_parallel_launchv(undef,"vm",undef,0);
     918    pb_parallel_launchv(undef,"vm",undef,0,$pbimage);
    919919    pb_log(0, "Please ensure that sshd is running in your VM by default\n");
    920920    pb_log(0, "and that it allows remote root login (PermitRootLogin yes in /etc/ssh/sshd_config)\n");
     
    28052805pb_log(2,"DEBUG: pb_script2v($vtype,$pbstep,$pbforce,$snapme)\n");
    28062806pb_log(2,"DEBUG: pb_script2v(pbscript: ".Dumper($pbscript)."\n");
    2807 pb_parallel_launchv($pbscript,$vtype,uc($vtype)."Script",$pbstep,$pbforce,$snapme,$pbsnap,$pbimage);
     2807pb_parallel_launchv($pbscript,$vtype,uc($vtype)."Script",$pbstep,$pbimage,$pbforce,$snapme,$pbsnap);
    28082808}
    28092809
     
    28142814my $action = shift;         # It an action is defined then use send2target
    28152815my $pbstep=shift;           # Which step are we in (0: create, 1: setup, 2: build 3: use)
     2816my $pbimage=shift;          # Which image to use to start the VM/VE
    28162817my $pbforce=shift;          # Force stop of VM. Default not.
    28172818my $snapme = shift;         # By default do not snap a VM/VE/RM
    28182819my $usesnap = shift;        # By default study the usage of the snapshot feature of VM/VE/RM   
    2819 my $pbimage=shift;          # Which image to use to start the VM/VE
    28202820my $vm;
    28212821my $all;
     
    32953295# Gather all required files to send them to the VM/VE
    32963296# and launch the build through pbscript
    3297 pb_parallel_launchv(\%pbscript,$vtype,uc($vtype).$action,$pbstep,$pbforce,0,1,$pbimage);
     3297pb_parallel_launchv(\%pbscript,$vtype,uc($vtype).$action,$pbstep,$pbimage,$pbforce);
    32983298}
    32993299
     
    39293929# Launch the VM/VE/RM
    39303930pb_log(2,"DEBUG: before parallel launch, pbscript hash is:".Dumper(%pbscript)."\n");
    3931 pb_parallel_launchv(\%pbscript,$vtype,uc($vtype)."Script".$sbx,$pbstep,$pbforce);
     3931pb_parallel_launchv(\%pbscript,$vtype,uc($vtype)."Script".$sbx,$pbstep,$pbimage,$pbforce,0,$pbsnap);
    39323932
    39333933return;
  • devel/pb/lib/ProjectBuilder/CMS.pm

    r1907 r1958  
    77# $Id$
    88#
    9 # Copyright B. Cornec 2007-2012
     9# Copyright B. Cornec 2007-2015
    1010# Eric Anderson's changes are (c) Copyright 2012 Hewlett Packard
    1111# Provided under the GPL v2
  • devel/pb/lib/ProjectBuilder/Changelog.pm

    r1907 r1958  
    66# $Id$
    77#
    8 # Copyright B. Cornec 2007
     8# Copyright B. Cornec 2007-2015
    99# Provided under the GPL v2
    1010
  • devel/pb/lib/ProjectBuilder/Filter.pm

    r1756 r1958  
    77# $Id$
    88#
    9 # Copyright B. Cornec 2007-2012
     9# Copyright B. Cornec 2007-2015
    1010# Eric Anderson's changes are (c) Copyright 2012 Hewlett Packard
    1111# Provided under the GPL v2
  • devel/pbmkbm/bin/pbmkbm

    r1900 r1958  
    55# $Id$
    66#
    7 # Copyright B. Cornec 2011
     7# Copyright B. Cornec 2011-2015
    88# Provided under the GPL v2
    99
  • devel/pbtest/bin/pbtest

    r1701 r1958  
    55# $Id$
    66#
    7 # Copyright B. Cornec 2007-2012
     7# Copyright B. Cornec 2007-2012-2015
    88# Provided under the GPL v2
    99
  • devel/rpmbootstrap/bin/rpmbootstrap

    r1900 r1958  
    55# $Id$
    66#
    7 # Copyright B. Cornec 2010-2012
     7# Copyright B. Cornec 2010-2012-2015
    88# Eric Anderson's changes are (c) Copyright 2012 Hewlett Packard
    99# Provided under the GPL v2
  • devel/website/downloads.shtml

    r1737 r1958  
    1111      <h2>This is Free/Libre Software</h2>
    1212    </div>
    13     <p>Copyright (c) 2007-2010
     13    <p>Copyright (c) 2007-2015
    1414    Project-Builder.org is a copyrighted work, written by Bruno Cornec, delivered under the GPLv2.</p>
    1515    <p>
Note: See TracChangeset for help on using the changeset viewer.