From 4eee9ccd08265e8c4b74bbdaef8f3c0237e82e9c Mon Sep 17 00:00:00 2001 From: DJ Lucas Date: Wed, 21 Jul 2021 20:02:02 -0500 Subject: [PATCH] Ensure that glibc installs ldconfig and sln to /usr/sbin. --- chapter01/changelog.xml | 4 ++++ chapter05/glibc.xml | 6 ++++++ chapter08/glibc.xml | 6 ++++++ 3 files changed, 16 insertions(+) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index c340b26be..4455604cc 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -49,6 +49,10 @@ [dj] - Correct page IDs in Chapter 08 dejagnu, expect, and tcl. + + [dj] - Ensure that glibc installs ldconfig and sln to + /usr/sbin. + diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index 02ff025e2..d715d43cd 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -72,6 +72,12 @@ esac mkdir -v build cd build + Ensure that the ldconfig and sln + utilites are installed into + /usr/sbin: + +echo "rootsbindir=/usr/sbin" > configparms + Next, prepare Glibc for compilation: ../configure \ diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml index 9a3c45a04..e39efd95f 100644 --- a/chapter08/glibc.xml +++ b/chapter08/glibc.xml @@ -65,6 +65,12 @@ mkdir -v build cd build + Ensure that the ldconfig and sln + utilites are installed into + /usr/sbin: + +echo "rootsbindir=/usr/sbin" > configparms + Prepare Glibc for compilation: ../configure --prefix=/usr \