Skip to content
Snippets Groups Projects
Commit 8254a504 authored by Zygmunt Krynicki's avatar Zygmunt Krynicki
Browse files

Rename openharmony to allscenarios


This bundles a rather large rename of all the recipes, descriptions and
comments, with the exception of repositories referenced from gitee or
other third party system (e.g. launchpad PPAs or COPR repositories).

Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
parent 9e26b1af
No related branches found
No related tags found
No related merge requests found
Showing
with 54 additions and 31 deletions
......@@ -4,10 +4,10 @@
You can now run 'bitbake <target>'
Supported targets:
- openharmony-image-base
- openharmony-image-base-tests
- openharmony-image-extra
- openharmony-image-extra-tests
- allscenarios-image-base
- allscenarios-image-base-tests
- allscenarios-image-extra
- allscenarios-image-extra-tests
Supported machines (first is the default):
- qemux86-64
......
......@@ -75,7 +75,7 @@ MACHINE ??= "qemux86-64"
#
# Default policy config
#
DISTRO ?= "openharmony-linux"
DISTRO ?= "allscenarios-linux"
#
# Package Management configuration
......
......@@ -76,7 +76,7 @@ MACHINE ??= "qemu-x86"
#
# Default policy config
#
DISTRO ?= "openharmony-zephyr"
DISTRO ?= "allscenarios-zephyr"
#
# Package Management configuration
......
......@@ -4,11 +4,11 @@
# Distro configuration for the dashboard blueprint
require conf/distro/openharmony-linux.conf
require conf/distro/allscenarios-linux.conf
include conf/distro/include/ha-versions.inc
DISTRO = "openharmony-linux-blueprint-dashboard"
DISTRO_NAME = "OpenHarmony Dashboard Blueprint Linux Distro"
DISTRO = "allscenarios-linux-blueprint-dashboard"
DISTRO_NAME = "AllScenariOS Dashboard Blueprint Linux Distro"
# Custom hostnames for easy DNS resolution for this blueprint.
# The gateway would run on a stm32mp1-av96 machine.
......
......@@ -3,9 +3,9 @@
# SPDX-License-Identifier: Apache-2.0
# Deprecated distro configuration in favour of
# openharmony-linux-blueprint-dashboard
# allscenarios-linux-blueprint-dashboard
require conf/distro/openharmony-linux-blueprint-dashboard.conf
require conf/distro/allscenarios-linux-blueprint-dashboard.conf
# We keep the old distro name to sanity check this deprecation.
DISTRO = "openharmony-linux-demo-dashboard"
DISTRO = "allscenarios-linux-demo-dashboard"
......@@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: Apache-2.0
require recipes-core/images/openharmony-image-base.bb
require recipes-core/images/allscenarios-image-base.bb
SUMMARY = "Dashboard blueprint image: gateway"
DESCRIPTION = "Home Assistant based image targeting a gateway device"
......
......@@ -13,7 +13,7 @@ OHOS_DEPRECATED_COLLECTIONS = " \
# Same format as for OHOS_DEPRECATED_COLLECTIONS but for DISTRO configurations.
OHOS_DEPRECATED_DISTROS = " \
openharmony-linux-demo-dashboard:openharmony-linux-blueprint-dashboard \
allscenarios-linux-demo-dashboard:allscenarios-linux-blueprint-dashboard \
"
def unpack_deprecation(elem) -> 'Tuple[str, str]':
......@@ -21,7 +21,7 @@ def unpack_deprecation(elem) -> 'Tuple[str, str]':
return (elem_split[0], elem_split[1] if len(elem_split) == 2 else '')
def ohos_is_valid_config() -> bool:
"""Handles OpenHarmony build configuration sanity checks."""
"""Handles AllScenariOS build configuration sanity checks."""
# By default assume no fatal errors
success = True
......@@ -66,10 +66,10 @@ def ohos_is_valid_config() -> bool:
python ohos_sanity_handler() {
if d.getVar('OHOS_SANITY_SKIP', True) == "1":
bb.warn('OpenHarmony-specific sanity checks were skipped.')
bb.warn('AllScenariOS-specific sanity checks were skipped.')
return
if not ohos_is_valid_config():
bb.fatal("OpenHarmony sanity checks included fatal errors. See above.")
bb.fatal("AllScenariOS sanity checks included fatal errors. See above.")
}
addhandler ohos_sanity_handler
......
......@@ -2,11 +2,11 @@
#
# SPDX-License-Identifier: Apache-2.0
require conf/distro/include/openharmony.inc
require conf/distro/include/allscenarios.inc
require conf/distro/poky.conf
DISTRO = "openharmony-linux"
DISTRO_NAME = "OpenHarmony Base Linux Distro"
DISTRO = "allscenarios-linux"
DISTRO_NAME = "AllScenariOS Base Linux Distro"
DISTRO_VERSION = "0.1.99"
TCLIBC ?= "musl"
......
......@@ -2,9 +2,9 @@
#
# SPDX-License-Identifier: Apache-2.0
require conf/distro/include/openharmony.inc
require conf/distro/include/allscenarios.inc
require conf/distro/zephyr.conf
DISTRO = "openharmony-zephyr"
DISTRO_NAME = "OpenHarmony Base Zephyr Distro"
DISTRO = "allscenarios-zephyr"
DISTRO_NAME = "AllScenariOS Base Zephyr Distro"
DISTRO_VERSION = "0.1.99"
......@@ -2,10 +2,10 @@
#
# SPDX-License-Identifier: Apache-2.0
require recipes-core/images/openharmony-image-base.bb
require recipes-core/images/allscenarios-image-base.bb
SUMMARY = "OpenHarmony image including the base OS software stack and tests"
SUMMARY = "AllScenariOS image including the base OS software stack and tests"
IMAGE_INSTALL_append = "\
packagegroup-openharmony-tests \
packagegroup-allscenarios-tests \
"
......@@ -3,6 +3,6 @@
# SPDX-License-Identifier: Apache-2.0
require recipes-core/images/core-image-base.bb
require openharmony-image-common.inc
require allscenarios-image-common.inc
SUMMARY = "OpenHarmony image including the base OS software stack"
SUMMARY = "AllScenariOS image including the base OS software stack"
......@@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: Apache-2.0
# Common settings for all OpenHarmony images
# Common settings for all AllScenariOS images
inherit ohos-image
......
......@@ -2,11 +2,11 @@
#
# SPDX-License-Identifier: Apache-2.0
require recipes-core/images/openharmony-image-extra.bb
require recipes-core/images/allscenarios-image-extra.bb
SUMMARY = "OpenHarmony Wayland image including the base OS \
SUMMARY = "AllScenariOS Wayland image including the base OS \
software stack and tests"
IMAGE_INSTALL_append = "\
packagegroup-openharmony-tests \
packagegroup-allscenarios-tests \
"
......@@ -3,7 +3,7 @@
# SPDX-License-Identifier: Apache-2.0
require recipes-graphics/images/core-image-weston.bb
require openharmony-image-common.inc
require allscenarios-image-common.inc
SUMMARY = "OpenHarmony Wayland image including the base OS \
SUMMARY = "AllScenariOS Wayland image including the base OS \
software stack"
......@@ -2,14 +2,14 @@
#
# SPDX-License-Identifier: Apache-2.0
DESCRIPTION = "OpenHarmony tests package group"
DESCRIPTION = "AllScenariOS tests package group"
inherit packagegroup
PACKAGES = "\
packagegroup-openharmony-tests \
packagegroup-allscenarios-tests \
"
RDEPENDS_packagegroup-openharmony-tests = "\
RDEPENDS_packagegroup-allscenarios-tests = "\
ohos-xts-acts \
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment