Changeset 1403 in ProjectBuilder for devel/pbmkbm


Ignore:
Timestamp:
Feb 3, 2012, 12:17:07 AM (12 years ago)
Author:
Bruno Cornec
Message:

r4490@cabanilles: bruno | 2012-02-03 00:10:53 +0100

  • Still further on pbmkbm (sync point)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pbmkbm/bin/pbmkbm

    r1402 r1403  
    405405
    406406# Create the directory structure needed on the target dir
    407 $targettree->{"/bin"} = "dir";
    408 
     407my ($tdirs,$bdirs,$bfiles,$bcmds) = pb_distro_get_param($pbos,pb_conf_get("mkbmtargetdirs","mkbmbootdirs","mkbmbootfiles","mkbmbootcmds");
     408# Create empty dirs for these
     409foreach my $d (split(/,/,$tdirs)) {
     410    $targettree->{$d} = "emptydir";
     411}
     412# And copy dirs for those
     413foreach my $d (split(/,/,$bdirs)) {
     414    if (-d $d) {
     415        $targettree->{$d} = "dir";
     416    } else {
     417        pb_log(
     418}
     419foreach my $f (split(/,/,$bfiles)) {
     420    $targettree->{$d} = "dir";
     421}
    409422# Once the environment is made, add what is needed for this boot media to it.
    410423# Keyboard
     
    416429# init
    417430# 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, ...)
    419432}
    420433
Note: See TracChangeset for help on using the changeset viewer.