clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since cedcdaa was cedcdaa, checked in by Jim Gifford <clfs@…>, 19 years ago |
r789@server (orig r787): jim | 2005-12-01 14:15:03 -0800
r853@server: jim | 2005-12-01 14:14:46 -0800
Text Updates
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 | ]>
|
---|
7 |
|
---|
8 | <sect1 id="ch-boot-settingenviron">
|
---|
9 | <?dbhtml filename="settingenvironment.html"?>
|
---|
10 |
|
---|
11 | <title>Setting Up the Environment</title>
|
---|
12 |
|
---|
13 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
14 | href="../final-preps/settingenviron.xml"
|
---|
15 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
16 |
|
---|
17 | <screen os="b"><userinput>cat > ${LFS}/root/.bash_profile << "EOF"
|
---|
18 | <literal>PS1='\u:\w\$ '
|
---|
19 | LC_ALL=POSIX
|
---|
20 | PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin:/tools/sbin
|
---|
21 | export LC_ALL PATH PS1</literal>
|
---|
22 | EOF</userinput></screen>
|
---|
23 |
|
---|
24 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
25 | href="../final-preps/settingenviron.xml"
|
---|
26 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
27 |
|
---|
28 | <para os="i">By putting <filename class="directory">/tools/bin</filename> ahead
|
---|
29 | of the standard <envar>PATH</envar>, all the programs installed in
|
---|
30 | <xref linkend="chapter-temporary-tools"/> are picked up by the shell
|
---|
31 | immediately after their installation. This, combined with turning off
|
---|
32 | hashing, limits the risk that old programs from the host are being used
|
---|
33 | when they should not be used any longer.</para>
|
---|
34 |
|
---|
35 | </sect1>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.