MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 4 - Entering the Chroot and More Temporary Tools

Navigation    
« Util-Linux 64-bit HOME Cleaning up and Archiving Temporary System »

Util-Linux 32-bit

Name: Util-Linux 32-bit
Summary: Miscellaneous command-line utilities - 32-bit build
License: GPL v2 or later
Version: 2.41.1
URL: https://www.kernel.org/pub/linux/utils/util-linux/v2.41/util-linux-2.41.1.tar.xz

Configuration

To configure Util Linux 32-bir for install into the build root, run the following command:

CC="gcc -m32" \
./configure --host=i686-midgardos-linux-gnu           \
            --libdir=/usr/lib                         \
            --libexecdir=/usr/lib                     \
            --runstatedir=/run                        \
            --docdir=/usr/share/doc/util-linux-2.41.1 \
            --disable-chfn-chsh                       \
            --disable-login                           \
            --disable-nologin                         \
            --disable-su                              \
            --disable-setpriv                         \
            --disable-runuser                         \
            --disable-pylibmount                      \
            --disable-static                          \
            --disable-liblastlog2                     \
            --without-python                          \
            ADJTIME_PATH=/var/lib/hwclock/adjtime

Compilation and Installation

To compile Util-Linux 32-bit, run the following command:

make

Finally, to install Util-Linux 32-bit into the build tree, run the following command:

make DESTDIR=$(pwd)/DESTDIR install
cp -Rv DESTDIR/usr/lib/* /usr/lib/

More details about this package is covered later in the core system build.

Navigation    
« Util-Linux 64-bit HOME Cleaning up and Archiving Temporary System »