mirror of
https://gitee.com/amber-ce/amber-pm
synced 2025-12-17 19:01:37 +08:00
init
This commit is contained in:
22
备忘录.txt
Normal file
22
备忘录.txt
Normal file
@@ -0,0 +1,22 @@
|
||||
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进入进行启动
|
||||
Reference in New Issue
Block a user