Changeset 3406 in MondoRescue for branches/3.2/mindi/mindi


Ignore:
Timestamp:
Aug 6, 2015, 8:10:25 AM (9 years ago)
Author:
Bruno Cornec
Message:

Homogeneize bootroot image name

In bth mindi and mondo use systematically mindi-bootroot.img as the name
of the bootable image used to make CD. Simpler and always the same for
all cases.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi/mindi

    r3405 r3406  
    15041504        $ISO_CMD -U $ISO_OPT -V Mindi_Image -o $MINDI_CACHE/mindi.iso -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table . > /dev/null 2> $MINDI_TMP/mkisofs.log
    15051505    else
    1506         $ISO_CMD $ISO_OPT -V Mindi_Image -o $MINDI_CACHE/mindi.iso -b images/mindi-bootroot.$BOOT_SIZE.img -c images/boot.cat -no-emul-boot . > /dev/null 2> $MINDI_TMP/mkisofs.log
     1506        $ISO_CMD $ISO_OPT -V Mindi_Image -o $MINDI_CACHE/mindi.iso -b images/mindi-bootroot.img -c images/boot.cat -no-emul-boot . > /dev/null 2> $MINDI_TMP/mkisofs.log
    15071507    fi
    15081508    if [ "$?" -ne "0" ] ; then
     
    18611861    TurnTgzIntoRdz $MINDI_LIB/rootfs $MINDI_TMP/initrd.img `du -sk $kernelpath | cut -f1` || Die "Could not turn rootfs into initrd.img; are you SURE your kernel supports loopfs?"
    18621862    echo -en "..."
    1863     imagefile=$MINDI_TMP/mindi-bootroot.$BOOT_SIZE.img
     1863    imagefile=$MINDI_TMP/mindi-bootroot.img
    18641864    mkdir -p $mountpoint
    18651865    dd if=/dev/zero of=$imagefile bs=1k count=$BOOT_SIZE &> /dev/null || Die "Cannot dd blank file"
     
    18721872
    18731873    # Only move it now to its final destination and use it now
    1874     mv $imagefile $imagesdir
    1875     imagefile=$imagesdir/mindi-bootroot.$BOOT_SIZE.img
     1874    mv $imagefile $MINDI_CACHE
     1875    imagefile=$MINDI_CACHE/mindi-bootroot.img
    18761876
    18771877    mount -t vfat -o loop $imagefile $mountpoint || LogAll "ERROR: Cannot mount (PBDI)"
Note: See TracChangeset for help on using the changeset viewer.