Skip to content
Snippets Groups Projects
Commit db72b2c0 authored by Eilís Ní Fhlannagáin's avatar Eilís Ní Fhlannagáin Committed by Eilís Ní Fhlannagáin
Browse files

allscenarios-image-*-dev: Add devel/dbg image.


Looking at allscenarios-image-common.inc I see some devel/dbg packages
in there. These really should be pulled into a development or debug
image as images that endusers would build off of for a production
environment should only contain the minimal packages needed to run the system.

This patch removes gdbserver and packagegroup-net-tools (iperf3) from common
and puts them along with other useful EXTRA_IMAGE_FEATURES into two new images:

allscenarios-image-base-dev
allscenarios-image-extra-dev

Due to the size of the dbg-pkgs and dev-pkgs,
allscenarios-image-extra-dev needs a bump of it's ROOT_PARTITION_SIZE
else wic creation explodes.

Closes <issues 123>

Signed-off-by: default avatarEilís Ní Fhlannagáin <elizabeth.flanagan@huawei.com>
parent 0029f680
No related branches found
No related tags found
No related merge requests found
......@@ -5,8 +5,10 @@ You can now run 'bitbake <target>'
Supported targets:
- allscenarios-image-base
- allscenarios-image-base-dev
- allscenarios-image-base-tests
- allscenarios-image-extra
- allscenarios-image-extra-dev
- allscenarios-image-extra-tests
Supported machines (first is the default):
......
# SPDX-FileCopyrightText: Huawei Inc.
#
# SPDX-License-Identifier: Apache-2.0
require recipes-core/images/core-image-base.bb
require allscenarios-image-common.inc
SUMMARY = "AllScenariOS development image including the base OS software stack"
IMAGE_INSTALL_append = "\
packagegroup-net-tools \
"
EXTRA_IMAGE_FEATURES += "dev-pkgs dbg-pkgs src-pkgs tools-sdk tools-debug tools-profile"
......@@ -9,9 +9,7 @@ inherit ohos-image
IMAGE_INSTALL_append = "\
packagegroup-allscenarios-core \
packagegroup-net-essentials \
packagegroup-net-tools \
packagegroup-ble-essentials \
gdbserver \
"
IMAGE_INSTALL_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'optee-client', '', d)} "
# SPDX-FileCopyrightText: Huawei Inc.
#
# SPDX-License-Identifier: Apache-2.0
require recipes-core/images/allscenarios-image-extra.bb
SUMMARY = "AllScenariOS Wayland development image including the base OS \
software stack and tests"
IMAGE_INSTALL_append = "\
packagegroup-net-tools \
"
EXTRA_IMAGE_FEATURES += "dev-pkgs dbg-pkgs src-pkgs tools-sdk tools-debug tools-profile"
# With the EXTRA_IMAGE_FEATURES we need to bump the size of the rootfs slightly
ROOT_PARTITION_SIZE = "1300M"
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