Print explicit path to missing partition table

Resolve #1304
This commit is contained in:
Valerii Koval
2024-02-12 14:36:28 +02:00
committed by GitHub
parent 76df32f785
commit ecb0953333
+1 -1
View File
@@ -971,7 +971,7 @@ def generate_empty_partition_image(binary_path, image_size):
def get_partition_info(pt_path, pt_offset, pt_params):
if not os.path.isfile(pt_path):
sys.stderr.write(
"Missing partition table file `%s`\n" % os.path.basename(pt_path)
"Missing partition table file `%s`\n" % pt_path
)
env.Exit(1)