640
640
if [ "$fmt" = "squashfs-image" ]; then
642
642
squash_out=$(dirname "$output")/$(basename "$src")
644
648
debug 1 "creating a new squashfs in $squash_out from $imgfile"
645
649
sudo mount-image-callback "$imgfile" --read-only -- sh -ec '
646
650
src="$1"; out="$2"; owner="$3"; tmp="$out.$$"