I wrote:
> debootstrap doesn't do this (it doesn't even install udev by default),
> you want to look at debian-installer.

In fact, you want to look at udev-udeb (a copy of udev used by the
debian installer). This udeb has the file
/usr/lib/base-installer.d/05udev with the following contents:

#!/bin/sh -e

RULESDIR=etc/udev/rules.d
cp /$RULESDIR/z25_persistent-cd.rules \
   /$RULESDIR/z25_persistent-net.rules \
        /target/$RULESDIR 2>/dev/null || true


So indeed, Debian installer allows udev in the installer to generate
rules, then allows the user to choose and configure the primary
network card, and then copies the generated rules to the target
system. This solution doesn't work for LFS, because we can't assume
that we can copy udev rules from the host.

-- 
Alexander E. Patrakov
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to