From: Denys Dmytriyenko <[email protected]>

Signed-off-by: Denys Dmytriyenko <[email protected]>
---
 lib/oesdk/config-build-env | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/oesdk/config-build-env b/lib/oesdk/config-build-env
index 6e9ff4e..ec40f36 100644
--- a/lib/oesdk/config-build-env
+++ b/lib/oesdk/config-build-env
@@ -26,7 +26,8 @@ checkout_layer_scripts() {
     then
         #This looks to be a git repo.  Hopefully it is the right one :)
         cd $BUILD_ROOT
-        git pull
+        git fetch
+        git reset --hard origin
     else
         echo "The $BUILD_ROOT directory is not empty and is not a git repo"
         exit 1
-- 
2.7.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to