From 8bee1704848debc04941f87235c1ed8d97646826 Mon Sep 17 00:00:00 2001 From: Poornima Date: Mon, 20 Apr 2020 04:23:39 +0530 Subject: [PATCH] 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 --- README.rst | 2 +- buildrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 5206b3bc..330b4d41 100644 --- a/README.rst +++ b/README.rst @@ -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 ~~~~~~~~~~~~~~~~~~~~~ diff --git a/buildrc b/buildrc index e1e0631b..44edb8ce 100644 --- a/buildrc +++ b/buildrc @@ -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