| Newsgroups |
gmane.linux.lfs.book |
| Message-ID |
<[email protected]> |
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch multilib
in repository lfs.
commit 8cec3ca120e6441ef8e459b5753e63e4a48df2ef
Merge: 7cd5c8612 454448912
Author: Zeckmathederg <[email protected]>
AuthorDate: Wed Oct 1 17:28:09 2025 -0600
Merge branch 'trunk' into multilib
chapter01/changelog.xml | 42 +++++++++++++++++++++++++++++++++++++
chapter01/whatsnew.xml | 25 +++++++++++-----------
chapter03/patches.xml | 8 -------
chapter08/coreutils.xml | 4 ----
chapter08/util-linux.xml | 15 +++-----------
chapter08/vim.xml | 2 ++
packages.ent | 54 ++++++++++++++++++++++++------------------------
patches.ent | 10 +++------
8 files changed, 90 insertions(+), 70 deletions(-)
diff --cc chapter08/util-linux.xml
index 4ceeef9a2,5f5ec69b9..46e420557
--- a/chapter08/util-linux.xml
+++ b/chapter08/util-linux.xml
@@@ -136,157 -131,9 +131,153 @@@ su tester -c "make -k check"</userinput
<para>Install the package:</para>
<screen><userinput remap="install">make install</userinput></screen>
- <!--
- <para>Finally, install the man pages:</para>
-
- <screen><userinput remap="install">tar -xf ../util-linux-man-pages-&util-linux-version;.tar.xz - -directory /usr/share/man - -strip-components=1</userinput></screen>
- -->
+
</sect2>
+ <!-- - - - - - - - - - -->
+ <!-- Multilib - 32bit -->
+ <!-- - - - - - - - - - -->
+
+ <sect2 arch="ml_32,ml_all" role="installation">
+ <title>Installation of Util-linux - 32-bit</title>
+
+ <para>Clean previous build:</para>
+
+<screen><userinput remap="pre">make distclean</userinput></screen>
+
+ <para>Move a tool out of the way which is optionally used by
+ configure but will report invalid paths for multilib builds.</para>
+
+<screen><userinput remap="configure">mv /usr/bin/ncursesw6-config{,.tmp}</userinput></screen>
+
+ <para>Prepare Util-linux for compilation:</para>
+
+<screen revision="sysv"><userinput remap="configure">CC="gcc -m32" \
+./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
+ --host=i686-pc-linux-gnu \
+ --libdir=/usr/lib32 \
+ --runstatedir=/run \
+ --sbindir=/usr/sbin \
+ --docdir=/usr/share/doc/util-linux-&util-linux-version; \
+ --disable-chfn-chsh \
+ --disable-login \
+ --disable-nologin \
+ --disable-su \
+ --disable-setpriv \
+ --disable-runuser \
+ --disable-pylibmount \
+ --disable-liblastlog2 \
+ --disable-static \
+ --without-python \
+ --without-systemd \
+ --without-systemdsystemunitdir</userinput></screen>
+
+<screen revision="systemd"><userinput remap="configure">CC="gcc -m32" \
+./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
+ --host=i686-pc-linux-gnu \
+ --libdir=/usr/lib32 \
+ --runstatedir=/run \
+ --sbindir=/usr/sbin \
+ --docdir=/usr/share/doc/util-linux-&util-linux-version; \
+ --disable-chfn-chsh \
+ --disable-login \
+ --disable-nologin \
+ --disable-su \
+ --disable-setpriv \
+ --disable-runuser \
+ --disable-pylibmount \
+ --disable-liblastlog2 \
+ --disable-static \
+ --without-python</userinput></screen>
+
+ <para>Restore the tool previously moved away:</para>
+
+<screen><userinput remap="configure">mv /usr/bin/ncursesw6-config{.tmp,}</userinput></screen>
+
+ <para>Compile the package:</para>
+
+<screen><userinput remap="make">make</userinput></screen>
+
+ <para>Install the package:</para>
+
+<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
+cp -Rv DESTDIR/usr/lib32/* /usr/lib32
+rm -rf DESTDIR</userinput></screen>
+
+ </sect2><!-- m32 -->
+
+ <!-- - - - - - - - - - -->
+ <!-- Multilib - x32bit -->
+ <!-- - - - - - - - - - -->
+
+ <sect2 arch="ml_x32,ml_all" role="installation">
+ <title>Installation of Util-linux - x32-bit</title>
+
+ <para>Clean previous build:</para>
+
+<screen><userinput remap="pre">make distclean</userinput></screen>
+
+ <para>Move a tool out of the way which is optionally used by
+ configure but will report invalid paths for multilib builds.</para>
+
+<screen><userinput remap="configure">mv /usr/bin/ncursesw6-config{,.tmp}</userinput></screen>
+
+ <para>Prepare Util-linux for compilation:</para>
+
+<screen revision="sysv"><userinput remap="configure">CC="gcc -mx32" \
+./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
+ --host=x86_64-pc-linux-gnux32 \
+ --libdir=/usr/libx32 \
+ --runstatedir=/run \
+ --sbindir=/usr/sbin \
+ --docdir=/usr/share/doc/util-linux-&util-linux-version; \
+ --disable-chfn-chsh \
+ --disable-login \
+ --disable-nologin \
+ --disable-su \
+ --disable-setpriv \
+ --disable-runuser \
+ --disable-pylibmount \
+ --disable-liblastlog2 \
+ --disable-static \
+ --without-python \
+ --without-systemd \
+ --without-systemdsystemunitdir</userinput></screen>
+
+<screen revision="systemd"><userinput remap="configure">CC="gcc -mx32" \
+./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
+ --host=x86_64-pc-linux-gnux32 \
+ --libdir=/usr/libx32 \
+ --runstatedir=/run \
+ --sbindir=/usr/sbin \
+ --docdir=/usr/share/doc/util-linux-&util-linux-version; \
+ --disable-chfn-chsh \
+ --disable-login \
+ --disable-nologin \
+ --disable-su \
+ --disable-setpriv \
+ --disable-runuser \
+ --disable-pylibmount \
+ --disable-liblastlog2 \
+ --disable-static \
+ --without-python</userinput></screen>
+
+ <para>Restore the tool previously moved away:</para>
+
+<screen><userinput remap="configure">mv /usr/bin/ncursesw6-config{.tmp,}</userinput></screen>
+
+ <para>Compile the package:</para>
+
+<screen><userinput remap="make">make</userinput></screen>
+
+ <para>Install the package:</para>
+
+<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
+cp -Rv DESTDIR/usr/libx32/* /usr/libx32
+rm -rf DESTDIR</userinput></screen>
+
+ </sect2><!-- mx32 -->
+
<sect2 id="contents-utillinux" role="content">
<title>Contents of Util-linux</title>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
--
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page