[Fedora-livecd-list] bindmounts not mounted
Alexandre Magaz Graça
alexm at asic.udl.cat
Tue Apr 3 10:55:10 UTC 2007
Hi,
I've been trying to build a live cd with the last pilgrim version (git)
and it seems that bindmounts doesn't get mounted. This is the output I
get at the package installing stage:
[...]
Installing: gnome-panel ##################### [426/620]
/proc is empty (not mounted ?)
Installing: rpm ##################### [427/620]
Installing: gnome-python2-gconf ##################### [428/620]
Installing: gnome-python2-desktop ##################### [429/620]
Installing: tomcat5-servlet-2.4-api ##################### [430/620]
GC Warning: Couldn't read /proc/stat
GC Warning: GC_get_nprocs() returned -1
dirname: missing operand
[...]
This patch solved the problem:
diff --git a/creator/livecd-creator b/creator/livecd-creator
index 9a00946..7eac113 100755
--- a/creator/livecd-creator
+++ b/creator/livecd-creator
@@ -409,6 +409,9 @@ class InstallationTarget:
(self.build_dir + "/yum-cache",
"/var/cache/yum")]:
self.bindmounts.append(BindChrootMount(f, self.build_dir +
"/install_root", dest))
+ for b in self.bindmounts:
+ b.mount()
+
# make sure /etc/mtab is current inside install_root
os.symlink("../proc/mounts", self.build_dir +
"/install_root/etc/mtab")
Cheers,
Alex
More information about the Fedora-livecd-list
mailing list