#3384: systemd-206
----------------------+-------------------------
 Reporter:  bdubbs@…  |       Owner:  lfs-book@…
     Type:  task      |      Status:  new
 Priority:  normal    |   Milestone:  7.4
Component:  Book      |     Version:  SVN
 Severity:  normal    |  Resolution:
 Keywords:            |
----------------------+-------------------------

Comment (by ken@…):

 Replying to [comment:7 bdubbs@…]:
 > The upstream eudev tarball is created on the fly from the git
 repository.  Changing the Makefile still requires running autoreconf (not
 a big deal), but then make still must run xsltproc to create the man
 pages.  That requires one of three choices: 1) add xsltproc to LFS, 2)
 create a tarball with the man pages, or 3) omit the man pages.  I really
 don't like any of those choices.

 At the risk of shouting after a departing bus (if you wish to keep
 tweaking a separate Makefile to put onto this week's systemd it's your
 time not mine) - Why would you want to change the Makefile if we moved to
 eudev ?

 My own builds of beta4 used an upstream (eudev) fixes patch, and I suspect
 that even without that the tarball might have still needed the same auto
 love (aclocal ; automake --add-missing).

 But after that it is a straight build, not too different from pre-systemd
 -
 {{{
 untar the LFS udevconfig - I used 20100128
 install -dv /lib/{firmware,udev/devices/pts} # I guess that can come later
 :)
 ./configure --prefix=/usr --sysconfdir=/etc \
  --with-rootprefix="/" --libdir=/usr/lib \
  --with-firmware-path=/usr/lib/firmware \
  --with-rootlibdir=/lib --exec-prefix="/" \
  --enable-split-usr --enable-libkmod \
  --disable-static --disable-gudev --disable-keymap # LFS could omit
 disable-static
 make
 make install

 ln -svf /sbin/udevd /lib/udev # for our bootscript

 udevadm hwdb --update

 make check

 # install the LFS rules here :
 cd udev-config-20100128
 make install install-doc

 # fix up the insane eth0 naming
 echo "# dummy, so that network is once again on eth0"
 >/etc/udev/rules.d/80-net-name-slot.rules
 }}}

  The only man pages installed (in BLFS, building without keymap and
 introspection) were:

 {{{
 ken@ac4tv /scratch/ken $find /usr/share/man -name '*udev*' | xargs ls -l
 -rw-r--r-- 1 root root 16720 Apr 27 02:12 /usr/share/man/man7/udev.7
 -rw-r--r-- 1 root root 11043 Apr 27 02:12 /usr/share/man/man8/udevadm.8
 -rw-r--r-- 1 root root  4003 Apr 27 02:12 /usr/share/man/man8/udevd.8
 }}}

  So about 32K of patch, but probably not going to change very much - and
 Armin mentioned a patch.

 I also note that I still had a sed to get the tests to pass - in an LFS
 build /etc/udev/rules.d is empty at this point, gentoo users who run the
 tests will presumably already be running an older version, and in fact the
 rules got installed to /lib/udev/rules.d. Perhaps some of that has now
 changed - I haven't been watching eudev. Following sed worked - sed -i
 's%/etc%/lib%g' test/test-udev.c

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/3384#comment:9>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to