mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
Updates
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@496 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
8703c62e3f
commit
21651dc45e
@ -4,10 +4,9 @@
|
|||||||
<para>
|
<para>
|
||||||
When we have entered the chroot'ed environment in the next section we
|
When we have entered the chroot'ed environment in the next section we
|
||||||
want to export a couple of environment variables in that shell such as
|
want to export a couple of environment variables in that shell such as
|
||||||
PS1, PATH and others variables a user wants to have set. For that
|
PS1, PATH and others variables which are good to have set. For that
|
||||||
purpose we'll
|
purpose we'll create the $LFS/root/.bash_profile file which will be read
|
||||||
create the $LFS/root/.bash_profile file which will be read by bash when we
|
by bash when we enter the chroot environment.
|
||||||
enter the chroot environment.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
@ -31,9 +30,8 @@ export PS1 PATH
|
|||||||
</literallayout>
|
</literallayout>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
More environment variables,aliases and whatever else is
|
Additional environment variables, aliases and so forth that are
|
||||||
needed/wanted can be added at the users own discretion
|
needed and/or wanted can be added at your own discretion.
|
||||||
as he deems them necessary.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
|
@ -7,14 +7,18 @@ Install Man by running the following commands:
|
|||||||
|
|
||||||
<blockquote><literallayout>
|
<blockquote><literallayout>
|
||||||
|
|
||||||
<userinput>sed -e 's|in \(.*\$PATH\)|in `echo \1`|'
|
<userinput>sed -e 's|in \(.*\$PATH\)|in `echo \1`|'
|
||||||
configure > tmp~ &&</userinput>
|
\</userinput>
|
||||||
|
<userinput> configure > tmp~
|
||||||
|
&&</userinput>
|
||||||
<userinput>mv tmp~ configure &&</userinput>
|
<userinput>mv tmp~ configure &&</userinput>
|
||||||
<userinput>chmod 755 configure &&</userinput>
|
<userinput>chmod 755 configure &&</userinput>
|
||||||
<userinput>./configure -default &&</userinput>
|
<userinput>./configure -default &&</userinput>
|
||||||
<userinput>make &&</userinput>
|
<userinput>make &&</userinput>
|
||||||
<userinput>make install &&</userinput>
|
<userinput>make install &&</userinput>
|
||||||
<userinput>sed s/AWK=/"AWK=\/usr\/bin\/mawk"/ /usr/sbin/makewhatis
|
<userinput>sed s/AWK=/"AWK=\/usr\/bin\/mawk"/
|
||||||
|
\</userinput>
|
||||||
|
<userinput> /usr/sbin/makewhatis
|
||||||
> makewhatis-new &&</userinput>
|
> makewhatis-new &&</userinput>
|
||||||
<userinput>mv makewhatis-new /usr/sbin/makewhatis &&
|
<userinput>mv makewhatis-new /usr/sbin/makewhatis &&
|
||||||
</userinput>
|
</userinput>
|
||||||
|
Loading…
Reference in New Issue
Block a user