From 87b7ed666764087dd5be9a5cf32cbef4bdaffd67 Mon Sep 17 00:00:00 2001
From: Davide Gardenal <davide.gardenal@huawei.com>
Date: Fri, 29 Jul 2022 09:52:07 +0200
Subject: [PATCH] upgrade_oniro: add zephyr target

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
---
 scripts/upgrade_oniro/upgrade_oniro.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/upgrade_oniro/upgrade_oniro.py b/scripts/upgrade_oniro/upgrade_oniro.py
index b468cf07..9b9d7fc9 100644
--- a/scripts/upgrade_oniro/upgrade_oniro.py
+++ b/scripts/upgrade_oniro/upgrade_oniro.py
@@ -91,7 +91,7 @@ def init_script_options():
                         help="The flavor for the Oniro build. (linux by default)")
     # TODO the option gathering can be automated by looking at oniro/meta-oniro-core/recipes-core/images
     upgrade_parser.add_argument("-i", "--image", type=str, default="oniro-image-base",
-                        choices=["oniro-image-base", "oniro-image-base-tests", "oniro-image-extra", "oniro-image-extra-tests"],
+                        choices=["oniro-image-base", "oniro-image-base-tests", "oniro-image-extra", "oniro-image-extra-tests", "zephyr-philosophers"],
                         help = "The image that will be built to check if the upgrade is successful (oniro-image-base by default)")
     upgrade_parser.add_argument("-c", "--conf-directory", type=pathlib.Path,
                         help="Path to the config directory you want to use. If omitted the default configs will be use.")
-- 
GitLab