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.
Files changed (51) hide show
  1. {lbkit-0.5.10/lbkit.egg-info → lbkit-0.5.11}/PKG-INFO +1 -1
  2. lbkit-0.5.11/lbkit/__init__.py +2 -0
  3. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/integration/build_image.py +6 -2
  4. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/integration/build_rootfs.py +3 -1
  5. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/integration/config.py +2 -0
  6. {lbkit-0.5.10 → lbkit-0.5.11/lbkit.egg-info}/PKG-INFO +1 -1
  7. lbkit-0.5.10/lbkit/__init__.py +0 -2
  8. {lbkit-0.5.10 → lbkit-0.5.11}/AUTHORS +0 -0
  9. {lbkit-0.5.10 → lbkit-0.5.11}/LICENSE +0 -0
  10. {lbkit-0.5.10 → lbkit-0.5.11}/MANIFEST.in +0 -0
  11. {lbkit-0.5.10 → lbkit-0.5.11}/README.md +0 -0
  12. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/ci_robot/__init__.py +0 -0
  13. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/ci_robot/gitee.py +0 -0
  14. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/cli.py +0 -0
  15. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/codegen/__init__.py +0 -0
  16. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/codegen/codegen.py +0 -0
  17. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/codegen/ctype_defination.py +0 -0
  18. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/codegen/idf_interface.py +0 -0
  19. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/codegen/renderer.py +0 -0
  20. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/codegen/template/client.c.mako +0 -0
  21. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/codegen/template/client.h.mako +0 -0
  22. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/codegen/template/interface.c.mako +0 -0
  23. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/codegen/template/interface.introspect.xml.mako +0 -0
  24. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/codegen/template/public.c.mako +0 -0
  25. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/codegen/template/public.h.mako +0 -0
  26. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/codegen/template/server.c.mako +0 -0
  27. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/codegen/template/server.h.mako +0 -0
  28. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/component/__init__.py +0 -0
  29. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/component/arg_parser.py +0 -0
  30. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/component/build.py +0 -0
  31. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/component/template/conanbase.mako +0 -0
  32. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/component/template/deploy.mako +0 -0
  33. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/component/test.py +0 -0
  34. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/errors.py +0 -0
  35. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/helper.py +0 -0
  36. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/integration/__init__.py +0 -0
  37. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/integration/build_manifest.py +0 -0
  38. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/integration/build_prepare.py +0 -0
  39. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/integration/task.py +0 -0
  40. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/integration/template/conanfile.py.mako +0 -0
  41. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/lbkit.py +0 -0
  42. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/log.py +0 -0
  43. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/misc.py +0 -0
  44. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit/tools.py +0 -0
  45. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit.egg-info/SOURCES.txt +0 -0
  46. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit.egg-info/dependency_links.txt +0 -0
  47. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit.egg-info/entry_points.txt +0 -0
  48. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit.egg-info/requires.txt +0 -0
  49. {lbkit-0.5.10 → lbkit-0.5.11}/lbkit.egg-info/top_level.txt +0 -0
  50. {lbkit-0.5.10 → lbkit-0.5.11}/setup.cfg +0 -0
  51. {lbkit-0.5.10 → lbkit-0.5.11}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lbkit
3
- Version: 0.5.10
3
+ Version: 0.5.11
4
4
  Summary: Tools provided by litebmc.com
5
5
  Home-page: https://www.litebmc.com
6
6
  Author: xuhj@litebmc.com
@@ -0,0 +1,2 @@
1
+
2
+ __version__ = '0.5.11'
@@ -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 = self.get_manifest_config("components/uboot/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 = self.get_manifest_config("components/kernel/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 = self.get_manifest_config("components/rootfs/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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lbkit
3
- Version: 0.5.10
3
+ Version: 0.5.11
4
4
  Summary: Tools provided by litebmc.com
5
5
  Home-page: https://www.litebmc.com
6
6
  Author: xuhj@litebmc.com
@@ -1,2 +0,0 @@
1
-
2
- __version__ = '0.5.10'
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