From 0dcd61a14663bc31c59831c9946b528571482c20 Mon Sep 17 00:00:00 2001 From: chenmozhijin <110812055+chenmozhijin@users.noreply.github.com> Date: Tue, 17 Sep 2024 04:40:20 +0800 Subject: [PATCH] update --- build_helper/utils/openwrt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_helper/utils/openwrt.py b/build_helper/utils/openwrt.py index aadda735..e75afe6f 100644 --- a/build_helper/utils/openwrt.py +++ b/build_helper/utils/openwrt.py @@ -292,7 +292,7 @@ def archive(self, path: str) -> None: if os.path.exists(os.path.join(self.path, "dl")): shutil.rmtree(os.path.join(self.path, "dl")) with tarfile.open(path, "w:gz") as tar: - tar.add(self.path, arcname=os.path.basename(self.path)) + tar.add(self.path, arcname="openwrt") def enable_kmods(self, exclude_list: list[str]) -> None: for _ in range(5):