lbkit 0.5.10__tar.gz → 0.5.11__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {lbkit-0.5.10/lbkit.egg-info → lbkit-0.5.11}/PKG-INFO +1 -1
- lbkit-0.5.11/lbkit/__init__.py +2 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/integration/build_image.py +6 -2
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/integration/build_rootfs.py +3 -1
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/integration/config.py +2 -0
- {lbkit-0.5.10 → lbkit-0.5.11/lbkit.egg-info}/PKG-INFO +1 -1
- lbkit-0.5.10/lbkit/__init__.py +0 -2
- {lbkit-0.5.10 → lbkit-0.5.11}/AUTHORS +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/LICENSE +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/MANIFEST.in +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/README.md +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/ci_robot/__init__.py +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/ci_robot/gitee.py +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/cli.py +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/codegen/__init__.py +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/codegen/codegen.py +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/codegen/ctype_defination.py +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/codegen/idf_interface.py +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/codegen/renderer.py +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/codegen/template/client.c.mako +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/codegen/template/client.h.mako +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/codegen/template/interface.c.mako +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/codegen/template/interface.introspect.xml.mako +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/codegen/template/public.c.mako +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/codegen/template/public.h.mako +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/codegen/template/server.c.mako +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/codegen/template/server.h.mako +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/component/__init__.py +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/component/arg_parser.py +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/component/build.py +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/component/template/conanbase.mako +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/component/template/deploy.mako +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/component/test.py +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/errors.py +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/helper.py +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/integration/__init__.py +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/integration/build_manifest.py +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/integration/build_prepare.py +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/integration/task.py +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/integration/template/conanfile.py.mako +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/lbkit.py +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/log.py +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/misc.py +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/tools.py +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit.egg-info/SOURCES.txt +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit.egg-info/dependency_links.txt +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit.egg-info/entry_points.txt +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit.egg-info/requires.txt +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/lbkit.egg-info/top_level.txt +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/setup.cfg +0 -0
- {lbkit-0.5.10 → lbkit-0.5.11}/setup.py +0 -0
|
@@ -17,7 +17,9 @@ class BuildImage(Task):
|
|
|
17
17
|
tar_file = os.path.join(self.config.download_path, "uboot.tar.gz")
|
|
18
18
|
|
|
19
19
|
url = self.get_manifest_config("components/uboot/url")
|
|
20
|
-
sha256 =
|
|
20
|
+
sha256 = None
|
|
21
|
+
if not self.config.not_check_download_sha:
|
|
22
|
+
sha256 = self.get_manifest_config("components/uboot/sha256")
|
|
21
23
|
self.tools.download(url, tar_file, sha256)
|
|
22
24
|
tar = tarfile.open(tar_file)
|
|
23
25
|
members = tar.getmembers()
|
|
@@ -41,7 +43,9 @@ class BuildImage(Task):
|
|
|
41
43
|
tar_file = os.path.join(self.config.download_path, "kernel.tar.gz")
|
|
42
44
|
|
|
43
45
|
url = self.get_manifest_config("components/kernel/url")
|
|
44
|
-
sha256 =
|
|
46
|
+
sha256 = None
|
|
47
|
+
if not self.config.not_check_download_sha:
|
|
48
|
+
sha256 = self.get_manifest_config("components/kernel/sha256")
|
|
45
49
|
self.tools.download(url, tar_file, sha256)
|
|
46
50
|
tar = tarfile.open(tar_file)
|
|
47
51
|
members = tar.getmembers()
|
|
@@ -64,7 +64,9 @@ class BuildRootfs(Task):
|
|
|
64
64
|
rootfs_tar = "rootfs.tar.gz"
|
|
65
65
|
|
|
66
66
|
url = self.get_manifest_config("components/rootfs/url")
|
|
67
|
-
sha256 =
|
|
67
|
+
sha256 = None
|
|
68
|
+
if not self.config.not_check_download_sha:
|
|
69
|
+
sha256 = self.get_manifest_config("components/rootfs/sha256")
|
|
68
70
|
self.tools.download(url, rootfs_tar, sha256)
|
|
69
71
|
tar = tarfile.open(rootfs_tar)
|
|
70
72
|
members = tar.getmembers()
|
|
@@ -25,6 +25,7 @@ class Config(object):
|
|
|
25
25
|
self.build_debug = args.debug
|
|
26
26
|
# conan中心仓
|
|
27
27
|
self.remote = args.remote
|
|
28
|
+
self.not_check_download_sha = args.not_check_download_sha
|
|
28
29
|
|
|
29
30
|
if not os.path.isfile(self.manifest):
|
|
30
31
|
raise FileNotFoundError(f"File {args.manifest} not exist")
|
|
@@ -61,5 +62,6 @@ class Config(object):
|
|
|
61
62
|
parser.add_argument("-pr", "--profile", help="Apply the specified profile to the host machine", default="litebmc.ini")
|
|
62
63
|
parser.add_argument("-pr:b", "--profile_build", help="Apply the specified profile to the build machine", default="default")
|
|
63
64
|
parser.add_argument("-d", "--debug", help="Set the build type to debug", action="store_false")
|
|
65
|
+
parser.add_argument("--not_check_download_sha", help="don't check sha256 of download file", action="store_true")
|
|
64
66
|
parser.add_argument("-r", "--remote", help="specified conan server", default="litebmc")
|
|
65
67
|
return parser
|
lbkit-0.5.10/lbkit/__init__.py
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|