Added a sed to install pt_chown without copying it ourself

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@374 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Thomas Balu Walter 2001-03-28 15:22:23 +00:00
parent a21eb83210
commit a0fcc028b4
2 changed files with 10 additions and 2 deletions

View File

@ -133,6 +133,12 @@ Chapter 6: Changed all "rm file && ln -s dest file" into
"ln -sf file" (in glibc, bzip2 and gzip installations). "ln -sf file" (in glibc, bzip2 and gzip installations).
</para></listitem> </para></listitem>
<listitem><para>
Chapter 6: Added a sed to fix a problem during glibc-installation.
pt_chown can not be installed setuid root, because "root" is not known by
glibc yet (kind of hen and egg-problem).
</para></listitem>
<listitem><para> <listitem><para>
Chapter 7: Fixed the delays in the killproc function in the functions Chapter 7: Fixed the delays in the killproc function in the functions
script. Now, after kill, first check PIDs, then sleep 2 if needed. More script. Now, after kill, first check PIDs, then sleep 2 if needed. More

View File

@ -21,6 +21,10 @@ Install Glibc by running the following commands:
&gt; tmp~ &amp;&amp;</userinput> &gt; tmp~ &amp;&amp;</userinput>
<userinput>mv tmp~ ../glibc-2.2.1/malloc/Makefile &amp;&amp; <userinput>mv tmp~ ../glibc-2.2.1/malloc/Makefile &amp;&amp;
</userinput> </userinput>
<userinput>sed "s/root/0/" ../glibc-2.2.1/login/Makefile
&gt; tmp~ &amp;&amp; </userinput>
<userinput>mv tmp~ ../glibc-2.2.1/login/Makefile &amp;&amp;
</userinput>
<userinput>../glibc-2.2.1/configure \</userinput> <userinput>../glibc-2.2.1/configure \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;--prefix=/usr --enable-add-ons <userinput>&nbsp;&nbsp;&nbsp;--prefix=/usr --enable-add-ons
\</userinput> \</userinput>
@ -34,8 +38,6 @@ Install Glibc by running the following commands:
<userinput>make &amp;&amp;</userinput> <userinput>make &amp;&amp;</userinput>
<userinput>make install &amp;&amp;</userinput> <userinput>make install &amp;&amp;</userinput>
<userinput>make localedata/install-locales &amp;&amp;</userinput> <userinput>make localedata/install-locales &amp;&amp;</userinput>
<userinput>cp login/pt_chown /usr/bin &amp;&amp;</userinput>
<userinput>chmod 4755 /usr/bin/pt_chown</userinput>
</literallayout></blockquote> </literallayout></blockquote>