docs/manual: do not suggest to create a symlink for shared download directory

Creating a symbolic link for the download directory is really not a
useful suggestion, since we have the much better solution of the
BUILDROOT_DL_DIR environment variable. So emphasize this solution
instead, and remove the suggestion of the symbolic link.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Thomas Petazzoni 2012-12-29 04:42:33 +00:00 committed by Peter Korsgaard
parent 961cc7a497
commit 8850c52217

View File

@ -3,25 +3,18 @@
Location of downloaded packages Location of downloaded packages
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The various tarballs that are downloaded by Buildroot are all stored in The various tarballs that are downloaded by Buildroot are all stored
+DL_DIR+, which by default is the +dl+ directory. If you want in +BR2_DL_DIR+, which by default is the +dl+ directory. If you want
to keep a complete version of Buildroot which is known to be working to keep a complete version of Buildroot which is known to be working
with the associated tarballs, you can make a copy of this directory. with the associated tarballs, you can make a copy of this directory.
This will allow you to regenerate the toolchain and the target filesystem This will allow you to regenerate the toolchain and the target
with exactly the same versions. filesystem with exactly the same versions.
If you maintain several Buildroot trees, it might be better to have a If you maintain several Buildroot trees, it might be better to have a
shared download location. This can be accessed by creating a symbolic shared download location. This can be achieved by pointing the
link from the +dl+ directory to the shared download location: +BUILDROOT_DL_DIR+ environment variable to a directory. If this is
set, then the value of +BR2_DL_DIR+ in the Buildroot configuration is
----------------- overridden. The following line should be added to +<~/.bashrc>+.
$ ln -s <shared download location> dl
-----------------
Another way of accessing a shared download location is to create the
+BUILDROOT_DL_DIR+ environment variable. If this is set, then the
value of DL_DIR in the project is overridden. The following line
should be added to +<~/.bashrc>+.
----------------- -----------------
$ export BUILDROOT_DL_DIR <shared download location> $ export BUILDROOT_DL_DIR <shared download location>