Auto detect for squashfs might not be working
This commit is contained in:
parent
6c0fbc51d1
commit
71002dc00f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user