File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7272[[ -z " $CONVER " ]] && CONVER=' raw'
7373[[ -z " $DISATFS " ]] && DISATFS=1
7474
75- [ -f $ETC /mke2fs.conf ] && export MKE2FS_CONFIG=" $ETC /mke2fs.conf"
7675# Thời gian build
7776time_build=" $( glog build_times) "
7877[ -z " $time_build " ] && time_build=" 1230768000"
@@ -166,10 +165,10 @@ if [ "$partition" == "erofs" ]; then
166165 if [ " $tool_erofs " == 1 ]; then
167166 imgkit_scuti pack --type erofs -s " $INPUT " -o " $saved " --compress $NENEROFS --compress-level ${zlsize/ ,/ } --file-contexts " $file_contexts " --fs-config " $fs_config " -m " /${INPUT##*/ } " | tee $TMP /imgkit_repack.log || killtree " Error build process imgkit_scuti" " $saved "
168167 elif [ " $tool_erofs " == 2 ]; then
169- $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)" " $saved " &
168+ $TERMUX /lib/theft/mkfs.erofs -E^xattr-name-filter - 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)" " $saved " &
170169 process_erofss $TMP /mkfs_erofs.log
171170 else
172- 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" " $saved " &
171+ mkfs.erofs -E^xattr-name-filter - 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" " $saved " &
173172 process_erofss $TMP /mkfs_erofs.log
174173 fi
175174elif [ " $partition " = " boot" ] || [ " $partition " = " vendor_boot" ]; then
Original file line number Diff line number Diff line change @@ -481,10 +481,10 @@ done
481481<action icon="' ` urlpng list_tool` ' " shell="hidden" reload="true">
482482<title>' $customize_tools_text ' </title>
483483<param name="un_tool_ext4" value-sh="glog un_tool_ext4 0" label="' $option_text ' " title="' $tool_unpack_text ' ext4" options-sh="echo -e ' " '0|imgextractor\n1|imgkit_scuti'" ' "/>
484- <param name="un_tool_erofs" value-sh="glog un_tool_erofs 0" label="' $option_text ' " title="' $tool_unpack_text ' erofs" options-sh="echo -e ' " '0|extract.erofs\n1|imgkit_scuti\n2|extract.erofs (old )'" ' "/>
484+ <param name="un_tool_erofs" value-sh="glog un_tool_erofs 0" label="' $option_text ' " title="' $tool_unpack_text ' erofs" options-sh="echo -e ' " '0|extract.erofs\n1|imgkit_scuti\n2|extract.erofs (new )'" ' "/>
485485<param name="un_tool_f2fs" value-sh="glog un_tool_f2fs 0" label="' $option_text ' " title="' $tool_unpack_text ' f2fs" options-sh="echo -e ' " '0|extract.f2fs\n1|imgkit_scuti'" ' "/>
486486<param name="re_tool_ext4" value-sh="glog re_tool_ext4 0" label="' $option_text ' " title="' $tool_repack_text ' ext4" options-sh="echo -e ' " '0|make_ext4fs\n1|mke2fs+e2fsdroid\n2|imgkit_scuti'" ' "/>
487- <param name="re_tool_erofs" value-sh="glog re_tool_erofs 0" label="' $option_text ' " title="' $tool_repack_text ' erofs" options-sh="echo -e ' " '0|mkfs.erofs\n1|imgkit_scuti\n2|mkfs.erofs (old )'" ' "/>
487+ <param name="re_tool_erofs" value-sh="glog re_tool_erofs 0" label="' $option_text ' " title="' $tool_repack_text ' erofs" options-sh="echo -e ' " '0|mkfs.erofs\n1|imgkit_scuti\n2|mkfs.erofs (new )'" ' "/>
488488<param name="re_tool_f2fs" value-sh="glog re_tool_f2fs 0" label="' $option_text ' " title="' $tool_repack_text ' f2fs" options-sh="echo -e ' " '0|sload_f2fs'" ' "/>
489489<set>
490490slog un_tool_ext4 "$un_tool_ext4"
You can’t perform that action at this time.
0 commit comments