Changeset 1406 in MondoRescue


Ignore:
Timestamp:
May 7, 2007, 12:49:50 PM (17 years ago)
Author:
Bruno Cornec
Message:
  • Fix a Debian packaging bug
  • Do not use mindi-boot.2880.img (which may not exist) anymore in mondorestore
Location:
branches/2.2.4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.4/mindi/distributions/debian/rules

    r996 r1406  
    2626    dh_installdirs
    2727    # Build the installation tree:
    28     ( export RPMBUILDMINDI=true && export HEAD=$(CURDIR)/debian/$(PACKAGE_NAME) && export PREFIX=/usr && export CONFDIR=/etc && export MANDIR=$(PREFIX)/share/man && export LIBDIR=$(PREFIX)/lib && export DOCDIR=$(PREFIX)/share/doc && ./install.sh )
     28    export PREFIX=/usr
     29    ( export RPMBUILDMINDI=true && export HEAD=$(CURDIR)/debian/$(PACKAGE_NAME) && export CONFDIR=/etc && export MANDIR=$(PREFIX)/share/man && export LIBDIR=$(PREFIX)/lib && export DOCDIR=$(PREFIX)/share/doc && ./install.sh )
    2930
    3031# Build architecture-independent files here.
  • branches/2.2.4/mondo/src/mondorestore/mondo-rstr-tools.c

    r1322 r1406  
    24992499            }
    25002500        } else {
     2501            /* That boot imae doesn't always exist where the following method always works
    25012502            log_msg(2,
    25022503                    "gcffa --- looking at mounted CD for mindi-boot.2880.img");
     
    25062507            sprintf(mounted_cfgf_path, "%s/%s", mountpt, cfg_file);
    25072508            if (!does_file_exist(mounted_cfgf_path)) {
     2509            */
    25082510                log_msg(2,
    2509                         "gcffa --- Plan C, a.k.a. untarring some file from all.tar.gz");
     2511                        "gcffa --- Plan B, a.k.a. untarring some file from all.tar.gz");
    25102512                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
    25112513                run_program_and_log_output(command, TRUE);
     
    25142516                        ("Please reinsert the disk/CD and try again.");
    25152517                }
     2518                    /*
    25162519            }
     2520                */
    25172521        }
    25182522    }
Note: See TracChangeset for help on using the changeset viewer.