openubmc-bingo 0.6.56__py3-none-any.whl → 0.6.57__py3-none-any.whl

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.

Potentially problematic release.


This version of openubmc-bingo might be problematic. Click here for more details.

bmcgo/__init__.py CHANGED
@@ -9,4 +9,4 @@
9
9
  # MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
10
10
  # See the Mulan PSL v2 for more details.
11
11
 
12
- __version__ = '0.6.56'
12
+ __version__ = '0.6.57'
@@ -148,6 +148,15 @@ class CopyComponent(Process):
148
148
  command_key=self.comp)
149
149
 
150
150
  def _copy_files(self):
151
+ mdb_path = os.path.join(self.package_folder, "opt/bmc/apps/mdb_interface/")
152
+ if os.path.isdir(mdb_path):
153
+ cmd = f"cp -dfr {mdb_path} {self.config.mdb_output}"
154
+ self.work.run_command(cmd)
155
+ mds_path = os.path.join(self.package_folder, "usr/share/docs/openubmc")
156
+ if os.path.isdir(mds_path):
157
+ cmd = f"cp -dfr {mds_path}/. {self.config.mdb_output}"
158
+ self.work.run_command(cmd)
159
+ # for dirs, file, _ in os.walk(mds_path)
151
160
  # 由于复制时有很多同名路径,cp命令有概率失败,10次复制尝试
152
161
  cmd = "sudo cp -dfr {}/. {}".format(self.package_folder, self.config.rootfs_path)
153
162
  for _ in range(0, 10):
@@ -1054,6 +1063,9 @@ class TaskClass(Task):
1054
1063
 
1055
1064
  def package(self):
1056
1065
  self.chdir(self.conan_install)
1066
+ if os.path.isdir(self.config.mdb_output):
1067
+ shutil.rmtree(self.config.mdb_output)
1068
+ os.makedirs(self.config.mdb_output, 0o755)
1057
1069
  if misc.conan_v2():
1058
1070
  self.package_v2()
1059
1071
  return
bmcgo/utils/config.py CHANGED
@@ -489,6 +489,7 @@ class Config:
489
489
  os.environ['PATH'] = os.environ["PATH"] + ":" + os.path.join(self.tools_path, "build_tools")
490
490
  # CI工程上库路径
491
491
  self.output_path = os.path.join(self.code_root, 'output')
492
+ self.mdb_output = os.path.join(self.output_path, "mdb")
492
493
 
493
494
  def init_conan_profile(self, profile: str):
494
495
  manifest_profile = self.get_manufacture_config("base/profile")
@@ -3,4 +3,7 @@ install_steps:
3
3
  - type: apt
4
4
  package_name: bmc-studio
5
5
  doc: https://www.openubmc.cn/marketplace/BMC%20Studio
6
+ - type: apt
7
+ package_name: cangjie-runtime
8
+ doc: https://cangjie-lang.cn/docs
6
9
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: openubmc-bingo
3
- Version: 0.6.56
3
+ Version: 0.6.57
4
4
  Summary: Tools provided by openubmc
5
5
  Home-page: https://openubmc.cn
6
6
  Classifier: Programming Language :: Python :: 3
@@ -1,4 +1,4 @@
1
- bmcgo/__init__.py,sha256=4Mshf52SWtmdzhgKt9Lt69SpDg27Ekv5S-DZowXUOd0,562
1
+ bmcgo/__init__.py,sha256=f-6NOvxJOnzyWXJ3Uh7FNKi9PrwcqPnv59VMa38sOs4,562
2
2
  bmcgo/bmcgo.py,sha256=uD4TsfjrFB5aQPIS6WRUVc9ShXX-dSImY9ezkB13g1w,685
3
3
  bmcgo/bmcgo_config.py,sha256=-KYhC3jNqWkCWu6YkyxDZlyC3floXIHaibGpmyB6YWQ,11873
4
4
  bmcgo/errors.py,sha256=QW1ndrJcJ2Ws7riOznPKVvZsNlrYk73eZol7w8gJTPU,3076
@@ -224,7 +224,7 @@ bmcgo/tasks/__init__.py,sha256=VapgzhPMmB7dzPIRohoVm1jjfVn_v97cYNCRmkxScaU,539
224
224
  bmcgo/tasks/download_buildtools_hm.py,sha256=f4UxStARc8Z8DnT_5O6ONajQ7P0sKyJ8brixr43fHVQ,5988
225
225
  bmcgo/tasks/misc.py,sha256=GK_bSDLGZW0FxywB2ICG1iIEz2y2QoCb1YQQk8SYOIA,711
226
226
  bmcgo/tasks/task.py,sha256=95nKxTe5PW3rfhpm5YFasPtmP8oCraeWJKq0D5mbl6A,18578
227
- bmcgo/tasks/task_build_conan.py,sha256=XYK2Ge6sDE8lQI4AOh2StVXq045-LdvNVnxw848EG70,53227
227
+ bmcgo/tasks/task_build_conan.py,sha256=TqhJmpfQXyNGxfNR6FZijqopuAhZ0lfmOxjoQBLHSHc,53873
228
228
  bmcgo/tasks/task_build_rootfs_img.py,sha256=jRw-psICpACRspQOJ4e6zatG1a63V7yTpajnBmRL59E,28937
229
229
  bmcgo/tasks/task_build_wbd_up.py,sha256=X9-0Qqad-s3mGfJBMeBQvfZ99KlWcgaMluDr_zv6Z-o,3122
230
230
  bmcgo/tasks/task_buildgppbin.py,sha256=epBxxrYFPgoTzpBgPzSRXcUs-ia_BJWsLGflylEJS7I,6614
@@ -245,7 +245,7 @@ bmcgo/utils/build_conans.py,sha256=3afY0XOwFtfcKud2yp6nODIuPoMKjjsoAl5AV8GbJ6w,8
245
245
  bmcgo/utils/combine_json_schemas.py,sha256=08JrAlLeo_JgUqzYcZNgSwJZPLfjbWVJ4esPPt9bPMY,7967
246
246
  bmcgo/utils/component_post.py,sha256=rTSMv36geI6rbm6ZFQenZfG0mn1nVPpdJqn7g8bYtKA,2330
247
247
  bmcgo/utils/component_version_check.py,sha256=ukc-H-A4ljkOShzVtkYWL0oTIYwxgDIZtP-fPqqHnRY,6274
248
- bmcgo/utils/config.py,sha256=rXk3_UbweJSdDcj8ISgXKJHcjg9erGSPjf9BJ1nODTo,51077
248
+ bmcgo/utils/config.py,sha256=BoNx8U8VjnHrC-lFXIhp6Ex8f02kZgUS-mTkRxi_SYM,51141
249
249
  bmcgo/utils/fetch_component_code.py,sha256=WtPJ5h1nM87X6RicrAhMOJzOzh9A0jD3CbjPc4A-REo,11280
250
250
  bmcgo/utils/install_manager.py,sha256=Ag7tcTbhBfc6aTe5FOiET-8koq8_iY38Sozmi3dquio,4919
251
251
  bmcgo/utils/json_validator.py,sha256=_k5wU78wfYGrzvSDaqOEtT4otgKUjquVhZNpVf2PW_c,7524
@@ -261,11 +261,11 @@ bmcgo/utils/installations/install_workflow.py,sha256=wT6lTE_s-NZP8LSZR1xlu4dXTtP
261
261
  bmcgo/utils/installations/version_util.py,sha256=dOwvLZ7iOmnzSeyD6_pRm7NS7I13Um5mSD_y0dVyO6M,3212
262
262
  bmcgo/utils/installations/install_plans/bingo.yml,sha256=Zw1HnAyNJdEwkE3fnd-_GCe9bwv1m6bmMlaQTJXaFa8,210
263
263
  bmcgo/utils/installations/install_plans/qemu.yml,sha256=lT7aKag60QUH6hTGFKa3hGRqTlcaMxErxjnSaCMkQ9A,138
264
- bmcgo/utils/installations/install_plans/studio.yml,sha256=APR3GM-3Q11LFfe8vh7t3LztDn4LLEpNHRUNjkaVekA,143
264
+ bmcgo/utils/installations/install_plans/studio.yml,sha256=AEspVgsVAnmUdvqZYNCb7SPoUEq_0i61dfpauyguLa4,229
265
265
  bmcgo/utils/installations/installers/apt_installer.py,sha256=nPaCb4cobSi9InN_aHsEPtQ0k4FgsCUWE5_VgBPvcRE,3769
266
266
  bmcgo/utils/installations/installers/pip_installer.py,sha256=dDdios1EQ7fzt90r02pZeoM3jCmjslLzkSvzd2hgRVM,3241
267
- openubmc_bingo-0.6.56.dist-info/METADATA,sha256=FsYAKF-gDqsrbYX9nlQDxvQOogKlT2xQ8yUoz64O874,1010
268
- openubmc_bingo-0.6.56.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
269
- openubmc_bingo-0.6.56.dist-info/entry_points.txt,sha256=UUoUP-vAWTgg9vEYbRwYqOBHgpRtkngdzMPb-ocz90g,42
270
- openubmc_bingo-0.6.56.dist-info/top_level.txt,sha256=9AcvCAt1nZcOgMsGt6T07mg2Bgtdet-3mHTwg91axgI,6
271
- openubmc_bingo-0.6.56.dist-info/RECORD,,
267
+ openubmc_bingo-0.6.57.dist-info/METADATA,sha256=l6bjg1OxYuCThuI4swY8dZLVDEpryVPWRlhk6BxpbHo,1010
268
+ openubmc_bingo-0.6.57.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
269
+ openubmc_bingo-0.6.57.dist-info/entry_points.txt,sha256=UUoUP-vAWTgg9vEYbRwYqOBHgpRtkngdzMPb-ocz90g,42
270
+ openubmc_bingo-0.6.57.dist-info/top_level.txt,sha256=9AcvCAt1nZcOgMsGt6T07mg2Bgtdet-3mHTwg91axgI,6
271
+ openubmc_bingo-0.6.57.dist-info/RECORD,,