Changeset 1403 in ProjectBuilder for devel/pbmkbm/bin/pbmkbm
- Timestamp:
- Feb 3, 2012, 12:17:07 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pbmkbm/bin/pbmkbm
r1402 r1403 405 405 406 406 # Create the directory structure needed on the target dir 407 $targettree->{"/bin"} = "dir"; 408 407 my ($tdirs,$bdirs,$bfiles,$bcmds) = pb_distro_get_param($pbos,pb_conf_get("mkbmtargetdirs","mkbmbootdirs","mkbmbootfiles","mkbmbootcmds"); 408 # Create empty dirs for these 409 foreach my $d (split(/,/,$tdirs)) { 410 $targettree->{$d} = "emptydir"; 411 } 412 # And copy dirs for those 413 foreach my $d (split(/,/,$bdirs)) { 414 if (-d $d) { 415 $targettree->{$d} = "dir"; 416 } else { 417 pb_log( 418 } 419 foreach my $f (split(/,/,$bfiles)) { 420 $targettree->{$d} = "dir"; 421 } 409 422 # Once the environment is made, add what is needed for this boot media to it. 410 423 # Keyboard … … 416 429 # init 417 430 # BootLoader and its configuration 418 # Additional data files coming from a potential caller (MondoRescue e.g. with fstab, LVM, mountlist, ...)431 # Additional data files coming from a potential caller (MondoRescue/Mindi e.g. with fstab, LVM, mountlist, ...) 419 432 } 420 433
Note:
See TracChangeset
for help on using the changeset viewer.