Changeset 2488 in MondoRescue for branches/2.2.10/mondo


Ignore:
Timestamp:
Nov 18, 2009, 9:41:00 PM (14 years ago)
Author:
Bruno Cornec
Message:

r3621@localhost: bruno | 2009-11-18 10:53:33 +0100

  • PrepareBootDiskImage replaces previously duplicated functions for lilo/isolinux handling and completely re-written
  • remove useless rootfs files
  • Use MINDI_CACHE instead of /tmp globally
Location:
branches/2.2.10/mondo/src/mondorestore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mondo/src/mondorestore/mondo-rstr-compare.c

    r2462 r2488  
    653653
    654654    mr_free(bkpinfo->media_device);
    655     if (bkpinfo->disaster_recovery && does_file_exist("/tmp/CDROM-LIVES-HERE")) {
    656         bkpinfo->media_device = last_line_of_file("/tmp/CDROM-LIVES-HERE");
     655    if (bkpinfo->disaster_recovery && does_file_exist(MINDI_CACHE"/CDROM-LIVES-HERE")) {
     656        bkpinfo->media_device = last_line_of_file(MINDI_CACHE"/CDROM-LIVES-HERE");
    657657    } else {
    658658        bkpinfo->media_device = find_cdrom_device(FALSE);
  • branches/2.2.10/mondo/src/mondorestore/mondo-rstr-tools.c

    r2462 r2488  
    604604    } else {
    605605        mr_free(bkpinfo->media_device);
    606         if (bkpinfo->disaster_recovery && does_file_exist("/tmp/CDROM-LIVES-HERE")) {
    607             bkpinfo->media_device = last_line_of_file("/tmp/CDROM-LIVES-HERE");
     606        if (bkpinfo->disaster_recovery && does_file_exist(MINDI_CACHE"/CDROM-LIVES-HERE")) {
     607            bkpinfo->media_device = last_line_of_file(MINDI_CACHE"/CDROM-LIVES-HERE");
    608608        } else {
    609609            bkpinfo->media_device = find_cdrom_device(TRUE);
Note: See TracChangeset for help on using the changeset viewer.