From 76a706e9bdeaf6e424f36d3f28cd661b15be241d Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sun, 16 Jun 2019 21:09:30 +0000 Subject: Update to vim-8.1.1535. Update to shadow-4.7. Update to linux-5.1.10. Update to less-551. Update to util-linux-2.34. Remove eudev instructions referring to /tools. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11619 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/eudev.xml | 20 +++++++++++++------- chapter06/vim.xml | 11 ++++++++++- 2 files changed, 23 insertions(+), 8 deletions(-) (limited to 'chapter06') diff --git a/chapter06/eudev.xml b/chapter06/eudev.xml index de2ba41c6..4342e2172 100644 --- a/chapter06/eudev.xml +++ b/chapter06/eudev.xml @@ -49,6 +49,7 @@ sed -i '/keyboard_lookup_key/d' src/udev/udev-builtin-keyboard.c --> + Prepare Eudev for compilation: ./configure --prefix=/usr \ @@ -69,11 +70,13 @@ EOF --with-rootprefix= \ --with-rootlibdir=/lib \ --enable-manpages \ - --disable-static \ - --config-cache + --disable-static + Compile the package: +make + Create some directories now that are needed for tests, but will also be used as a part of installation: @@ -90,11 +93,13 @@ mkdir -pv /etc/udev/rules.d To test the results, issue: -make LD_LIBRARY_PATH=/tools/lib check +make check + Install the package: -make LD_LIBRARY_PATH=/tools/lib install +make install + Install some custom rules and support files useful in an LFS environment: @@ -123,7 +128,8 @@ make -f &udev-lfs-version;/Makefile.lfs install into a binary database /etc/udev/hwdb.bin. Create the initial database: -LD_LIBRARY_PATH=/tools/lib udevadm hwdb --update + +udevadm hwdb --update This command needs to be run each time the hardware information is updated. diff --git a/chapter06/vim.xml b/chapter06/vim.xml index 04f6d9bd8..4d84df75f 100644 --- a/chapter06/vim.xml +++ b/chapter06/vim.xml @@ -66,7 +66,16 @@ make - To test the results, issue: + To prepare the tests, ensure that the + nobody user can write + to the sources tree: + +chown -Rv nobody . + + Now run the tests as the nobody user: + +su nobody -s /bin/bash -c "LANG=en_US.UTF-8 make -j1 test" &> vim-test.log LANG=en_US.UTF-8 make -j1 test &> vim-test.log -- cgit v1.2.3-54-g00ecf