#1080 Issue closed: ISO_IMAGES set but nowhere used

Labels: cleanup, fixed / solved / done, minor bug

jsmeix opened issue at 2016-11-23 10:37:

In current GitHub master code
I only find that ISO_IMAGES is set
but I cannot find where it is used:

# find usr/sbin/rear usr/share/rear/* | xargs grep 'ISO_IMAGES'

usr/share/rear/conf/default.conf:ISO_IMAGES=()
usr/share/rear/output/ISO/Linux-i386/820_create_iso_image.sh:ISO_IMAGES=( "${ISO_IMAGES[@]}" "$ISO_DIR/$ISO_PREFIX.iso" )
usr/share/rear/output/ISO/Linux-i386/810_prepare_multiple_iso.sh:    ISO_IMAGES=( "${ISO_IMAGES[@]}" "$ISO_OUTPUT_PATH" )
usr/share/rear/output/ISO/Linux-ia64/800_create_isofs.sh:ISO_IMAGES=( "${ISO_IMAGES[@]}" "$ISO_DIR/$ISO_PREFIX.iso" )
usr/share/rear/output/ISO/Linux-ppc64/800_create_isofs.sh:ISO_IMAGES=( "${ISO_IMAGES[@]}" "$ISO_DIR/$ISO_PREFIX.iso" )
usr/share/rear/output/ISO/Linux-ppc64le/800_create_isofs.sh:ISO_IMAGES=( "${ISO_IMAGES[@]}" "$ISO_DIR/$ISO_PREFIX.iso" )
usr/share/rear/output/OBDR/Linux-ia64/800_create_isofs.sh:ISO_IMAGES=( "${ISO_IMAGES[@]}" "$ISO_DIR/$ISO_PREFIX.iso" )
usr/share/rear/output/OBDR/Linux-ppc64/800_create_isofs.sh:ISO_IMAGES=( "${ISO_IMAGES[@]}" "$ISO_DIR/$ISO_PREFIX.iso" )

where in particular default.conf reads

# contains the resulting ISO images(s) (this variable is filled in by the
# ISO output module and is used mostly internally)
ISO_IMAGES=()

but I wonder where it "is used mostly internally"?

jsmeix commented at 2016-11-23 10:40:

@schlomo
can you tell me how ISO_IMAGES is meant to be used
or can I simply remove that dead code?

jsmeix commented at 2016-11-24 13:06:

ISO_IMAGES
R.I.P.


[Export of Github issue for rear/rear.]