diff options
author | Pierre Labastie <pieere@linuxfromscratch.org> | 2020-04-19 14:45:08 +0000 |
---|---|---|
committer | Pierre Labastie <pieere@linuxfromscratch.org> | 2020-04-19 14:45:08 +0000 |
commit | effe07a910c6d737878b3a73715d5442ff4b06a6 (patch) | |
tree | 51ced00395b8d3243b563525cbb3e20b16f68ef3 /chapter06/eudev.xml | |
parent | 924667ee548b92b95e9355db0db6b2bd974401be (diff) |
Fix circular deps between util-linux and eudev/systemd:
- build util-linux in chapter 5 for both books
- move eudev before util-linux in chapter 6
- make utils-linux libs and headers accessible to /usr in
"Creating essential ..."
- not related, but forgotten at previous commit: make also libfl flex
library accessible to /usr
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11817 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/eudev.xml')
-rw-r--r-- | chapter06/eudev.xml | 33 |
1 files changed, 6 insertions, 27 deletions
diff --git a/chapter06/eudev.xml b/chapter06/eudev.xml index 742fa5dfd..71511c3e7 100644 --- a/chapter06/eudev.xml +++ b/chapter06/eudev.xml @@ -49,17 +49,8 @@ <screen><userinput remap="pre">sed -i '/keyboard_lookup_key/d' src/udev/udev-builtin-keyboard.c</userinput></screen> --> -<!-- - <para>First, add a workaround to prevent the /tools directory from being - hard coded into Eudev binary files library locations:</para> - -<screen><userinput remap="pre">cat > config.cache << "EOF" -HAVE_BLKID=1 -BLKID_LIBS="-lblkid" -BLKID_CFLAGS="-I/tools/include" -EOF</userinput></screen> ---> -<para>Prepare Eudev for compilation:</para> + + <para>Prepare Eudev for compilation:</para> <screen><userinput remap="configure">./configure --prefix=/usr \ --bindir=/sbin \ @@ -71,35 +62,24 @@ EOF</userinput></screen> --with-rootlibdir=/lib \ --enable-manpages \ --disable-static</userinput></screen> -<!-- - -config-cache</userinput></screen> --> -<para>Compile the package:</para> + <para>Compile the package:</para> <screen><userinput remap="make">make</userinput></screen> -<!-- -<screen><userinput remap="make">LIBRARY_PATH=/tools/lib make</userinput></screen> -<note><para>The LIBRARY_PATH variable here and the LD_LIBRARY_PATH variable -below are needed to allow the use of libraries that were installed in /tools, -but have not yet been installed in the main system. LIBRARY_PATH is -used to find libraries during the linking process. LD_LIBRARY_PATH is -used to find libraries during program execution.</para></note> ---> -<para>Create some directories now that are needed for tests, but -will also be used as a part of installation:</para> + <para>Create some directories now that are needed for tests, but + will also be used as a part of installation:</para> <screen><userinput remap="test">mkdir -pv /lib/udev/rules.d mkdir -pv /etc/udev/rules.d</userinput></screen> -<para>To test the results, issue:</para> + <para>To test the results, issue:</para> <screen><userinput remap="test">make check</userinput></screen> -<!--<screen><userinput remap="test">make LD_LIBRARY_PATH=/tools/lib check</userinput></screen>--> <para>Install the package:</para> <screen><userinput remap="install">make install</userinput></screen> -<!--<screen><userinput remap="install">make LD_LIBRARY_PATH=/tools/lib install</userinput></screen>--> <para>Install some custom rules and support files useful in an LFS environment:</para> @@ -128,7 +108,6 @@ make -f &udev-lfs-version;/Makefile.lfs install</userinput></screen> into a binary database <filename>/etc/udev/hwdb.bin</filename>. Create the initial database:</para> -<!--<screen><userinput>LD_LIBRARY_PATH=/tools/lib udevadm hwdb - -update</userinput></screen>--> <screen><userinput>udevadm hwdb --update</userinput></screen> <para>This command needs to be run each time the hardware information is |