chroot to install packages

Himanshu Garg hgarg.india at
Wed Nov 13 15:31:21 CET 2013

I am writing a python script to run chroot command to chroot to a linux distro and then run commands.  How can I do this, as after chrooting, the script runs the commands relative to the outside not inside the chrooted env?

More information about the Python-list mailing list