I'm creating chroots of Red Hat-based distributions inside my RHEL (host OS) and using them to build packages for different distributions. The process is described here:
http://www.serverschool.com/dedicate...ent-in-centos/. For Fedora, I setup a basic environment with rpm -i --root=<myroot> --nodeps
http://download.fedoraproject.org/pu...7-1.noarch.rpm and then use yum --installroot=<myroot> --disablerepo="host_repos" install <package_name> to install packages needed to build packages.
This process works fine for Fedora 15 and 16, but the yum install crashes on Fedora 17/18 at the yum install with the error: [Errno 2] No such file or directory: '/proc/317/cmdline'. The /proc/ directory does not exist inside <myroot> directory at this point.
Why this process does not work in Fedora 17+? Any workarounds?
edit: I've read I possibly would need to bind chroot's /proc and /dev to the one in host os. I've tried that and it still does not work.
Thanks in advance.