Last change
on this file since 9eae0a0 was 9eae0a0, checked in by Andrew Bradford <andrew@…>, 12 years ago |
Move mkdir build-dir to materials
There was only 1 page for creating the build dir as it used to be
creating a partition (which isn't needed for embedded) but it fits
better within materials as that's where ${CLFS}/cross-tools/sources gets
created anyway. Let's keep it all together.
|
-
Property mode
set to
100644
|
File size:
989 bytes
|
Line | |
---|
1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 | ]>
|
---|
7 |
|
---|
8 | <sect1 id="ch-materials-creatingbuilddir">
|
---|
9 | <?dbhtml filename="creatingbuilddir.html"?>
|
---|
10 |
|
---|
11 | <title>Creating a Build Directory</title>
|
---|
12 |
|
---|
13 | <para> Create a directory for the CLFS build (the exact location is up to
|
---|
14 | you): </para>
|
---|
15 |
|
---|
16 | <screen><userinput>mkdir -p /mnt/clfs</userinput></screen>
|
---|
17 |
|
---|
18 | <para>Assign it to the <envar>CLFS</envar> environment variable:</para>
|
---|
19 |
|
---|
20 | <screen><userinput>export CLFS=/mnt/clfs</userinput></screen>
|
---|
21 |
|
---|
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>
|
---|
24 |
|
---|
25 | <screen><userinput>chmod 777 ${CLFS}</userinput></screen>
|
---|
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.