@@ -253,26 +253,15 @@ def image_builder(buildspec, image_types=[], device_types=[]):
253253 f"This is required to set job_type label."
254254 )
255255
256- sitecustomize_template_file = os .path .join (
257- os .sep , get_cloned_folder_path (), "miscellaneous_scripts" , "dlc_template.py"
258- )
259256 bash_template_file = os .path .join (
260257 os .sep , get_cloned_folder_path (), "miscellaneous_scripts" , "bash_telemetry.sh"
261258 )
262-
263259 template_fw_version = (
264260 str (image_config ["framework_version" ])
265261 if image_config .get ("framework_version" )
266262 else str (BUILDSPEC ["version" ])
267263 )
268264 template_fw = str (BUILDSPEC ["framework" ])
269- sitecustomize_post_template_file = utils .generate_dlc_cmd (
270- template_path = sitecustomize_template_file ,
271- output_path = os .path .join (image_config ["root" ], "out.py" ),
272- framework = template_fw ,
273- framework_version = template_fw_version ,
274- container_type = label_job_type ,
275- )
276265 bash_post_template_file = utils .generate_dlc_cmd (
277266 template_path = bash_template_file ,
278267 output_path = os .path .join (image_config ["root" ], "telemetry.sh" ),
@@ -283,10 +272,6 @@ def image_builder(buildspec, image_types=[], device_types=[]):
283272
284273 ARTIFACTS .update (
285274 {
286- "customize" : {
287- "source" : sitecustomize_post_template_file ,
288- "target" : "sitecustomize.py" ,
289- },
290275 "bash" : {"source" : bash_post_template_file , "target" : "bash_telemetry.sh" },
291276 }
292277 )
0 commit comments