Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/util-linux.xml

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