tiann / eadb

eBPF Android Debug Bridge
Apache License 2.0
465 stars 60 forks source link

eadb prepare 本地文件逻辑异常 #4

Closed SeeFlowerX closed 2 years ago

SeeFlowerX commented 2 years ago

用ssh,必须先把压缩包放到/data/eadb/debian/data/eadb/deb.tar.gz

然后才能

eadb --ssh root@ip prepare -a path/to/archive(本地路径)

然后提示找不到device-*

这是因为这些文件实际解压到

原因是

ssh的push这里把路径拼接为{EADB_ROOTFS_DIR}/{EADB_DIR},但是后面脚本的操作都是基于EADB_DIR,最终导致chmod +x device-*命令异常

tiann commented 2 years ago

https://github.com/tiann/eadb/commit/93d0e375e6802b029faff4e90b7a2d03a782dc94