mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-13 07:29:10 +08:00
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1871 af4574ff-66df-0310-9fd7-8a98e5e911e0
24 lines
944 B
XML
24 lines
944 B
XML
<sect2>
|
|
<title>Installation of <application>hdparm</application></title>
|
|
|
|
<para>First apply the required patch:</para>
|
|
|
|
<screen><userinput><command>patch -Np1 -i ../hdparm-&hdparm-version;-glibc_CVS-1.patch</command></userinput></screen>
|
|
|
|
<para>Install <application>hdparm</application> by running the following commands:</para>
|
|
|
|
<screen><userinput><command>make &&
|
|
make install</command></userinput></screen>
|
|
|
|
<para>Note that by default, <command>hdparm</command> is installed in
|
|
<filename class="directory">/sbin</filename> as some systems may require it
|
|
during the boot process before <filename class="directory">/usr</filename>
|
|
is mounted. If you wish to install <command>hdparm</command> under the
|
|
<filename class="directory">/usr</filename> hierarchy, then replace the above
|
|
commands with the following:</para>
|
|
|
|
<screen><userinput><command>make &&
|
|
make binprefix=/usr install</command></userinput></screen>
|
|
|
|
</sect2>
|