Ignore:
Timestamp:
04/01/2019 05:00:45 PM (5 years ago)
Author:
Thomas Trepl <thomas@…>
Branches:
multilib-10.1
Children:
7d9f881
Parents:
1fa2099
Message:

First apply of multilib-patch of April 1st, 2019

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11566 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/util-linux.xml

    r1fa2099 r8eb3fe4  
    5353  </sect2>
    5454
     55  <!-- ~~~~~~~~~~~~~~~~~~~~~ default ABI ~~~~~~~~~~~~~~~~~~~~~ -->
    5556  <sect2 role="installation">
    5657    <title>Installation of Util-linux</title>
     
    119120
    120121<screen><userinput remap="install">make install</userinput></screen>
     122
     123  </sect2>
     124
     125  <!-- ~~~~~~~~~~~~~~~~~~~~~ ABI 32-bit ~~~~~~~~~~~~~~~~~~~~~ -->
     126  <sect2 arch="multilib" role="installation">
     127    <title>Installation of Util-linux - 32-bit</title>
     128
     129    <para>Clean previous build:</para>
     130
     131<screen><userinput remap="pre">make distclean</userinput></screen>
     132
     133    <para>Prepare Util-linux for compilation:</para>
     134
     135<screen revision="sysv"><userinput remap="configure">CC="gcc -m32" \
     136./configure ADJTIME_PATH=/var/lib/hwclock/adjtime   \
     137            --docdir=/usr/share/doc/util-linux-&util-linux-version; \
     138            --disable-chfn-chsh      \
     139            --disable-login          \
     140            --disable-nologin        \
     141            --disable-su             \
     142            --disable-setpriv        \
     143            --disable-runuser        \
     144            --disable-pylibmount     \
     145            --disable-static         \
     146            --without-python         \
     147            --without-systemd        \
     148            --libdir=/usr/lib32      \
     149            --host=i686-pc-linux-gnu \
     150            --without-systemdsystemunitdir \
     151            --enable-libmount-force-mountinfo</userinput></screen>
     152
     153<screen revision="systemd"><userinput remap="configure">CC="gcc -m32" \
     154./configure ADJTIME_PATH=/var/lib/hwclock/adjtime   \
     155            --docdir=/usr/share/doc/util-linux-&util-linux-version; \
     156            --disable-chfn-chsh      \
     157            --disable-login          \
     158            --disable-nologin        \
     159            --disable-su             \
     160            --disable-setpriv        \
     161            --disable-runuser        \
     162            --disable-pylibmount     \
     163            --disable-static         \
     164            --without-python         \
     165            --libdir=/usr/lib32      \
     166            --host=i686-pc-linux-gnu \
     167            --enable-libmount-force-mountinfo</userinput></screen>
     168
     169    <para>Compile the package:</para>
     170
     171<screen><userinput remap="make">make</userinput></screen>
     172
     173    <para>Install the package:</para>
     174
     175<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
     176cp -Rv DESTDIR/usr/lib32/* /usr/lib32
     177rm -rf DESTDIR</userinput></screen>
     178
     179  </sect2>
     180
     181  <!-- ~~~~~~~~~~~~~~~~~~~~~ ABI x32-bit ~~~~~~~~~~~~~~~~~~~~~ -->
     182  <sect2 arch="multilib" role="installation">
     183    <title>Installation of Util-linux - x32-bit</title>
     184
     185    <para>Clean previous build:</para>
     186
     187<screen><userinput remap="pre">make distclean</userinput></screen>
     188
     189    <para>Prepare Util-linux for compilation:</para>
     190
     191<screen revision="sysv"><userinput remap="configure">CC="gcc -mx32" \
     192./configure ADJTIME_PATH=/var/lib/hwclock/adjtime   \
     193            --docdir=/usr/share/doc/util-linux-&util-linux-version; \
     194            --disable-chfn-chsh  \
     195            --disable-login      \
     196            --disable-nologin    \
     197            --disable-su         \
     198            --disable-setpriv    \
     199            --disable-runuser    \
     200            --disable-pylibmount \
     201            --disable-static     \
     202            --without-python     \
     203            --without-systemd    \
     204            --without-systemdsystemunitdir \
     205            --libdir=/usr/libx32  \
     206            --host=x86_64-pc-linux-gnux32 \
     207            --enable-libmount-force-mountinfo</userinput></screen>
     208
     209<screen revision="systemd"><userinput remap="configure">CC="gcc -mx32" \
     210./configure ADJTIME_PATH=/var/lib/hwclock/adjtime   \
     211            --docdir=/usr/share/doc/util-linux-&util-linux-version; \
     212            --disable-chfn-chsh  \
     213            --disable-login      \
     214            --disable-nologin    \
     215            --disable-su         \
     216            --disable-setpriv    \
     217            --disable-runuser    \
     218            --disable-pylibmount \
     219            --disable-static     \
     220            --without-python     \
     221            --libdir=/usr/libx32 \
     222            --host=x86_64-pc-linux-gnux32 \
     223            --enable-libmount-force-mountinfo</userinput></screen>
     224
     225    <para>Compile the package:</para>
     226
     227<screen><userinput remap="make">make</userinput></screen>
     228
     229    <para>Install the package:</para>
     230
     231<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
     232cp -Rv DESTDIR/usr/libx32/* /usr/libx32
     233rm -rf DESTDIR</userinput></screen>
    121234
    122235  </sect2>
Note: See TracChangeset for help on using the changeset viewer.