Auto detect for squashfs might not be working

This commit is contained in:
Bruno Wolff III 2019-05-22 13:36:11 -05:00
parent 6c0fbc51d1
commit 71002dc00f

View File

@ -111,7 +111,7 @@ for comp in ${ucomp[*]}; do
for kern in ${mcomp[*]}; do
if [ ${kern} == ${comp} ]; then
echo "Testing mounted image using ${comp} compression."
mount -r -o loop ${testdir}/sq.img ${mp} || echo "Mount failed.";
mount -r -o loop -t squashfs ${testdir}/sq.img ${mp} || echo "Mount failed.";
diff -r -q ${mp} ${datadir} || echo "Mounted test failed for ${comp} compression."
umount ${mp}
break