[arch-dev-public] udev 128 core move blockers

Thomas Bächler thomas at archlinux.org
Sun Sep 14 15:24:51 EDT 2008


- http://bugs.archlinux.org/task/9739
rc.single needs to be adjusted here, because init s apparently kills 
udev. Should be easy, I'll take care of it.

- New udev breaks installation: post_install doesn't create /dev/console 
anymore. If /dev/console does not exist, kinit will fail to switch to 
the rootfs and the kernel will panic. This is due to the removal of 
migrate-udev. We need to include this code into the post_install:

TMPDIR=$(mktemp -d /tmp/udev.XXXXXX)
mount --bind / $(TMPDIR)
[ -c $(TMPDIR)/dev/console ] || mknod ....
[ -c $(TMPDIR)/dev/null ]    || mknod ....
[ -c $(TMPDIR)/dev/zero ]    || mknod ....
umount $(TMPDIR)
rmdir $(TMPDIR)

We also need to make sure this works when pacman is used with the -r 
option. Maybe we don't need the bind mount, as udev installation is 
never done in a running system anymore, but only from a chroot or in the 
installer.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://archlinux.org/pipermail/arch-dev-public/attachments/20080914/aca80bfa/attachment.pgp>


More information about the arch-dev-public mailing list