Cross-Compiled Linux From Scratch - Version GIT-20170803-Sparc64-Multilib

Chapter 10. Installing Basic System Software

10.39. Util-linux-2.29.2 32 Bit

The Util-linux package contains miscellaneous utility programs. Among them are utilities for handling file systems, consoles, partitions, and messages.

10.39.1. Installation of Util-linux

Prepare Util-linux for compilation:

CC="gcc ${BUILD32}" ./configure \
 ADJTIME_PATH=/var/lib/hwclock/adjtime \
 --libdir=/lib \
 --enable-write \
 --disable-chfn-chsh \
 --disable-login \
 --disable-nologin \
 --disable-su \
 --disable-setpriv \
 --disable-runuser \
 --docdir=/usr/share/doc/util-linux-2.29.2

The meaning of the configure options:

--enable-write

This option allows the write program to be installed.

--disable-*

This option disables various programs

Compile the package:

make

To test the results, issue:

chown -Rv nobody . &&
su nobody -s /bin/bash -c "PATH=$PATH make -k check"

Install the package:

make install

Details on this package are located in Section 10.97.3, “Contents of Util-linux.”

AltStyle によって変換されたページ (->オリジナル) /