mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
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:
parent
a21eb83210
commit
a0fcc028b4
@ -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
|
||||||
|
@ -21,6 +21,10 @@ Install Glibc by running the following commands:
|
|||||||
> tmp~ &&</userinput>
|
> tmp~ &&</userinput>
|
||||||
<userinput>mv tmp~ ../glibc-2.2.1/malloc/Makefile &&
|
<userinput>mv tmp~ ../glibc-2.2.1/malloc/Makefile &&
|
||||||
</userinput>
|
</userinput>
|
||||||
|
<userinput>sed "s/root/0/" ../glibc-2.2.1/login/Makefile
|
||||||
|
> tmp~ && </userinput>
|
||||||
|
<userinput>mv tmp~ ../glibc-2.2.1/login/Makefile &&
|
||||||
|
</userinput>
|
||||||
<userinput>../glibc-2.2.1/configure \</userinput>
|
<userinput>../glibc-2.2.1/configure \</userinput>
|
||||||
<userinput> --prefix=/usr --enable-add-ons
|
<userinput> --prefix=/usr --enable-add-ons
|
||||||
\</userinput>
|
\</userinput>
|
||||||
@ -34,8 +38,6 @@ Install Glibc by running the following commands:
|
|||||||
<userinput>make &&</userinput>
|
<userinput>make &&</userinput>
|
||||||
<userinput>make install &&</userinput>
|
<userinput>make install &&</userinput>
|
||||||
<userinput>make localedata/install-locales &&</userinput>
|
<userinput>make localedata/install-locales &&</userinput>
|
||||||
<userinput>cp login/pt_chown /usr/bin &&</userinput>
|
|
||||||
<userinput>chmod 4755 /usr/bin/pt_chown</userinput>
|
|
||||||
|
|
||||||
</literallayout></blockquote>
|
</literallayout></blockquote>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user