Changeset 1352 in ProjectBuilder for devel/pbmkbm/bin
- Timestamp:
- Oct 30, 2011, 10:36:43 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pbmkbm/bin/pbmkbm
r1350 r1352 296 296 if ($opts{'b'} eq "ve") { 297 297 # Use existing tools to create a good VE ! 298 pb_ve_launch($ENV{'PBV'} );298 pb_ve_launch($ENV{'PBV'},1); 299 299 } elsif ($opts{'b'} eq "native") { 300 300 # Use native tools to create a good VE ! … … 302 302 die "Unknown method $opts{'b'} used to create the media content"; 303 303 } 304 305 # Once the environment is made, add what is needed for this boot media to it. 304 306 } 305 307 … … 310 312 # Get the package list to download, store them in a cache directory 311 313 # 312 my ($mkbmcachedir) = pb_conf_get_if("mkbmcachedir");313 my ($pkgs) = pb_distro_get_param($pbos,pb_conf_get("mkbmmindep"));314 #my ($mkbmcachedir) = pb_conf_get_if("mkbmcachedir"); 315 #my ($pkgs) = pb_distro_get_param($pbos,pb_conf_get("mkbmmindep")); 314 316 315 317 # 316 318 # /proc needed 317 319 # 318 pb_system("mount -o bind /proc $targetdir/proc","Mounting /proc");320 #pb_system("mount -o bind /proc $targetdir/proc","Mounting /proc"); 319 321 320 322 # Installed additional packages we were asked to 321 if (defined $opts{'a'}) {322 323 324 }323 #if (defined $opts{'a'}) { 324 #$opts{'a'} =~ s/,/ /g; 325 #pb_system("chroot $targetdir /bin/bash -c \"$pbos->{'install'} $opts{'a'} \"","Adding packages to OS by running $pbos->{'install'} $opts{'a'}"); 326 #} 325 327 326 328 # 327 329 # Clean up 328 330 # 329 pb_log(1,"Cleaning up\n");330 pb_system("umount $targetdir/proc","Unmounting /proc");331 #pb_log(1,"Cleaning up\n"); 332 #pb_system("umount $targetdir/proc","Unmounting /proc"); 331 333 332 334 # Executes post-install step if asked for 333 if ($opts{'s'}) {334 335 }335 #if ($opts{'s'}) { 336 #pb_system("$opts{'s'} $targetdir","Executing the post-install script: $opts{'s'} $targetdir"); 337 #}
Note:
See TracChangeset
for help on using the changeset viewer.