Mar 3, 2016, 9:06:23 AM (4 years ago)
Bruno Cornec

Important mindi modifications to share ISO and USB code

  • Remove the need for BOOT_SIZE variable now computed automatically
  • Share more params in ISO_OPT
  • Rename TurnTgzIntoRdz? into MakeBootInitFile?
  • Remove sages of old_pwd and cd in functions. if a need to change directory then do it in a subshell especially in PrepareDataDiskImages? and MakeBootInitFile?
  • Remove function ListImagesForUser?
  • Fix a bug related to list analysis with echo where the variable needs to be transformed into list before processing
  • Simplify OfferToMakeBootableISO and OfferToMakeBootableUSB to just deal with interactivity and parameter handling and create a shared function MakeBootableDevice? with a parameter for special treatment. This will allow to fix broken USB support and to avoid that type of issue in the future
  • Suppress as well PrepareBootDiskImage? as content is now supported in the shared MakeBootableDevice?
  • Improve on screen and in log file messages
1 edited


  • branches/3.2/MondoRescue/bin/mr-label

    r3501 r3522  
    151151    pb_log(1,"Previous hex was ***$hex***\n");
    152152    my @loc = ($hex =~ m/../g);
    153     print Dumper(@loc);
     153    #print Dumper(@loc);
    154154    $hex = join('',reverse(@loc));
    155155    pb_log(1,"Previous uuid was ***$hex***\n");
Note: See TracChangeset for help on using the changeset viewer.