From 2ebc0d98fea24fe66291bdcf6bdc2cf11e4fece9 Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Mon, 4 Mar 2013 23:01:15 +0000 Subject: [PATCH] /etc/localtime needs to be a symlink for timedatectl to work git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10195 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 5 +++++ chapter06/glibc.xml | 19 +------------------ chapter07/introduction.xml | 5 +---- 3 files changed, 7 insertions(+), 22 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index fec47e18c..c7b2fff48 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -39,6 +39,11 @@ 2013-03-04 + + [matthew] - Make the /etc/localtime file a + symlink again, so that timedatectl displays the + timezone correctly. + [matthew] - Document how to configure the virtual console under Systemd. diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index 503c0159d..eae2da683 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -346,28 +346,11 @@ unset ZONEINFO Then create the /etc/localtime file by running: -cp -v --remove-destination /usr/share/zoneinfo/<xxx> \ - /etc/localtime +ln -s /etc/localtime /usr/share/zoneinfo/<xxx> Replace <xxx> with the name of the time zone selected (e.g., Canada/Eastern). - - The meaning of the cp option: - - - --remove-destination - - This is needed to force removal of the already existing symbolic - link. The reason for copying the file instead of using a symlink is to - cover the situation where /usr - is on a separate partition. This could be important when booted into - single user mode. - - - - - diff --git a/chapter07/introduction.xml b/chapter07/introduction.xml index c2aa3fe94..d9a58f875 100644 --- a/chapter07/introduction.xml +++ b/chapter07/introduction.xml @@ -34,15 +34,12 @@ - Third, configuring hostname, keyboard layout and system clock. + Third, configuring the hostname, and keyboard layout. - - -