Added patches from bug #106338. This means mips support in genkernel. Blame Kumba.
[genkernel.git] / generic / initrd.scripts
index e9594e612224159cd694082e4e1f2bec9773151c..73fbe3fb42bc5d7f9a402f255960a0e8c18dec3d 100644 (file)
@@ -94,7 +94,7 @@ findcdmount() {
 }
 cache_cd_contents() {
        # Check loop file exists and cache to ramdisk if DO_cache is enabled
-       if [ "${LOOPTYPE}" != 'noloop' ]
+       if [ "${LOOPTYPE}" != "noloop" ] && [ "${LOOPTYPE}" != "sgimips" ]
        then
                check_loop
                if [ "${DO_cache}" ]