[lfs-dev] [LFS Trac] #3098: udev/systemd 183 is out

Bruce Dubbs bruce.dubbs at gmail.com
Tue May 29 13:00:07 PDT 2012

Bruce Dubbs wrote:

> I still need to create install.sh

This is what I came up with:
cd build


cp -v udevadm $SBIN

mkdir -p $UDEVLIBEXECDIR/{rules.d,devices/pts}
mknod -m 0666 $UDEVLIBEXECDIR/devices/null c 1 3

cp -v udevd accelerometer scsi_id ata_id cdrom_id \
       v4l_id mtd_probe collect $UDEVLIBEXECDIR

# None of these programs need any udev libraries,
# so we don't install any

cp -v rules/*.rules src/login/*.rules $UDEVLIBEXECDIR/rules.d

sed -i -e "s,systemd.*-,,gi" man/udev.7 man/*udev*.8

cp -v man/udev.7   /usr/share/man/man7
cp -v man/*udev*.8 /usr/share/man/man8


In the make script I have  -DUDEVLIBEXECDIR="/usr/libexec/udev"
but that needs to be changed to /lib/udev.

I came up with one problem that I need advice on.  I can't build the 
keymap program becasue I'm missing keys-from-name.h and keys-to-name.h. 
  The systemd configure/make command generates them using gperf.  In 
udev-182, there are over 70 entries in src/keymap/keymaps.  This seems 
to indicate to me that systemd only generates the keymap for the current 

I'm not even sure waht keymap does in this context and I don't know if 
it's needed or not.

   -- Bruce

More information about the lfs-dev mailing list