Changeset 1592 in MondoRescue


Ignore:
Timestamp:
Aug 9, 2007, 3:19:05 PM (17 years ago)
Author:
Bruno Cornec
Message:
  • use of conf file for mkisofs and cdrecord commands
  • unification of cdr,cdrw and dvd
  • may not compile, modifications will continue
Location:
branches/stable
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mindi/distributions/conf/mindi.conf.dist

    r1581 r1592  
    164164#
    165165mr_iso_creation_cmd="/usr/bin/mkisofs"
    166 #mindi_iso_creation_cmd="/usr/bin/growisofs"
    167166
    168167#
    169 # ISO image common creation options (for mkisofs/growisofs/wodim)
     168# ISO image common creation options (for mkisofs/gencdromimage/...)
    170169# do not specify the -o, -c or the -b options, nor the directory to backup
    171170# as they will be generated by mondoarchive
     171# _CD#_ is a mondo macro that will be replaced by the CD number
    172172#
    173 mr_iso_creation_opt="-J -r -p MondoRescue -publisher http://www.mondorescue.org -A MondoRescue"
    174 #mr_iso_creation_options="-use-the-force-luke -v  -J -r -p MondoRescue -publisher www.mondorescue.org -A MondoRescue -V _CD#_"
     173mr_iso_creation_opt="-J -r -v -p MondoRescue -publisher http://www.mondorescue.org -A MondoRescue -o _ISO_ -V _CD#_ -boot-info-table -no-emul-boot -boot-load-size 4"
     174# For ia64
     175#mr_iso_creation_opt="-J -r -v -p MondoRescue -publisher http://www.mondorescue.org -A MondoRescue -V _CD#_ -no-emul-boot"
     176# other example:
     177#mr_iso_creation_options="-use-the-force-luke -no-emul-boot -boot-load-size 4 -v -J -r -p MondoRescue -publisher www.mondorescue.org -A MondoRescue -V _CD#_"
  • branches/stable/mondo/distributions/conf/mondo.conf.dist

    r1535 r1592  
    1313#
    1414mondo_iso_burning_cmd="/usr/bin/cdrecord"
     15#mondo_iso_burning_cmd="/usr/bin/growisofs"
    1516
    1617#
    1718# ISO Burning CLI command options
    18 mondo_iso_burning_options="-eject dev=_DEVICE_ speed=_SPEED_ fs=24m driveropts=burnfree"
     19mondo_iso_burning_opt="-eject fs=24m driveropts=burnfree"
     20#mondo_iso_burning_options="-J -r -v -p MondoRescue -publisher http://www.mondorescue.org -A MondoRescue -o _ISO_ -V _CD#_ -boot-info-table -no-emul-boot -boot-load-size 4"
    1921
    2022#
  • branches/stable/mondo/src/common/libmondo-archive.c

    r1581 r1592  
    2020#include "mondostructures.h"
    2121
    22 #include "mr_conf.h"
    2322#include "mr_mem.h"
    2423#include "mr_msg.h"
     
    4140
    4241#define DVDRWFORMAT 1
    43 
    44 extern struct mr_ar_conf *mr_conf;
    4542
    4643#ifndef __FreeBSD__
     
    16591656            } else {
    16601657                log_to_screen("%s...OK", message_to_screen);
    1661                 sprintf(tmp, "tail -n10 %s | grep -F ':-('", MONDO_LOGFILE);
     1658                mr_asprintf(&tmp, "tail -n10 %s | grep -F ':-('", MONDO_LOGFILE);
    16621659                if (!run_program_and_log_output(tmp, 1)) {
    16631660                    log_to_screen
    16641661                        ("Despite nonfatal errors, growisofs confirms the write was successful.");
    16651662                }
     1663                mr_free(tmp);
    16661664            }
    16671665            retval += res;
     
    17381736        mr_free(message_to_screen);
    17391737    } else {
    1740         mr_asprintf(&message_to_screen, "Running %s to make %s #%d",
    1741                 mr_conf->iso_creation_cmd,
    1742                 bkpinfo->backup_media_string,
    1743                 g_current_media_number);
    1744         mr_msg(1, message_to_screen);
    1745         mr_asprintf(&result_sz, "Call to %s to make ISO (%s #%d) ",
    1746                 mr_conf->iso_creation_cmd,
    1747                 bkpinfo->backup_media_string,
    1748                 g_current_media_number);
    1749         if (bkpinfo->nonbootable_backup) {
    1750             mr_msg(1, "Making nonbootable backup");
    1751             res = eval_call_to_make_ISO(bkpinfo,
    1752                                         "mkisofs -o '_ISO_' -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL -V _CD#_ .",
    1753                                         destfile, g_current_media_number,
    1754                                         MONDO_LOGFILE, message_to_screen);
    1755         } else {
    1756             mr_msg(1, "Making bootable backup");
    1757 
    1758 #ifdef __FreeBSD__
    1759             bkpinfo->make_cd_use_lilo = TRUE;
    1760 #endif
    1761 
    1762 
    1763             mr_msg(1, "make_cd_use_lilo is actually %d",
    1764                     bkpinfo->make_cd_use_lilo);
    1765             if (bkpinfo->make_cd_use_lilo) {
    1766                 mr_msg(1, "make_cd_use_lilo = TRUE");
    1767 // FIXME --- change mkisofs string to MONDO_MKISOFS_REGULAR_SYSLINUX/LILO depending on bkpinfo->make_cd_usE_lilo
    1768 // and add ' .' at end
    1769 #ifdef __IA64__
    1770                 mr_msg(1, "IA64 --> elilo");
    1771                 res = eval_call_to_make_ISO(bkpinfo,
    1772                                             //-b images/mindi-boot.2880.img
    1773                                             "mkisofs -no-emul-boot -b images/mindi-bootroot."
    1774                                             IA64_BOOT_SIZE
    1775                                             ".img -c boot.cat -o '_ISO_' -J -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL -V _CD#_ .",
    1776                                             destfile,
    1777                                             g_current_media_number,
    1778                                             MONDO_LOGFILE,
    1779                                             message_to_screen);
    1780 #else
    1781 // FIXME --- change mkisofs string to MONDO_MKISOFS_REGULAR_SYSLINUX/LILO depending on bkpinfo->make_cd_usE_lilo
    1782 // and add ' .' at end
    1783                 mr_msg(1, "Non-ia64 --> lilo");
    1784                 res = eval_call_to_make_ISO(bkpinfo,
    1785                                             "mkisofs -b images/mindi-bootroot.2880.img -c boot.cat -o '_ISO_' -J -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL -V _CD#_ .",
    1786                                             destfile,
    1787                                             g_current_media_number,
    1788                                             MONDO_LOGFILE,
    1789                                             message_to_screen);
    1790 #endif
    1791             } else {
    1792                 mr_msg(1, "make_cd_use_lilo = FALSE");
    1793                 mr_msg(1, "Isolinux");
    1794                 res = eval_call_to_make_ISO(bkpinfo,
    1795                                             "mkisofs -no-emul-boot -b isolinux.bin -boot-load-size 4 -boot-info-table -c boot.cat -o '_ISO_' -J -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL -V _CD#_ .",
    1796                                             destfile,
    1797                                             g_current_media_number,
    1798                                             MONDO_LOGFILE,
    1799                                             message_to_screen);
    1800             }
    1801         }
    1802         mr_free(message_to_screen);
    1803         if (res) {
    1804             log_to_screen("%s...failed", result_sz);
    1805         } else {
    1806             log_to_screen("%s...OK", result_sz);
    1807         }
    1808         retval += res;
    1809         mr_free(result_sz);
     1738        fatal_error("call_make_iso undefined. Not normal in this case");
    18101739    }
    18111740
     
    18201749            mr_free(tmp);
    18211750        }
    1822     }
    1823 
    1824     if (bkpinfo->call_burn_iso[0] != '\0') {
    1825         mr_msg(2, "bkpinfo->call_burn_iso = %s", bkpinfo->call_burn_iso);
    1826         mr_asprintf(&message_to_screen, "Burning %s #%d",
    1827                  bkpinfo->backup_media_string,
    1828                  g_current_media_number);
    1829         pause_and_ask_for_cdr(2, &cd_is_mountable);
    1830         res = eval_call_to_make_ISO(bkpinfo, bkpinfo->call_burn_iso,
    1831                                     destfile, g_current_media_number,
    1832                                     MONDO_LOGFILE, message_to_screen);
    1833         if (res) {
    1834             log_to_screen("%s...failed", message_to_screen);
    1835         } else {
    1836             log_to_screen("%s...OK", message_to_screen);
    1837         }
    1838         mr_free(message_to_screen);
    1839         retval += res;
    18401751    }
    18411752
  • branches/stable/mondo/src/common/libmondo-fork.c

    r1548 r1592  
    100100
    101101    /*@ buffers      *** */
    102     char *midway_call, *ultimate_call, *tmp;
     102    char *ultimate_call;
     103    char *midway_call;
    103104    char *p = NULL;
    104105    char *cd_number_str = NULL;
     
    115116    assert_string_is_neither_NULL_nor_zerolength(logstub);
    116117
     118    ultimate_call = mr_malloc(1200);
    117119    midway_call = mr_malloc(1200);
    118     ultimate_call = mr_malloc(1200);
    119     tmp = mr_malloc(1200);
    120120
    121121    mr_asprintf(&cd_number_str, "%d", cd_no);
    122122    resolve_naff_tokens(midway_call, basic_call, isofile, "_ISO_");
    123     resolve_naff_tokens(tmp, midway_call, cd_number_str, "_CD#_");
     123    resolve_naff_tokens(ultimate_call, midway_call, cd_number_str, "_CD#_");
    124124    mr_free(cd_number_str);
    125125
    126     resolve_naff_tokens(ultimate_call, tmp, MONDO_LOGFILE, "_ERR_");
    127126    mr_msg(4, "basic call = '%s'", basic_call);
    128     mr_msg(4, "midway_call = '%s'", midway_call);
    129     mr_msg(4, "tmp = '%s'", tmp);
     127    mr_msg(4, "midway call = '%s'", midway_call);
    130128    mr_msg(4, "ultimate call = '%s'", ultimate_call);
    131129    mr_asprintf(&command, "%s >> %s", ultimate_call, MONDO_LOGFILE);
     
    157155            popup_and_OK(_("Press ENTER to continue."));
    158156            popup_and_OK
    159                 (_("mkisofs and/or cdrecord returned an error. CD was not created"));
     157                (_("CD was not created due to an error."));
    160158        }
    161159    }
     
    172170    mr_free(midway_call);
    173171    mr_free(ultimate_call);
    174     mr_free(tmp);
    175172    return (retval);
    176173}
  • branches/stable/mondo/src/common/libmondo-tools.c

    r1549 r1592  
    1313#include "mr_file.h"
    1414#include "mr_gettext.h"
     15#include "mr_conf.h"
    1516
    1617#include "mondostructures.h"
     
    3637extern int g_current_media_number;
    3738extern char *MONDO_LOGFILE;
     39
     40extern struct mr_ar_conf *mr_conf;
    3841
    3942/**
     
    359362    long avm = 0;
    360363    char *colon = NULL;
    361     char *cdr_exe = NULL;
    362364    char *tmp = NULL;
    363365    char *call_before_iso_user = NULL;
     
    450452    }
    451453
    452 // DVD
    453 
    454     if (bkpinfo->backup_media_type == dvd) {
    455         if (find_home_of_exe("growisofs")) {
    456             mr_asprintf(&cdr_exe, "growisofs");
    457         } else {
    458             fatal_error("Please install growisofs.");
     454// CD-R or CD-RW or DVD
     455    if (bkpinfo->backup_media_type == cdrw
     456        || bkpinfo->backup_media_type == dvd
     457        || bkpinfo->backup_media_type == iso
     458        || bkpinfo->backup_media_type == nfs
     459        || bkpinfo->backup_media_type == cdr) {
     460        if (!bkpinfo->manual_cd_tray) {
     461            mr_strcat(extra_cdrom_params, "-waiti ");
     462        }
     463        if (bkpinfo->backup_media_type == cdrw) {
     464            mr_strcat(extra_cdrom_params, "blank=fast ");
    459465        }
    460466        if (bkpinfo->nonbootable_backup) {
    461             mr_asprintf(&mondo_mkisofs_sz, MONDO_GROWISOFS_NONBOOT);
     467            mr_asprintf(&mondo_mkisofs_sz, "%s -no-boot", mr_conf->iso_creation_opt);
    462468        } else if
    463469#ifdef __FreeBSD__
     
    468474#ifdef __IA64__
    469475    {
    470         mr_asprintf(&mondo_mkisofs_sz, MONDO_GROWISOFS_REGULAR_ELILO);
     476        mr_asprintf(&mondo_mkisofs_sz, "%s -b images/mindi-boot.2880.img -c boot.cat", mr_conf->iso_creation_opt);
    471477    }
    472478#else
    473479    {
    474         mr_asprintf(&mondo_mkisofs_sz, MONDO_GROWISOFS_REGULAR_LILO);
    475     }
    476 #endif
    477         else
    478         {
    479             mr_asprintf(&mondo_mkisofs_sz, MONDO_GROWISOFS_REGULAR_SYSLINUX);
     480        mr_asprintf(&mondo_mkisofs_sz, "%s -b isolinux.bin -c boot.cat", mr_conf->iso_creation_opt);
     481    }
     482#endif
     483        else {
     484            mr_asprintf(&mondo_mkisofs_sz, "%s -b isolinux.bin -c boot.cat", mr_conf->iso_creation_opt);
    480485        }
    481486        if (bkpinfo->manual_cd_tray) {
    482             fatal_error("Manual CD tray + DVD not supported yet.");
    483             // -m isn't supported by growisofs, BTW...
    484         } else {
    485             sprintf(bkpinfo->call_make_iso,
    486                     "%s %s -Z %s . 2>> _ERR_",
    487                     mondo_mkisofs_sz, "", bkpinfo->media_device);
    488         }
    489         mr_free(mondo_mkisofs_sz);
    490 
    491         if (getenv ("SUDO_COMMAND")) {
    492             mr_asprintf(&command, "strings `which growisofs` | grep -c SUDO_COMMAND");
    493             if (!strcmp(call_program_and_get_last_line_of_output(command), "1")) {
    494                 popup_and_OK("Fatal Error: Can't write DVDs as sudo because growisofs doesn't support this - see the growisofs manpage for details.");
    495                 fatal_error("Can't write DVDs as sudo because growisofs doesn't support this - see the growisofs manpage for details.");
     487            if (strstr(mr_conf->mondo_iso_burning_cmd,"growisofs") == NULL) {
     488                fatal_error("Unable to use manual CD tray with growisofs");
    496489            }
    497             mr_free(command);
    498         }
    499         mr_msg(2, "call_make_iso (DVD res) is ... %s",
    500                 bkpinfo->call_make_iso);
    501     }                           // end of DVD code
    502 
    503 // CD-R or CD-RW
    504     if (bkpinfo->backup_media_type == cdrw
    505         || bkpinfo->backup_media_type == cdr) {
    506         if (!bkpinfo->manual_cd_tray) {
    507             mr_strcat(extra_cdrom_params, "-waiti ");
    508         }
    509         if (bkpinfo->backup_media_type == cdrw) {
    510             mr_strcat(extra_cdrom_params, "blank=fast ");
    511         }
    512         if (find_home_of_exe("cdrecord")) {
    513             mr_asprintf(&cdr_exe, "cdrecord");
    514         } else if (find_home_of_exe("dvdrecord")) {
    515             mr_asprintf(&cdr_exe, "dvdrecord");
    516         } else {
    517             fatal_error("Please install either cdrecord or dvdrecord.");
    518         }
    519         if (bkpinfo->nonbootable_backup) {
    520             mr_asprintf(&mondo_mkisofs_sz, MONDO_MKISOFS_NONBOOT);
    521         } else if
    522 #ifdef __FreeBSD__
    523             (TRUE)
    524 #else
    525             (bkpinfo->make_cd_use_lilo)
    526 #endif
    527 #ifdef __IA64__
    528     {
    529         mr_asprintf(&mondo_mkisofs_sz, MONDO_MKISOFS_REGULAR_ELILO);
    530     }
    531 #else
    532     {
    533         mr_asprintf(&mondo_mkisofs_sz, MONDO_MKISOFS_REGULAR_LILO);
    534     }
    535 #endif
    536         else
    537         {
    538             mr_asprintf(&mondo_mkisofs_sz, MONDO_MKISOFS_REGULAR_SYSLINUX);
    539         }
    540         if (bkpinfo->manual_cd_tray) {
    541490            if (bkpinfo->call_before_iso[0] == '\0') {
    542             sprintf(bkpinfo->call_before_iso,
    543                         "%s -o %s/temporary.iso . 2>> _ERR_",
    544                         mondo_mkisofs_sz, bkpinfo->tmpdir);
     491                sprintf(bkpinfo->call_before_iso,
     492                        "%s %s -o %s/temporary.iso . 2>> %s",
     493                        mr_conf->iso_creation_cmd,mondo_mkisofs_sz, bkpinfo->tmpdir, MONDO_LOGFILE);
    545494            } else {
    546495                mr_asprintf(&call_before_iso_user, bkpinfo->call_before_iso);
    547496                sprintf (bkpinfo->call_before_iso,
    548                                     "( %s -o %s/temporary.iso . 2>> _ERR_ ; %s )",
    549                         mondo_mkisofs_sz, bkpinfo->tmpdir, call_before_iso_user);
     497                                    "(%s %s -o %s/temporary.iso . 2>> %s ; %s )",
     498                        mr_conf->iso_creation_cmd,mondo_mkisofs_sz, bkpinfo->tmpdir, MONDO_LOGFILE, call_before_iso_user);
    550499                mr_free(call_before_iso_user);
    551500            }
    552501            log_it("bkpinfo->call_before_iso = %s", bkpinfo->call_before_iso);
    553502            sprintf(bkpinfo->call_make_iso,
    554                     "%s %s -v %s fs=4m dev=%s speed=%d %s/temporary.iso",
    555                     cdr_exe, (bkpinfo->please_dont_eject) ? " " : "-eject",
    556                     extra_cdrom_params, bkpinfo->media_device,
    557                     bkpinfo->cdrw_speed, bkpinfo->tmpdir);
     503                    "%s %s %s dev=%s speed=%d %s/temporary.iso",
     504                    mr_conf->mondo_iso_burning_cmd,
     505                    extra_cdrom_params,
     506                    mr_conf->mondo_iso_burning_opt,
     507                    bkpinfo->media_device,
     508                    bkpinfo->cdrw_speed,
     509                    bkpinfo->tmpdir);
    558510        } else {
    559             sprintf(bkpinfo->call_make_iso,
    560                     "%s . 2>> _ERR_ | %s %s %s fs=4m dev=%s speed=%d -",
    561                     mondo_mkisofs_sz, cdr_exe,
    562                     (bkpinfo->please_dont_eject) ? " " : "-eject",
    563                     extra_cdrom_params, bkpinfo->media_device,
     511            if (strstr(mr_conf->mondo_iso_burning_cmd,"growisofs") == NULL) {
     512                if (getenv ("SUDO_COMMAND")) {
     513                    mr_asprintf(&command, "strings `which growisofs` | grep -c SUDO_COMMAND");
     514                    if (!strcmp(call_program_and_get_last_line_of_output(command), "1")) {
     515                        fatal_error("Can't write DVDs as sudo because growisofs doesn't support this - see the growisofs manpage for details.");
     516                    }
     517                    mr_free(command);
     518                }
     519                sprintf(bkpinfo->call_make_iso,
     520                    "%s %s %s %s -Z %s -speed=%d . 2>> %s",
     521                    mr_conf->mondo_iso_burning_cmd,
     522                    mondo_mkisofs_sz,
     523                    extra_cdrom_params,
     524                    mr_conf->mondo_iso_burning_opt,
     525                    bkpinfo->media_device,
     526                    bkpinfo->cdrw_speed,
     527                    MONDO_LOGFILE);
     528            } else {
     529                sprintf(bkpinfo->call_make_iso,
     530                    "%s %s . 2>> %s | %s %s %s dev=%s speed=%d -",
     531                    mr_conf->iso_creation_cmd,
     532                    mondo_mkisofs_sz,
     533                    MONDO_LOGFILE,
     534                    mr_conf->mondo_iso_burning_cmd,
     535                    extra_cdrom_params,
     536                    mr_conf->mondo_iso_burning_opt,
     537                    bkpinfo->media_device,
    564538                    bkpinfo->cdrw_speed);
     539            }
    565540        }
    566541        mr_free(mondo_mkisofs_sz);
    567         mr_free(cdr_exe);
    568542        mr_free(extra_cdrom_params);
    569543    }                           // end of CD code
     
    651625        fprintf(stderr, "Type 'man mondoarchive' for help.\n");
    652626    }
    653     mr_asprintf(&tmp, "%s", MONDO_TMPISOS);
    654     if (does_file_exist(tmp)) {
    655         unlink(tmp);
    656     }
    657     mr_free(tmp);
    658627
    659628    if (strlen(bkpinfo->tmpdir) < 2 || strlen(bkpinfo->scratchdir) < 2) {
     
    755724    bkpinfo->call_before_iso[0] = '\0';
    756725    bkpinfo->call_make_iso[0] = '\0';
    757     bkpinfo->call_burn_iso[0] = '\0';
    758726    bkpinfo->call_after_iso[0] = '\0';
    759727    bkpinfo->image_devs[0] = '\0';
     
    810778 * - make sure user has enough free space in @c /
    811779 * - check kernel for ramdisk support
    812  * - make sure afio, cdrecord, mkisofs, bzip2, awk, md5sum, strings, mindi, and buffer exist
     780 * - make sure afio, cdrecord, bzip2, awk, md5sum, strings, mindi, and buffer exist
    813781 * - make sure CD-ROM is unmounted
    814782 * - make sure /etc/modules.conf exists
     
    880848    }
    881849#endif
     850    retval += whine_if_not_found(mr_conf->mr_iso_creation_cmd);
     851    retval += whine_if_not_found(mr_conf->mondo_iso_burning_cmd);
    882852    retval += whine_if_not_found(MKE2FS_OR_NEWFS);
    883     retval += whine_if_not_found("mkisofs");
    884     if (system("which dvdrecord > /dev/null 2> /dev/null")) {
    885         retval += whine_if_not_found("cdrecord");
    886     }
    887853    retval += whine_if_not_found("bzip2");
    888854    retval += whine_if_not_found("gzip");
  • branches/stable/mondo/src/common/mondostructures.h

    r1365 r1592  
    512512   */
    513513    char call_make_iso[MAX_STR_LEN];
    514 
    515   /**
    516    * A command to call to burn the ISO image.
    517    */
    518     char call_burn_iso[MAX_STR_LEN];
    519514
    520515  /**
  • branches/stable/mondo/src/include/mr_conf.h

    r1535 r1592  
    2828    char *iso_burning_cmd;
    2929    /* ISO Burning CLI command options */
    30     char *iso_burning_options;
     30    char *iso_burning_opt;
    3131    /* ISO Burning Speed */
    3232    int iso_burning_speed;
  • branches/stable/mondo/src/include/my-stuff.h

    r1574 r1592  
    172172 */
    173173#define IS_THIS_A_STREAMING_BACKUP(x) (x == tape || x == udev || x == cdstream)
    174 
    175 
    176 /**
    177  * @c mkisofs command to generate a nonbootable CD, except for -o option and the directory to image.
    178  */
    179 #define MONDO_MKISOFS_NONBOOT   "mkisofs -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL_Version -V _CD#_"
    180 
    181 /**
    182  * @c mkisofs command to generate a bootable CD using isolinux, except for -o option and the directory to image.
    183  */
    184 #define MONDO_MKISOFS_REGULAR_SYSLINUX  "mkisofs -J -boot-info-table -no-emul-boot -b isolinux.bin -c boot.cat -boot-load-size 4 -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL_Version -V _CD#_"
    185 #define MONDO_MKISOFS_REGULAR_LILO      "mkisofs -J -boot-info-table -no-emul-boot -b isolinux.bin -c boot.cat -boot-load-size 4 -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL -V _CD#_"
    186 #define MONDO_MKISOFS_REGULAR_ELILO     "mkisofs -no-emul-boot -b images/mindi-bootroot.8192.img -c boot.cat -J -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL -V _CD#_"
    187 
    188 /**
    189  * The stub name of the temporary ISO image to create, burn, and remove.
    190  */
    191 #define MONDO_TMPISOS "/temporary.iso"
    192 
    193 /**
    194  * @c growisofs command to generate a bootable DVD using isolinux, except for the directory to image.
    195  */
    196 #define MONDO_GROWISOFS_REGULAR_SYSLINUX "growisofs -use-the-force-luke -J -no-emul-boot -boot-load-size 4 -b isolinux.bin --boot-info-table -c boot.cat -boot-load-size 4 -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL_Version -V _CD#_ -v"
    197 
    198 /**
    199  * @c growisofs command to generate a bootable DVD using LILO, except for the directory to image.
    200      */// -b images/mindi-boot.2880.img
    201 #define MONDO_GROWISOFS_REGULAR_ELILO     "growisofs -use-the-force-luke -no-emul-boot -b images/mindi-boot.2880.img -c boot.cat -J -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL -V _CD#_ -v"
    202 
    203 /**
    204  * @c growisofs command to generate a bootable DVD using LILO, except for the directory to image.
    205      */// -b images/mindi-boot.2880.img
    206 #define MONDO_GROWISOFS_REGULAR_LILO     "growisofs -no-emul-boot -b isolinux.bin -c boot.cat -J -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL -V _CD#_ -v"
    207 
    208 /**
    209  * @c growisofs command to generate a nonbootable DVD, except for the directory to image.
    210  */
    211 #define MONDO_GROWISOFS_NONBOOT          "growisofs -use-the-force-luke -J -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL -V _CD#_ -v"
    212174
    213175/**
  • branches/stable/mondo/src/mondoarchive/mondoarchive.c

    r1582 r1592  
    157157    p = NULL;
    158158
    159     mr_asprintf(&p, mr_conf_sread("mondo_iso_burning_options"));
    160     mr_cnf->iso_burning_options = p;
     159    mr_asprintf(&p, mr_conf_sread("mondo_iso_burning_opt"));
     160    mr_cnf->iso_burning_opt = p;
    161161    p = NULL;
    162162
     
    242242    mr_free(mr_cnf->iso_creation_opt);
    243243    mr_free(mr_cnf->iso_burning_cmd);
    244     mr_free(mr_cnf->iso_burning_options);
     244    mr_free(mr_cnf->iso_burning_opt);
    245245    mr_free(mr_cnf->media_device);
    246246    mr_free(mr_cnf->prefix);
  • branches/stable/tools/mg

    r901 r1592  
    1 egrep -ri -w "$*" . | egrep -v '\.svn|~:'
     1egrep -ri "$*" . | egrep -v '\.svn|~:'
  • branches/stable/tools/mvi

    r906 r1592  
    1 gvim `egrep -ri -w $* . | egrep -vi '\.svn|~:|binary|binaire' | cut -d: -f1 | sort -u`
     1gvim `egrep -ri "$*" . | egrep -vi '\.svn|~:|binary|binaire' | cut -d: -f1 | sort -u`
Note: See TracChangeset for help on using the changeset viewer.