Files
amber-pm/备忘录.txt
2025-10-18 16:10:16 +08:00

22 lines
799 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
sudo mount -t overlay overlay -o lowerdir='/var/lib/apm/amber-pm-trixie/files/ace-env',upperdir=core/,workdir=work/ ./ace-env
随后chroot进入进行安装操作完成后
core: 保存新增文件
work: 保存变更信息
需把这两个文件的权限换成755
fuse-overlayfs -o lowerdir='/var/lib/apm/amber-pm-trixie/files/ace-env',upperdir=core/,workdir=work/ ./ace-env
即可只读挂载并进行ace操作
计划:
/var/lib/apm/包名/files/core是upperdir
/var/lib/apm/包名/files/work是upperdir
/var/lib/apm/包名/files/ace-env是chroot进的目录
/var/lib/apm/包名/info是配置信息
apm run 包名: 寻找 /var/lib/apm/包名/是否存在。若存在根据info文件合成 fuser-overlayfs(ll-killer) 参数进行挂载随后用ACE工具chroot进入进行启动