me.fier.chroot/scripts/mount/50_main.py

11 lines
170 B
Python
Raw Normal View History

2023-07-05 02:30:47 +00:00
import os
mounts = [
"proc",
"sys",
"dev",
os.path.join("dev","pts")
]
for mount in mounts:
_g["mountBind"](os.path.sep + mount,os.path.join(_chroot["dir"],mount))