Bruce Dubbs wrote:
> I still need to create install.sh
This is what I came up with:
---------------
cd build
SBIN=/sbin
UDEVLIBEXECDIR=/lib/udev
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
system.
I'm not even sure waht keymap does in this context and I don't know if
it's needed or not.
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page