From d24ee29f344331e4428b5b2ad1acbedb6cd5e8e2 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan <andrei.gherzan@huawei.com> Date: Mon, 2 Aug 2021 17:04:48 +0100 Subject: [PATCH] busybox: Make sure GPT support is enabled We work with GPT-based targets for some of our reference boards. Make sure busybox has GPT support. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> --- .../recipes-core/busybox/busybox/allscenarios.cfg | 1 + meta-ohos-core/recipes-core/busybox/busybox_%.bbappend | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 meta-ohos-core/recipes-core/busybox/busybox/allscenarios.cfg create mode 100644 meta-ohos-core/recipes-core/busybox/busybox_%.bbappend diff --git a/meta-ohos-core/recipes-core/busybox/busybox/allscenarios.cfg b/meta-ohos-core/recipes-core/busybox/busybox/allscenarios.cfg new file mode 100644 index 00000000..686eb99d --- /dev/null +++ b/meta-ohos-core/recipes-core/busybox/busybox/allscenarios.cfg @@ -0,0 +1 @@ +CONFIG_FEATURE_GPT_LABEL=y diff --git a/meta-ohos-core/recipes-core/busybox/busybox_%.bbappend b/meta-ohos-core/recipes-core/busybox/busybox_%.bbappend new file mode 100644 index 00000000..06fa0422 --- /dev/null +++ b/meta-ohos-core/recipes-core/busybox/busybox_%.bbappend @@ -0,0 +1,6 @@ +# SPDX-FileCopyrightText: Huawei Inc. +# +# SPDX-License-Identifier: Apache-2.0 + +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" +SRC_URI += "file://allscenarios.cfg" -- GitLab