From 99d5d0166f11eb009443b6206a77df3298fce505 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Grzegorz=20Gw=C3=B3=C5=BAd=C5=BA?=
 <grzegorz.gwozdz@huawei.com>
Date: Tue, 19 Jul 2022 08:43:46 +0200
Subject: [PATCH] README.md: Add git RPC failed workaround description
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Grzegorz Gwóźdź <grzegorz.gwozdz@huawei.com>
---
 recipes-openharmony/images/README.md | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/recipes-openharmony/images/README.md b/recipes-openharmony/images/README.md
index c4f3a4bb..b7ddaa13 100644
--- a/recipes-openharmony/images/README.md
+++ b/recipes-openharmony/images/README.md
@@ -17,7 +17,15 @@ To build the image, run:
 
     bitbake openharmony-standard-image
 
-To run it, run the this commands after successfully completing the above build command:
+
+You may encounter error `RPC failed` during fetching files from gitee.com. In order to fix it, run following commands:
+
+    git config --global http.postBuffer 1048576000
+    git config --global https.postBuffer 1048576000
+    
+and rebuild the image.
+
+To run the image, run this command after successfully completing the above build command:
 
     runqemu serialstdio nographic slirp
 
-- 
GitLab