openubmc-bingo 0.6.56__py3-none-any.whl → 0.6.58__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 +1 -1
- bmcgo/tasks/task_build_conan.py +12 -0
- bmcgo/utils/config.py +1 -0
- bmcgo/utils/installations/install_plans/studio.yml +3 -0
- {openubmc_bingo-0.6.56.dist-info → openubmc_bingo-0.6.58.dist-info}/METADATA +1 -1
- {openubmc_bingo-0.6.56.dist-info → openubmc_bingo-0.6.58.dist-info}/RECORD +9 -9
- {openubmc_bingo-0.6.56.dist-info → openubmc_bingo-0.6.58.dist-info}/WHEEL +0 -0
- {openubmc_bingo-0.6.56.dist-info → openubmc_bingo-0.6.58.dist-info}/entry_points.txt +0 -0
- {openubmc_bingo-0.6.56.dist-info → openubmc_bingo-0.6.58.dist-info}/top_level.txt +0 -0
bmcgo/__init__.py
CHANGED
bmcgo/tasks/task_build_conan.py
CHANGED
|
@@ -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/doc/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")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
bmcgo/__init__.py,sha256=
|
|
1
|
+
bmcgo/__init__.py,sha256=vyiQSZmhWFz-EaTNOXmEFiHtJCFFTsEQKdJNFPwenqs,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=
|
|
227
|
+
bmcgo/tasks/task_build_conan.py,sha256=Si-8fIrQ_Vva6gw0kdLApEZY5cKt8Mt1C_8Ef4If61I,53872
|
|
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=
|
|
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=
|
|
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.
|
|
268
|
-
openubmc_bingo-0.6.
|
|
269
|
-
openubmc_bingo-0.6.
|
|
270
|
-
openubmc_bingo-0.6.
|
|
271
|
-
openubmc_bingo-0.6.
|
|
267
|
+
openubmc_bingo-0.6.58.dist-info/METADATA,sha256=laWG45k4tyRQOwt53StlLDTJ-2IQazQJVmgdv8Wf0e0,1010
|
|
268
|
+
openubmc_bingo-0.6.58.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
269
|
+
openubmc_bingo-0.6.58.dist-info/entry_points.txt,sha256=UUoUP-vAWTgg9vEYbRwYqOBHgpRtkngdzMPb-ocz90g,42
|
|
270
|
+
openubmc_bingo-0.6.58.dist-info/top_level.txt,sha256=9AcvCAt1nZcOgMsGt6T07mg2Bgtdet-3mHTwg91axgI,6
|
|
271
|
+
openubmc_bingo-0.6.58.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|