Changeset 3406 in MondoRescue for branches/3.2/mindi/mindi
- Timestamp:
- Aug 6, 2015, 8:10:25 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi/mindi
r3405 r3406 1504 1504 $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 1505 1505 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.log1506 $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 1507 1507 fi 1508 1508 if [ "$?" -ne "0" ] ; then … … 1861 1861 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?" 1862 1862 echo -en "..." 1863 imagefile=$MINDI_TMP/mindi-bootroot. $BOOT_SIZE.img1863 imagefile=$MINDI_TMP/mindi-bootroot.img 1864 1864 mkdir -p $mountpoint 1865 1865 dd if=/dev/zero of=$imagefile bs=1k count=$BOOT_SIZE &> /dev/null || Die "Cannot dd blank file" … … 1872 1872 1873 1873 # Only move it now to its final destination and use it now 1874 mv $imagefile $ imagesdir1875 imagefile=$ imagesdir/mindi-bootroot.$BOOT_SIZE.img1874 mv $imagefile $MINDI_CACHE 1875 imagefile=$MINDI_CACHE/mindi-bootroot.img 1876 1876 1877 1877 mount -t vfat -o loop $imagefile $mountpoint || LogAll "ERROR: Cannot mount (PBDI)"
Note:
See TracChangeset
for help on using the changeset viewer.