git://git.onelab.eu
/
nodeimage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ecf4b69
)
It appears that some rpm is mounting /proc, which is not what we want.
author
Marc Fiuczynski
<mef@cs.princeton.edu>
Thu, 8 Nov 2007 16:26:08 +0000
(16:26 +0000)
committer
Marc Fiuczynski
<mef@cs.princeton.edu>
Thu, 8 Nov 2007 16:26:08 +0000
(16:26 +0000)
build.sh
patch
|
blob
|
history
diff --git
a/build.sh
b/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
[ -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:
# Create a copy of the ${NAME} bootstrap filesystem w/o the base
# bootstrap filesystem and make it smaller. This is a three step
# process: