Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/util-linux.xml

    r1f460e5 ra5c2803  
    116116  </sect2>
    117117
     118  <!-- - - - - - - - - - -->
     119  <!-- Multilib - 32bit  -->
     120  <!-- - - - - - - - - - -->
     121 
     122  <sect2 arch="ml_32,ml_all" role="installation">
     123    <title>Installation of Util-linux - 32-bit</title>
     124
     125    <para>Clean previous build:</para>
     126
     127<screen><userinput remap="pre">make distclean</userinput></screen>
     128
     129    <para>Prepare Util-linux for compilation:</para>
     130
     131<screen><userinput remap="configure">CC="gcc -m32" \
     132./configure ADJTIME_PATH=/var/lib/hwclock/adjtime    \
     133            --docdir=/usr/share/doc/util-linux-&util-linux-version; \
     134            --disable-chfn-chsh  \
     135            --disable-login      \
     136            --disable-nologin    \
     137            --disable-su         \
     138            --disable-setpriv    \
     139            --disable-runuser    \
     140            --disable-pylibmount \
     141            --disable-static     \
     142            --without-python     \
     143            --libdir=&usr-lib-m32;      \
     144            --host=i686-pc-linux-gnu</userinput></screen>
     145
     146    <para>Compile the package:</para>
     147
     148<screen><userinput remap="make">make</userinput></screen>
     149
     150    <para>Install the package:</para>
     151
     152<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
     153cp -Rv DESTDIR&usr-lib-m32;/* &usr-lib-m32;
     154rm -rf DESTDIR</userinput></screen>
     155
     156  </sect2><!-- m32 -->
     157
     158  <!-- - - - - - - - - - -->
     159  <!-- Multilib - x32bit -->
     160  <!-- - - - - - - - - - -->
     161 
     162  <sect2 arch="ml_x32,ml_all" role="installation">
     163    <title>Installation of Util-linux - x32-bit</title>
     164
     165    <para>Clean previous build:</para>
     166
     167<screen><userinput remap="pre">make distclean</userinput></screen>
     168
     169    <para>Prepare Util-linux for compilation:</para>
     170
     171<screen><userinput remap="configure">CC="gcc -mx32" \
     172./configure ADJTIME_PATH=/var/lib/hwclock/adjtime    \
     173            --docdir=/usr/share/doc/util-linux-&util-linux-version; \
     174            --disable-chfn-chsh  \
     175            --disable-login      \
     176            --disable-nologin    \
     177            --disable-su         \
     178            --disable-setpriv    \
     179            --disable-runuser    \
     180            --disable-pylibmount \
     181            --disable-static     \
     182            --without-python     \
     183            --libdir=&usr-lib-mx32; \
     184            --host=x86_64-pc-linux-gnux32</userinput></screen>
     185
     186    <para>Compile the package:</para>
     187
     188<screen><userinput remap="make">make</userinput></screen>
     189
     190    <para>Install the package:</para>
     191
     192<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
     193cp -Rv DESTDIR&usr-lib-mx32;/* &usr-lib-mx32;
     194rm -rf DESTDIR</userinput></screen>
     195
     196  </sect2><!-- mx32 -->
     197
    118198  <sect2 role="content">
    119199    <title/>
Note: See TracChangeset for help on using the changeset viewer.