
From: Simon Glass <sjg@chromium.org> At present the OS disk conflicts with the boot disk used to hold the app (or payload). Number the OS disk after that. Signed-off-by: Simon Glass <sjg@chromium.org> --- scripts/build_helper.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/build_helper.py b/scripts/build_helper.py index 57c900f251f..327bb64ef3d 100644 --- a/scripts/build_helper.py +++ b/scripts/build_helper.py @@ -161,7 +161,8 @@ sct_mnt = /mnt/sct else: cmd.extend([ '-drive', - f'if=virtio,file={os_path},format=raw,id=hd0,readonly=on']) + f'if=virtio,file={os_path},format=raw,id=hd{base_hd},readonly=on']) + base_hd += 1 if args.disk: for i, d in enumerate(args.disk): -- 2.43.0