Ignore:
Timestamp:
Apr 14, 2008, 2:48:40 PM (16 years ago)
Author:
Bruno Cornec
Message:

Extract of mandatory files is now under ./tmp/.. instead of tmp/.. as we now use ar to create the all.tar.gz

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.6/mondo/src/mondorestore/mondo-rstr-tools.c

    r1909 r1913  
    12881288            BIGGIELIST_TXT_STUB,
    12891289            FILELIST_FULL_STUB,
    1290             "tmp/i-want-my-lvm", MONDO_CFG_FILE_STUB);
     1290            "./tmp/i-want-my-lvm", MONDO_CFG_FILE_STUB);
    12911291    log_msg(1, "tarcommand = %s", command);
    12921292    run_program_and_log_output(command, 1);
     
    13041304            BIGGIELIST_TXT_STUB,
    13051305            FILELIST_FULL_STUB,
    1306             "tmp/i-want-my-lvm", MONDO_CFG_FILE_STUB);
     1306            "./tmp/i-want-my-lvm", MONDO_CFG_FILE_STUB);
    13071307
    13081308    log_msg(1, "tarcommand = %s", command);
     
    13111311    if (!does_file_exist(BIGGIELIST_TXT_STUB)) {
    13121312        fatal_error
    1313             ("all.tar.gz did not include tmp/biggielist.txt");
     1313            ("all.tar.gz did not include ./tmp/biggielist.txt");
    13141314    }
    13151315    if (!does_file_exist(FILELIST_FULL_STUB)) {
    13161316        fatal_error
    1317             ("all.tar.gz did not include tmp/filelist.full.gz");
     1317            ("all.tar.gz did not include ./tmp/filelist.full.gz");
    13181318    }
    13191319}
     
    22782278            1024L * 1024 * 32 / tape_block_size,
    22792279            MOUNTLIST_FNAME_STUB, MONDO_CFG_FILE_STUB,
    2280             BIGGIELIST_TXT_STUB, FILELIST_FULL_STUB, "tmp/i-want-my-lvm");
     2280            BIGGIELIST_TXT_STUB, FILELIST_FULL_STUB, "./tmp/i-want-my-lvm");
    22812281    log_msg(2, "command = '%s'", command);
    22822282    res = run_program_and_log_output(command, -1);
     
    24072407                log_msg(2,
    24082408                        "gcffa --- Plan B, a.k.a. untarring some file from all.tar.gz");
    2409                 sprintf(command, "tar -zxvf " MNT_CDROM "/images/all.tar.gz %s %s %s %s %s", MOUNTLIST_FNAME_STUB, MONDO_CFG_FILE_STUB, BIGGIELIST_TXT_STUB, FILELIST_FULL_STUB, "tmp/i-want-my-lvm");  // add -b TAPE_BLOCK_SIZE if you _really_ think it's necessary
     2409                sprintf(command, "tar -zxvf " MNT_CDROM "/images/all.tar.gz %s %s %s %s %s", MOUNTLIST_FNAME_STUB, MONDO_CFG_FILE_STUB, BIGGIELIST_TXT_STUB, FILELIST_FULL_STUB, "./tmp/i-want-my-lvm");    // add -b TAPE_BLOCK_SIZE if you _really_ think it's necessary
    24102410                run_program_and_log_output(command, TRUE);
    24112411                if (!does_file_exist(MONDO_CFG_FILE_STUB)) {
Note: See TracChangeset for help on using the changeset viewer.