Changeset 1597 in ProjectBuilder for devel/pb-modules/lib/ProjectBuilder
- Timestamp:
- May 26, 2012, 2:13:12 AM (12 years ago)
- Location:
- devel/pb-modules/lib/ProjectBuilder
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/lib/ProjectBuilder/Base.pm
r1595 r1597 157 157 158 158 # If sudo used, then be more verbose 159 pb_log(0,"Executing $cmd\n") if (($pbdebug < 1) && ($cmd =~ /^\s*\S*sudo/o) );159 pb_log(0,"Executing $cmd\n") if (($pbdebug < 1) && ($cmd =~ /^\s*\S*sudo/o) && (defined $Global::pb_show_sudo) && ($Global::pb_show_sudo =~ /true/oi)); 160 160 161 161 system("$cmd $redir"); -
devel/pb-modules/lib/ProjectBuilder/Distribution.pm
r1596 r1597 450 450 pb_log(1, "INFO: missing dependency $p\n"); 451 451 } elsif ($pbos->{'type'} eq "deb") { 452 my $res = pb_system("dpkg -L $p"," ","mayfail");452 my $res = pb_system("dpkg -L $p","Looking for $p","mayfail"); 453 453 next if ($res eq 0); 454 454 open(CMD,"dpkg -l $p |") or die "Unable to run dpkg -l $p: $!"; -
devel/pb-modules/lib/ProjectBuilder/Env.pm
r1584 r1597 983 983 INSTALL_PROGRAM += -s 984 984 endif 985 985 986 config.status: configure 986 987 dh_testdir 987 988 988 989 # Configure the package. 989 CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr 990 --mandir=\$${prefix}/share/man 990 CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man 991 991 992 992 # Build both architecture dependent and independent -
devel/pb-modules/lib/ProjectBuilder/VE.pm
r1596 r1597 248 248 } 249 249 } 250 251 # Fix modes to allow access to the VE for pb user252 my $command = pb_check_req("chmod",0);253 pb_system("$sudocmd $command 755 $root/$pbos->{'name'} $root/$pbos->{'name'}/$pbos->{'version'} $root/$pbos->{'name'}/$pbos->{'version'}/$pbos->{'arch'}","Fixing permissions");254 250 255 251 # Test if an existing snapshot exists and use it if appropriate … … 265 261 pb_system("$sudocmd $cmd1 -rf $root/$pbos->{'name'}/$pbos->{'version'}/$pbos->{'arch'} ; $sudocmd $cmd2 -p $root/$pbos->{'name'}/$pbos->{'version'}/$pbos->{'arch'} ; $sudocmd $cmd3 xz -C $root/$pbos->{'name'}/$pbos->{'version'}/$pbos->{'arch'} -f $root/$pbos->{'name'}-$pbos->{'version'}-$pbos->{'arch'}.tar.gz","Extracting snapshot of $pbos->{'name'}-$pbos->{'version'}-$pbos->{'arch'}.tar.gz under $root/$pbos->{'name'}/$pbos->{'version'}/$pbos->{'arch'}"); 266 262 } 263 264 # Fix modes to allow access to the VE for pb user 265 my $command = pb_check_req("chmod",0); 266 pb_system("$sudocmd $command 755 $root/$pbos->{'name'} $root/$pbos->{'name'}/$pbos->{'version'} $root/$pbos->{'name'}/$pbos->{'version'}/$pbos->{'arch'}","Fixing permissions"); 267 267 268 # Nothing more to do for VE. No real launch 268 269 } else {
Note:
See TracChangeset
for help on using the changeset viewer.