Ken Moffat wrote:

>   I built eudev in LFS-7.5 chroot like this:

Thanks for those instructions Ken.  I took those and built in chroot 
with these:


sed -i '/devnode substitution/ a exp_add_error => "yes",' test/udev-test.pl

sed -i '/struct ucred/i struct ucred;' src/libudev/util.h

./configure --prefix=/usr           \
             --sysconfdir=/etc       \
             --with-rootprefix=      \
             --libexecdir=/lib       \
             --enable-split-usr      \
             --enable-libkmod        \
             --libdir=/usr/lib       \
             --with-rootlibdir=/lib  \
             --sbindir=/sbin         \
             --bindir=/sbin          \
             --enable-rule_generator \
             --disable-introspection \
             --disable-keymap        \
             --disable-gudev         \
             --disable-gtk-doc-html  \
             --with-firmware-path=/lib/firmware
make

mkdir -pv /lib/{firmware,udev/devices/pts}
mkdir -pv /etc/udev/rules.d
mkdir -pv /lib/udev/rules.d

make check

install -dv $DEST/lib/firmware

make DESTDIR=$DEST install
----------

The first sed sets the failing test to expected.  I'll look into that 
some more.  With it, the check is clean.

The second sed cleans up some irritating warnings.

Almost everything is as it should be, except the man pages are not 
installed.  We will probably have to create a patch or tarball for 
those.  It would probably be easier as a patch.

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

Reply via email to