#295 Issue closed: Multiple ISOs are created during rescue phase by 81_prepare_multiple_iso.sh

gdha opened issue at 2013-09-02 14:21:

linked to issue #264

#-> cat /etc/rear/local.conf
# Create Relax-and-Recover rescue media as ISO image
OUTPUT=ISO
BACKUP=NETFS
BACKUP_URL=iso://backup
ISO_MAX_SIZE=4500
OUTPUT_URL=nfs://server/vol/client/linux_images_dr/rear

We're getting the situation that rear mkrescue creates

Creating initramfs
Preparing 14 ISO images ...

The reason is that /usr/share/rear/output/ISO/Linux-i386/81_prepare_multiple_iso.sh runs in the output phase, but is only meaningful during the backup phase (making ISO images of the splitted backup archives).

gdha commented at 2013-09-02 14:23:

If you wonder where the number 14 is coming from?

++ local isofs_path=/tmp/rear.zjMADBYBhhzaftv/tmp/isofs/backup
+++ ls
+++ wc -l
++ NB_ISOS=14
++ Print 'Preparing 14 ISO images ...'

Simple the $PWD contains 14 files...


[Export of Github issue for rear/rear.]