source:
clfs-embedded/BOOK/create-dir/creatingbuilddir.xml@
97afd01
Last change on this file since 97afd01 was c3d3c32, checked in by , 11 years ago | |
---|---|
|
|
File size: 987 bytes |
Rev | Line | |
---|---|---|
[a9e389d] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
[bd48e48] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" |
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ | |
[2116d25] | 4 | <!ENTITY % general-entities SYSTEM "../general.ent"> |
[a9e389d] | 5 | %general-entities; |
6 | ]> | |
7 | ||
[2116d25] | 8 | <sect1 id="ch-partitioning-creatingbuilddir"> |
9 | <?dbhtml filename="creatingbuilddir.html"?> | |
[a9e389d] | 10 | |
[60efb6b] | 11 | <title>Creating a Build Directory</title> |
[a9e389d] | 12 | |
[60efb6b] | 13 | <para> Create a directory for the CLFS build (the exact location is up to |
14 | you): </para> | |
[a9e389d] | 15 | |
[60efb6b] | 16 | <screen><userinput>mkdir -p /mnt/clfs</userinput></screen> |
[a9e389d] | 17 | |
[60efb6b] | 18 | <para>Assign it to the <envar>CLFS</envar> environment variable:</para> |
[a9e389d] | 19 | |
[60efb6b] | 20 | <screen><userinput>export CLFS=/mnt/clfs</userinput></screen> |
[a9e389d] | 21 | |
[60efb6b] | 22 | <para>Ensure that this new directory has permissions that are too restrictive |
23 | such that you can write to it as a non-root user.</para> | |
[a9e389d] | 24 | |
[60efb6b] | 25 | <screen><userinput>chmod 777 $CLFS</userinput></screen> |
[a9e389d] | 26 | |
27 | <para>Now that there is an established place to work, it is time to | |
28 | download the packages.</para> | |
29 | ||
30 | </sect1> |
Note:
See TracBrowser
for help on using the repository browser.