Re: chroot fails with mount point passed to subprocess.Popen?

2010-03-25 Thread newton10471
Hi Alf, After doing some more research, including the character-by-character comparison you suggested (thank you!), I was able to get things working the way I wanted using the following: def getInstalledKernelVersion(mountPoint): linuxFsRoot = mountPoint + /root

Re: chroot fails with mount point passed to subprocess.Popen?

2010-03-25 Thread newton10471
Hi Alf, After doing some more research, including the character-by-character comparison you suggested (thank you!), I was able to get things working the way I wanted using the following: def getInstalledKernelVersion(mountPoint): linuxFsRoot = mountPoint + /root

chroot fails with mount point passed to subprocess.Popen?

2010-03-22 Thread newton10471
Hi, I'm trying to use subprocess.Popen() to do a Linux chroot to a mount point passed in as a parameter to the following function: def getInstalledKernelVersion(mountPoint): linuxFsRoot = mountPoint + /root print type of linuxFsRoot is %s % type(linuxFsRoot)

Re: chroot fails with mount point passed to subprocess.Popen?

2010-03-22 Thread Alf P. Steinbach
* newton10471: Hi, I'm trying to use subprocess.Popen() to do a Linux chroot to a mount point passed in as a parameter to the following function: def getInstalledKernelVersion(mountPoint): linuxFsRoot = mountPoint + /root print type of linuxFsRoot is %s % type(linuxFsRoot)