pychroot
pychroot copied to clipboard
a python library and cli tool that simplify chroot handling
Might have to update/rewrite the byteplay module to support py3 in order to do this properly or figure out how to shim out own basic support for only what we...
Instead of maintaining a static list we should parse supported nodev fs types from /proc/filesystems since that will change from host to host.
I'm trying this basic example: ``` from pychroot import Chroot with Chroot("/home/yves/mock/lib/mageia-cauldron-x86_64/root"): pass ``` But I get: ``` Running script: "petit_test.py" Traceback (most recent call last): File "petit_test.py", line 2,...
```bash sudo python ``` ```python Python 3.10.10 (main, Mar 5 2023, 22:26:53) [GCC 12.2.1 20230201] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import pychroot >>>...