Changeset 3648 in MondoRescue for branches/3.3


Ignore:
Timestamp:
Jan 17, 2017, 2:38:23 AM (7 years ago)
Author:
Bruno Cornec
Message:
  • Adds mr-mksio script to generate the correct command to build an ISO image
Location:
branches/3.3
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/MondoRescue/Makefile.PL

    r3644 r3648  
    1818    EXE_FILES    => [ qw( bin/mr-analyze-lvm
    1919                bin/mr-check-lvm
     20                bin/mr-device-mounted
    2021                bin/mr-disk-list
    2122                bin/mr-disk-type
    22                 bin/mr-device-mounted
     23                bin/mr-distro-getparam
     24                bin/mr-getparam
     25                bin/mr-kernel-get-modules
     26                bin/mr-label
     27                bin/mr-mkiso
     28                bin/mr-net-get-config
    2329                bin/mr-process-ldd
    2430                bin/mr-read-all-link
    25                 bin/mr-kernel-get-modules
    26                 bin/mr-net-get-config
    27                 bin/mr-label
    28                 bin/mr-getparam
    29                 bin/mr-distro-getparam
    3031                ) ],
    3132);
  • branches/3.3/MondoRescue/etc/mondorescue.conf

    r3644 r3648  
    7373mr_cmd_dmidecode linux = /usr/sbin/dmidecode
    7474mr_cmd_lshw linux = /usr/sbin/lshw
    75 # Pb of key here want both linux and mrmini or mondoarchive or ...
    76 mr_cmd_mkiso linux = /usr/bin/mkisofs
    77 mr_opt_mkiso linux = -J -r -v -p MondoRescue -publisher http://www.mondorescue.org -A MondoRescue
    78 mr_cmd_mkiso mageia = /usr/bin/xorriso
    79 
     75#
     76# Management of ISO images and their burning on media
     77#
     78# ISO mode can be mkisofs or xorriso or best (xorriso used first if found, then mkisofs)
     79mr_iso_mode default = best
     80# parameters can use the mr_cmd_mode, mr_opt_gen_mode, mr_opt_mindi_mode, mr_opt_mr_mode options to configure it
     81mr_cmd_mkisofs default = /usr/bin/genisoimage
     82mr_cmd_mkisofs linux = /usr/bin/genisoimage
     83mr_cmd_mkisofs mageia = /usr/bin/genisoimage
     84mr_cmd_xorriso linux = /usr/bin/xorriso
     85#
     86mr_opt_gen_xorriso linux = -joliet on -rockridge on -publisher http://www.mondorescue.org -volset-size 1 -volset-seqno MRSEQNO
     87mr_opt_gen_mkisofs linux = -J -r -v -publisher http://www.mondorescue.org -volset-size 1 -volset-seqno MRSEQNO
     88#
     89mr_opt_mindi_xorriso linux = -application_id Mindi -preparer_id Mindi -volid MINDI-MEDIA -volset_id MINDI-MEDIA
     90mr_opt_mindi_mkisofs linux = -A Mindi -p Mindi -V MINDI-MEDIA -volset MINDI-MEDIA
     91#
     92mr_opt_mr_xorriso linux = -application_id MondoRescue -preparer_id MondoRescue -volid MONDORESCUE-MEDIA -volset_id MONDORESCUE-MEDIA
     93mr_opt_mr_mkisofs linux = -A MondoRescue -p MondoRescue -V MONDORESCUE-MEDIA -volset MONDORESCUE-MEDIA
    8094#
    8195# Interface to burner
    8296#
    83 mr_cmd_burn default = /usr/bin/wodim
    84 #mr_cmd_burn default = /usr/bin/cdrecord
    85 mr_opt_burn default = -v
     97# Burn mode can be cdrecord or xorriso or best (xorriso used first if found, then cdrecord)
     98mr_burn_mode default = cdrecord
     99#mr_cmd_cdrecord default = /usr/bin/cdrecord
     100mr_cmd_cdrecord default = /usr/bin/wodim
     101mr_opt_cdrecord default = -v
    86102
    87103#
  • branches/3.3/mondo/src/common/libmondo-devices.c

    r3642 r3648  
    30183018    mr_asprintf(mountdev, "%s", bkpinfo->media_device);
    30193019    if (!mountdev[0]) {
    3020         log_it
    3021             ("(what_number_cd_is_this) Warning - media_device unknown. Finding out...");
     3020        log_it("(what_number_cd_is_this) Warning - media_device unknown. Finding out...");
    30223021        find_cdrom_device(bkpinfo->media_device, FALSE);
    30233022    }
Note: See TracChangeset for help on using the changeset viewer.