mirror of
				https://github.com/vyos/vyos-build.git
				synced 2025-10-01 20:28:40 +02:00 
			
		
		
		
	build-script: T3664: Added flavor name to a target file name
Mark artifacts with a flavor name for better clarity.
This commit is contained in:
		
							parent
							
								
									3463386246
								
							
						
					
					
						commit
						5cbd14cc0f
					
				| @ -645,6 +645,6 @@ Pin-Priority: 600 | |||||||
|             for f in other_formats: |             for f in other_formats: | ||||||
|                 image_ext = build_config.get("image_ext", f) |                 image_ext = build_config.get("image_ext", f) | ||||||
|                 image_opts = build_config.get("image_opts", "") |                 image_opts = build_config.get("image_opts", "") | ||||||
|                 target = f"{os.path.splitext(raw_image)[0]}.{image_ext}" |                 target = f"{os.path.splitext(raw_image)[0]}-{build_config['build_flavor']}.{image_ext}" | ||||||
|                 print(f"I: Building {f} file {target}") |                 print(f"I: Building {f} file {target}") | ||||||
|                 cmd(f"qemu-img convert -f raw -O {f} {image_opts} {raw_image} {target}") |                 cmd(f"qemu-img convert -f raw -O {f} {image_opts} {raw_image} {target}") | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user