[Pkg-uml-commit] r152 - in trunk/src/rootstrap: debian modules
Mattia Dongili
malattia at costa.debian.org
Sun Aug 20 17:17:47 UTC 2006
Author: malattia
Date: 2006-08-20 17:17:46 +0000 (Sun, 20 Aug 2006)
New Revision: 152
Modified:
trunk/src/rootstrap/debian/changelog
trunk/src/rootstrap/modules/uml
Log:
fix mount/umount madness
Modified: trunk/src/rootstrap/debian/changelog
===================================================================
--- trunk/src/rootstrap/debian/changelog 2006-08-20 17:15:59 UTC (rev 151)
+++ trunk/src/rootstrap/debian/changelog 2006-08-20 17:17:46 UTC (rev 152)
@@ -5,8 +5,7 @@
* fix reiserfs invocation, thanks to Andreas Beckmann (Closes: #372828).
* allow mounting the hostfs to /lib/modules. (Closes: #377035);
* fix root password handling in base-config.
- * group mounting $TARGET filesystems in the "mount" module, unmounting in
- the "umount" module. (Closes: #372905)
+ * unmount /proc after using it in modules/uml. (Closes: #372905)
* disable hwclock on the newly created image, thanks to Matthew Palmer.
(Closes: #311037)
Modified: trunk/src/rootstrap/modules/uml
===================================================================
--- trunk/src/rootstrap/modules/uml 2006-08-20 17:15:59 UTC (rev 151)
+++ trunk/src/rootstrap/modules/uml 2006-08-20 17:17:46 UTC (rev 152)
@@ -1,10 +1,12 @@
#!/bin/sh -e
# create device nodes.
+chroot $TARGET mount -t proc proc /proc
for i in 1 2 3 4 5 6 7 8; do
NEW_TTY="$NEW_TTY tty$i"
done
chroot $TARGET /bin/sh -c "cd /dev && ./MAKEDEV ubd std $NEW_TTY"
+chroot $TARGET umount /proc
# generate a new fstab
cat <<EOF > $TARGET/etc/fstab
More information about the Pkg-uml-commit
mailing list