Skip to content

Commit 83ff0cd

Browse files
committed
Update
1 parent 278aaa7 commit 83ff0cd

6 files changed

Lines changed: 4 additions & 5 deletions

File tree

.github/module/bin/extract.erofs

-16.1 KB
Binary file not shown.

.github/module/bin/mkfs.erofs

-30.6 KB
Binary file not shown.
16.1 KB
Binary file not shown.
30.6 KB
Binary file not shown.

app/src/main/assets/home/bin/repack_img

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ fi
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
7776
time_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
175174
elif [ "$partition" = "boot" ] || [ "$partition" = "vendor_boot" ]; then

app/src/main/assets/home/etc/tool-tree.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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>
490490
slog un_tool_ext4 "$un_tool_ext4"

0 commit comments

Comments
 (0)