Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/util-linux.xml

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