Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/util-linux.xml

    r1f460e5 ra5c2803  
    102102
    103103  </sect2>
     104
     105  <!-- - - - - - - - - - -->
     106  <!-- Multilib - 32bit  -->
     107  <!-- - - - - - - - - - -->
     108 
     109  <sect2 arch="ml_32,ml_all" role="installation">
     110    <title>Installation of Util-linux - 32-bit</title>
     111
     112    <para>Clean previous build:</para>
     113
     114<screen><userinput remap="pre">make distclean</userinput></screen>
     115
     116    <para>Prepare Util-linux for compilation:</para>
     117
     118<screen revision="sysv"><userinput remap="configure">CC="gcc -m32" \
     119./configure ADJTIME_PATH=/var/lib/hwclock/adjtime   \
     120            --docdir=/usr/share/doc/util-linux-&util-linux-version; \
     121            --disable-chfn-chsh      \
     122            --disable-login          \
     123            --disable-nologin        \
     124            --disable-su             \
     125            --disable-setpriv        \
     126            --disable-runuser        \
     127            --disable-pylibmount     \
     128            --disable-static         \
     129            --without-python         \
     130            --without-systemd        \
     131            --libdir=&usr-lib-m32;      \
     132            --host=i686-pc-linux-gnu \
     133            --without-systemdsystemunitdir \
     134            --enable-libmount-force-mountinfo</userinput></screen>
     135
     136<screen revision="systemd"><userinput remap="configure">CC="gcc -m32" \
     137./configure ADJTIME_PATH=/var/lib/hwclock/adjtime   \
     138            --docdir=/usr/share/doc/util-linux-&util-linux-version; \
     139            --disable-chfn-chsh      \
     140            --disable-login          \
     141            --disable-nologin        \
     142            --disable-su             \
     143            --disable-setpriv        \
     144            --disable-runuser        \
     145            --disable-pylibmount     \
     146            --disable-static         \
     147            --without-python         \
     148            --libdir=&usr-lib-m32;      \
     149            --host=i686-pc-linux-gnu \
     150            --enable-libmount-force-mountinfo</userinput></screen>
     151
     152    <para>Compile the package:</para>
     153
     154<screen><userinput remap="make">make</userinput></screen>
     155
     156    <para>Install the package:</para>
     157
     158<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
     159cp -Rv DESTDIR&usr-lib-m32;/* &usr-lib-m32;
     160rm -rf DESTDIR</userinput></screen>
     161
     162  </sect2><!-- m32 -->
     163
     164  <!-- - - - - - - - - - -->
     165  <!-- Multilib - x32bit -->
     166  <!-- - - - - - - - - - -->
     167 
     168  <sect2 arch="ml_x32,ml_all" role="installation">
     169    <title>Installation of Util-linux - x32-bit</title>
     170
     171    <para>Clean previous build:</para>
     172
     173<screen><userinput remap="pre">make distclean</userinput></screen>
     174
     175    <para>Prepare Util-linux for compilation:</para>
     176
     177<screen revision="sysv"><userinput remap="configure">CC="gcc -mx32" \
     178./configure ADJTIME_PATH=/var/lib/hwclock/adjtime   \
     179            --docdir=/usr/share/doc/util-linux-&util-linux-version; \
     180            --disable-chfn-chsh  \
     181            --disable-login      \
     182            --disable-nologin    \
     183            --disable-su         \
     184            --disable-setpriv    \
     185            --disable-runuser    \
     186            --disable-pylibmount \
     187            --disable-static     \
     188            --without-python     \
     189            --without-systemd    \
     190            --without-systemdsystemunitdir \
     191            --libdir=&usr-lib-mx32; \
     192            --host=x86_64-pc-linux-gnux32 \
     193            --enable-libmount-force-mountinfo</userinput></screen>
     194
     195<screen revision="systemd"><userinput remap="configure">CC="gcc -mx32" \
     196./configure ADJTIME_PATH=/var/lib/hwclock/adjtime   \
     197            --docdir=/usr/share/doc/util-linux-&util-linux-version; \
     198            --disable-chfn-chsh  \
     199            --disable-login      \
     200            --disable-nologin    \
     201            --disable-su         \
     202            --disable-setpriv    \
     203            --disable-runuser    \
     204            --disable-pylibmount \
     205            --disable-static     \
     206            --without-python     \
     207            --libdir=&usr-lib-mx32; \
     208            --host=x86_64-pc-linux-gnux32 \
     209            --enable-libmount-force-mountinfo</userinput></screen>
     210
     211    <para>Compile the package:</para>
     212
     213<screen><userinput remap="make">make</userinput></screen>
     214
     215    <para>Install the package:</para>
     216
     217<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
     218cp -Rv DESTDIR&usr-lib-mx32;/* &usr-lib-mx32;
     219rm -rf DESTDIR</userinput></screen>
     220
     221  </sect2><!-- mx32 -->
    104222
    105223  <sect2 id="contents-utillinux" role="content">
Note: See TracChangeset for help on using the changeset viewer.