diff --git a/.oebuild/manifest.yaml b/.oebuild/manifest.yaml index 1c57f6cd6599e98693503730cb175f382c5d859c..4d90761d9f4d513d318345a773c1468d01adb56b 100644 --- a/.oebuild/manifest.yaml +++ b/.oebuild/manifest.yaml @@ -1067,7 +1067,7 @@ manifest_list: version: 42e783e24b0a018f81bb6c838ca7532862528a07 oee_archive: remote_url: https://gitee.com/openeuler/oee_archive.git - version: 47a7c941bad0100b291352db561ff880b66927ef + version: 7c15ba43a1e51bdf953e70e1851764e6b180a1d9 ompl: remote_url: https://gitee.com/src-openeuler/ompl.git version: 42759f06c9a8d712a5ba86f1f3b22a569ec81232 diff --git a/meta-openeuler/classes/openeuler.bbclass b/meta-openeuler/classes/openeuler.bbclass index ca69da743df89d4b71ccd55be029d88ea7de3f73..370969a3440c3d620af12d9c5e02e07fe130a033 100644 --- a/meta-openeuler/classes/openeuler.bbclass +++ b/meta-openeuler/classes/openeuler.bbclass @@ -272,10 +272,8 @@ def download_repo(d, repo_dir, repo_url ,version = None): if res.returncode != 0: bb.fatal(f"in oee_archive run git sparse-checkout add {subdir} failed, error: {res.stderr}") - if "oee_archive" in repo_url: + if d.getVar("OEE_ARCHIVE_SUB_DIR") is not None: sub_dir = d.getVar("OEE_ARCHIVE_SUB_DIR") - if sub_dir is None: - bb.fatal("no sub dir is given under oee_archive ") oee_archive_download(oee_archive_dir = repo_dir, subdir = sub_dir) # the function is used to download large file in repo