git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@496 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Gerard Beekmans 2001-04-14 03:14:54 +00:00
parent 8703c62e3f
commit 21651dc45e
2 changed files with 12 additions and 10 deletions

View File

@ -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>

View File

@ -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~ &amp;&amp;</userinput> \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;configure &gt; tmp~
&amp;&amp;</userinput>
<userinput>mv tmp~ configure &amp;&amp;</userinput> <userinput>mv tmp~ configure &amp;&amp;</userinput>
<userinput>chmod 755 configure &amp;&amp;</userinput> <userinput>chmod 755 configure &amp;&amp;</userinput>
<userinput>./configure -default &amp;&amp;</userinput> <userinput>./configure -default &amp;&amp;</userinput>
<userinput>make &amp;&amp;</userinput> <userinput>make &amp;&amp;</userinput>
<userinput>make install &amp;&amp;</userinput> <userinput>make install &amp;&amp;</userinput>
<userinput>sed s/AWK=/"AWK=\/usr\/bin\/mawk"/ /usr/sbin/makewhatis <userinput>sed s/AWK=/"AWK=\/usr\/bin\/mawk"/
\</userinput>
<userinput>&nbsp;&nbsp;&nbsp;/usr/sbin/makewhatis
&gt; makewhatis-new &amp;&amp;</userinput> &gt; makewhatis-new &amp;&amp;</userinput>
<userinput>mv makewhatis-new /usr/sbin/makewhatis &amp;&amp; <userinput>mv makewhatis-new /usr/sbin/makewhatis &amp;&amp;
</userinput> </userinput>