Sven Joachim wrote: > On 2010-09-26 18:33 +0200, Joey Hess wrote: > > > intrig...@boum.org wrote: > >> I haven't investigated this issue enough to tell the cause of the > >> problem. A somewhat unclean build environment might be involved > > > > I can't see how, nor can I reproduce it in that same build environment. > > > > All I can think is that MAKEDEV somehow didn't create devices, or > > fakeroot ate them, but I can't see how. > > The top-level Makefile sets MAKEDEV to /dev/MAKEDEV if that exists, and > if udev is installed /dev/MAKEDEV is a symlink to /bin/true.
Ok, so if a system is *booted* without makedev installed, udev makes MAKEDEV be /bin/true. Then, installing makedev doesn't fix the symlink, until next boot; then it will point to /sbin/MAKEDEV. What a nasty gotcha. Clearly debootstrap needs to use /sbin/MAKEDEV. -- see shy jo
signature.asc
Description: Digital signature