#3098: udev/systemd 183 is out
--------------------+-------------------------------------------------------
 Reporter:  Krejzi  |       Owner:  lfs-book@…                   
     Type:  task    |      Status:  new                          
 Priority:  normal  |   Milestone:  7.2                          
Component:  Book    |     Version:  SVN                          
 Severity:  normal  |    Keywords:                               
--------------------+-------------------------------------------------------

Comment(by bdubbs@…):

 I was able to build with:

 {{{
     ./configure --prefix=''         \
                 --disable-acl       \
                 --disable-tcpwrap   \
                 --disable-hostnamed \
                 --disable-timedated \
                 --disable-localed   \
                 --disable-coredump  \
                 --disable-gudev     \
                 --disable-keymap    \
                 --disable-audit     \
                 --disable-ima       \
                 --disable-introspection \
                 --disable-gtk-doc-html  \
                 --enable-split-usr      &&
     make                                &&
     make DESTDIR=/tmp/systemd install
 }}}

 I could not use --disable-logind because one program failed to link.  We
 probably need to add --with-usb-ids-path=no  and --with-pci-ids-path=no.

 I was able to find most of the programs so we would need to do a manual
 install of only what we need.

 Build time on my system was 99 seconds vs 14 for udev.  :(

 {{{
 ./lib/libudev.so.1.0.0
 ./lib/libudev.a
 ./lib/pkgconfig/libudev.pc
 ./lib/libudev.so
 ./lib/libudev.so.1
 ./lib/libudev.la
 ./bin/udevadm
 ./libexec/udev
 ./libexec/udev/rules.d/50-udev-default.rules
 ./libexec/udev/rules.d/95-udev-late.rules
 ./include/libudev.h
 ./etc/udev
 ./etc/udev/udev.conf
 ./share/pkgconfig/udev.pc
 ./share/man/man7/udev.7
 ./share/man/man8/systemd-udevd.8
 ./share/man/man8/udevadm.8
 ./usr/lib/systemd/systemd-udevd
 ./usr/lib/udev
 }}}

 systemd-udevd needs to be renamed and the man files edited.  Notice that
 they put two .pc files in different directories.

 The only programs we need are udevd and udevadm.  We also need libraries,
 rules, .pc files, etc.  I'll chcke my looks to see what udev-182
 installed.



 I have not tried in a Chapter 6 chroot environment, but it's looking like
 it's doable, even if it is a PITA.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/3098#comment:1>
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