git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@391
67a159dc-881f-0410-a524-
ba9dfbe2cb84
check_loop
if [ "${DO_cache}" ]
then
+ # TODO: Check the size of the image versus the size of our tmpfs
+ # along with the amount of available RAM and increase tmpfs size
+ # if necessary.
good_msg "Copying loop file for caching..."
cp -a ${NEW_ROOT}/mnt/cdrom/${LOOP} ${NEW_ROOT}/mnt/${LOOP}
if [ $? -ne 0 ]
LOOPTYPE='zisofs'
elif [ -e "${NEW_ROOT}/mnt/cdrom/livecd.squashfs" ]; then
LOOP='/livecd.squashfs'
+ LOOPTYPE='squashfs'
+ elif [ -e "${NEW_ROOT}/mnt/cdrom/image.squashfs" ]; then
+ LOOP='/image.squashfs'
LOOPTYPE='squashfs'
elif [ -e "${NEW_ROOT}/mnt/cdrom/livecd.gcloop" ]; then
LOOP='/livecd.gcloop'
elif [ "${LOOP}" = '/livecd.squashfs' ]
then
LOOPTYPE='squashfs'
+ elif [ "${LOOP}" = '/image.squashfs' ]
+ LOOPTYPE='squashfs'
elif [ "${LOOP}" = '/livecd.gcloop' ]
then
LOOPTYPE='gcloop'