@@ -192,7 +192,7 @@ progress -1/0
192192if [ " $partition " == " erofs" ]; then
193193 [ " $DISATFS " == 0 ] || patch " $INPUT " " $fs_config " " $file_contexts " > $TMP /patch_fs.log
194194 if [ " $TTBUILDI " == 6 ]; then
195- imgkit_scuti pack --type erofs -s " $INPUT " -o " $saved " --compress $NENEROFS --compress-level ${zlsize/ ,/ } --file-contexts " $file_contexts " --fs-config " $fs_config " -m " /${INPUT##*/ } " & > $TMP /imgkit_repack.log || killtree " Error build process imgkit_scuti" " $saved "
195+ imgkit_scuti pack --type erofs -s " $INPUT " -o " $saved " --compress $NENEROFS --compress-level ${zlsize/ ,/ } --file-contexts " $file_contexts " --fs-config " $fs_config " -m " /${INPUT##*/ } " & > $TMP /imgkit_repack.log || killtree " Error build process imgkit_scuti:\n\n $( cat $TMP /imgkit_repack.log ) " " $saved "
196196 elif [ " $TTBUILDI " == 8 ]; then
197197 $TERMUX /lib/theft/mkfs.erofs -T $time_build -z${NENEROFS}${zlsize} --mount-point=" /${INPUT##*/ } " --fs-config-file=" $fs_config " --file-contexts=" $file_contexts " " $saved " " $INPUT " & > $TMP /mkfs_erofs.log || killtree " Error build process mkfs.erofs:\n\n$( cat $TMP /mkfs_erofs.log) " " $saved " &
198198 process_erofss $TMP /mkfs_erofs.log
@@ -312,7 +312,7 @@ elif [ "$partition" == "ext" ];then
312312 mke2fs -O ^has_journal -t ext4 -m 0 -b 4096 -I 256 -L " ${INPUT##*/ } " -M " /${INPUT##*/ } " " $saved " $size 2>&1
313313 e2fsdroid -e -T $time_build -C " $fs_config " -S " $file_contexts " -f " $INPUT " -a " /${INPUT##*/ } " " $saved " || killtree " Error build process e2fsdroid" " $saved "
314314 elif [ " $TTBUILDI " == 7 ]; then
315- imgkit_scuti pack --type ext4 -s " $INPUT " -o " $saved " -z $size_real --file-contexts " $file_contexts " --fs-config " $fs_config " -m " /${INPUT##*/ } " --label " ${INPUT##*/ } " || killtree " Error build process imgkit_scuti" " $saved "
315+ imgkit_scuti pack --type ext4 -s " $INPUT " -o " $saved " -z $size_real --file-contexts " $file_contexts " --fs-config " $fs_config " -m " /${INPUT##*/ } " --label " ${INPUT##*/ } " & > $TMP /imgkit_repack.log || killtree " Error build process imgkit_scuti:\n\n $( cat $TMP /imgkit_repack.log ) " " $saved "
316316 else
317317 make_ext4fs -J -T $time_build -L " ${INPUT##*/ } " -S " $file_contexts " -C " $fs_config " -l $size_real -a " /${INPUT##*/ } " " $saved " " $INPUT " || killtree " Error build process make_ext4fs" " $saved " &
318318 process_count $size_real " $saved "
@@ -324,7 +324,7 @@ elif [ "$partition" == "ext" ];then
324324 mke2fs -O ^has_journal -t ext4 -m 0 -b 4096 -I 256 -L " ${INPUT##*/ } " -M " /${INPUT##*/ } " " $saved " $size 2>&1
325325 e2fsdroid -e -T $time_build -C " $fs_config " -S " $file_contexts " -f " $INPUT " -a " /${INPUT##*/ } " " $saved " || killtree " Error build process e2fsdroid" " $saved "
326326 elif [ " $TTBUILDI " == 7 ]; then
327- imgkit_scuti pack --type ext4 -s " $INPUT " -o " $saved " -z $size_orig --file-contexts " $file_contexts " --fs-config " $fs_config " -m " /${INPUT##*/ } " --label " ${INPUT##*/ } " || killtree " Error build process imgkit_scuti" " $saved "
327+ imgkit_scuti pack --type ext4 -s " $INPUT " -o " $saved " -z $size_orig --file-contexts " $file_contexts " --fs-config " $fs_config " -m " /${INPUT##*/ } " --label " ${INPUT##*/ } " & > $TMP /imgkit_repack.log || killtree " Error build process imgkit_scuti:\n\n $( cat $TMP /imgkit_repack.log ) " " $saved "
328328 else
329329 make_ext4fs -J -T $time_build -L " ${INPUT##*/ } " -S " $file_contexts " -C " $fs_config " -l $size_orig -a " /${INPUT##*/ } " " $saved " " $INPUT " || killtree " Error build process make_ext4fs" " $saved " &
330330 process_count $size_orig " $saved "
0 commit comments