From 632b1bffa32466b1767a655086f2eb90bc96b48c Mon Sep 17 00:00:00 2001 From: alichinese Date: Wed, 9 Jul 2025 11:24:29 +0800 Subject: [PATCH] oee_archive: fix the download sub package * update oee_archive version * fix the download sub package bug Signed-off-by: alichinese --- .oebuild/manifest.yaml | 2 +- meta-openeuler/classes/openeuler.bbclass | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.oebuild/manifest.yaml b/.oebuild/manifest.yaml index 1c57f6cd659..4d90761d9f4 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 ca69da743df..370969a3440 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 -- Gitee