Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/util-linux.xml

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