public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] start_vm: Update distro list
@ 2023-12-11 12:55 Anton Mikanovich
  2023-12-22  7:37 ` Anton Mikanovich
  0 siblings, 1 reply; 2+ messages in thread
From: Anton Mikanovich @ 2023-12-11 12:55 UTC (permalink / raw)
  To: isar-users; +Cc: Anton Mikanovich

Set actual list of supported Debian and Ubuntu distros for compatibility
checking.

Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
 testsuite/start_vm.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testsuite/start_vm.py b/testsuite/start_vm.py
index a0b2ed10..ef0dfbcb 100755
--- a/testsuite/start_vm.py
+++ b/testsuite/start_vm.py
@@ -30,7 +30,7 @@ def format_qemu_cmdline(arch, build, distro, image, out, pid, enforce_pcbios=Fal
 
     image_type = get_bitbake_var(bb_output, 'IMAGE_FSTYPES').split()[0]
     deploy_dir_image = get_bitbake_var(bb_output, 'DEPLOY_DIR_IMAGE')
-    base = 'ubuntu' if distro in ['focal', 'bionic'] else 'debian'
+    base = 'ubuntu' if distro in ['jammy', 'focal'] else 'debian'
 
     rootfs_image = image + '-' + base + '-' + distro + '-qemu' + arch + '.' + image_type
 
@@ -102,7 +102,7 @@ if __name__ == "__main__":
     parser = argparse.ArgumentParser()
     parser.add_argument('-a', '--arch', choices=['arm', 'arm64', 'amd64', 'i386', 'mipsel'], help='set isar machine architecture.', default='arm')
     parser.add_argument('-b', '--build', help='set path to build directory.', default=os.getcwd())
-    parser.add_argument('-d', '--distro', choices=['buster', 'bullseye', 'bookworm'], help='set isar Debian distribution.', default='bookworm')
+    parser.add_argument('-d', '--distro', choices=['buster', 'bullseye', 'bookworm', 'trixie', 'focal', 'jammy'], help='set isar Debian distribution.', default='bookworm')
     parser.add_argument('-i', '--image', help='set image name.', default='isar-image-base')
     parser.add_argument('-o', '--out', help='Route QEMU console output to specified file.')
     parser.add_argument('-p', '--pid', help='Store QEMU pid to specified file.')
-- 
2.34.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] start_vm: Update distro list
  2023-12-11 12:55 [PATCH] start_vm: Update distro list Anton Mikanovich
@ 2023-12-22  7:37 ` Anton Mikanovich
  0 siblings, 0 replies; 2+ messages in thread
From: Anton Mikanovich @ 2023-12-22  7:37 UTC (permalink / raw)
  To: isar-users

11/12/2023 14:55, Anton Mikanovich wrote:
> Set actual list of supported Debian and Ubuntu distros for compatibility
> checking.
>
> Signed-off-by: Anton Mikanovich <amikan@ilbers.de>

Applied to next.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-22  7:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-11 12:55 [PATCH] start_vm: Update distro list Anton Mikanovich
2023-12-22  7:37 ` Anton Mikanovich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox