It appears that some rpm is mounting /proc, which is not what we want.
Marc Fiuczynski [Thu, 8 Nov 2007 16:26:08 +0000 (16:26 +0000)]
build.sh

index db4a4c7..2786866 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -76,6 +76,11 @@ for bootstrapfs in bootstrap-filesystems/*.lst ; do
     [ -n "$packages" ] && yum -c ${vdir}/etc/yum.conf --installroot=${vdir} -y install $packages
     [ -n "$groups" ] && yum -c ${vdir}/etc/yum.conf --installroot=${vdir} -y groupinstall $groups
 
+    if [ -f "${vdir}/proc/cpuinfo" ] ; then
+       echo "WARNING: some RPM appears to have mounted /proc in ${NAME}. Unmounting it!"
+       umount ${vdir}/proc
+    fi
+
     # Create a copy of the ${NAME} bootstrap filesystem w/o the base
     # bootstrap filesystem and make it smaller.  This is a three step
     # process: