Files
ShellCrash/scripts/libs
Xiaoyi 55cfa65875 core: prefer raw binary on compressed rom, avoid upx on tmpfs devices
Adds store_on_rom() helper (tmpfs $TMPDIR + squashfs/ubifs/overlay
$BINDIR). On such devices core_webget no longer downloads the upx core
(its stub decompresses into a memfd = RAM at runtime); it fetches the
tar.gz instead and core_check stores the naked binary as
$BINDIR/CrashCore.raw, symlinked from $TMPDIR. The binary is
transparently compressed on rom and file-backed/reclaimable at runtime
(RssShmem 0). Other filesystems and explicit upx keep prior behavior.

Also corrects the upx branch symlink target $TMPDIR -> $BINDIR (same
dangling-symlink issue as #1295).

For #1304
2026-07-11 15:59:42 +08:00
..
2026-03-25 20:15:42 +08:00
2026-03-25 20:15:42 +08:00
2026-03-25 20:15:42 +08:00
2026-03-25 20:15:42 +08:00
2026-03-25 20:15:42 +08:00
2026-03-25 20:15:42 +08:00
2026-03-25 20:15:42 +08:00
2026-04-04 19:50:42 +08:00
2026-03-25 20:15:42 +08:00
2026-03-25 20:15:42 +08:00
2025-12-24 11:09:28 +08:00
2026-03-25 20:15:42 +08:00
2026-03-25 20:15:42 +08:00
2026-03-25 20:15:42 +08:00
2026-03-25 20:15:42 +08:00
2026-03-25 20:15:42 +08:00
2026-03-25 20:15:42 +08:00
2026-03-25 20:15:42 +08:00
2026-03-25 20:15:42 +08:00
2026-03-25 20:15:42 +08:00
2026-03-25 20:15:42 +08:00
2026-03-25 20:15:42 +08:00

用于存放脚本内置工具的脚本

引用方式必须为:

. "$CRASHDIR"/libs/xxx.sh

返回码必须是return x而不能是exit x

此处脚本内容不应包含文字输出和log输出