From 1f460e53b4186579f9ec20622356910580663ab3 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Wed, 3 Feb 2021 09:03:51 +0000 Subject: [PATCH] ch{07,08}/util-linux: remove redundant command git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12121 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter07/util-linux.xml | 7 +++++-- chapter08/util-linux.xml | 8 -------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/chapter07/util-linux.xml b/chapter07/util-linux.xml index 7c11642fe..2c81aaece 100644 --- a/chapter07/util-linux.xml +++ b/chapter07/util-linux.xml @@ -41,8 +41,11 @@ Installation of Util-linux - First create a directory - to enable storage for the hwclock program: + The FHS recommends using the /var/lib/hwclock directory instead of the + usual /etc directory as the + location for the adjtime file. Create this directory + with: mkdir -pv /var/lib/hwclock diff --git a/chapter08/util-linux.xml b/chapter08/util-linux.xml index 7e61e6c6d..a7d3d61f4 100644 --- a/chapter08/util-linux.xml +++ b/chapter08/util-linux.xml @@ -42,14 +42,6 @@ Installation of Util-linux - The FHS recommends using the /var/lib/hwclock directory instead of the - usual /etc directory as the - location for the adjtime file. Create this directory - with: - -mkdir -pv /var/lib/hwclock - Prepare Util-linux for compilation: ./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \