Correction in Local mirror location

Corrected HOST_MIRROR_DIR build env variable.
Updated the README.rst file as well.

Closes-Bug: 1874160
Change-Id: Ib1144c858bbe9fd71b56ac97382cb4c571fd8dbd
Signed-off-by: Poornima <poornima.y.n@intel.com>
This commit is contained in:
Poornima 2020-04-20 04:23:39 +05:30
parent fc97f35c32
commit 8bee170484
2 changed files with 2 additions and 2 deletions

View File

@ -202,7 +202,7 @@ before starting the container.
Set the mirror directory to the shared mirror pointed to by
``HOST_MIRROR_DIR``. The mirror is LARGE, if you are on a shared machine
use the shared mirror. For example you could set the default value for
``HOST_MIRROR_DIR`` to ``/home/starlingx/mirror`` and share it.
``HOST_MIRROR_DIR`` to ``$HOME/starlingx/mirror`` and share it.
Running the Container
~~~~~~~~~~~~~~~~~~~~~

View File

@ -34,7 +34,7 @@ fi
export USER=${USER:-$(id -un)}
# Local mirror location
HOST_MIRROR_DIR=${HOST_MIRROR_DIR:-/home/starlingx/mirror}
HOST_MIRROR_DIR=${HOST_MIRROR_DIR:-${HOME}/starlingx/mirror}
# The root of an individual build workspace