From 455f8ae11f5a04d593ba52e8419775f2203cd275 Mon Sep 17 00:00:00 2001 From: Stefan Schmidt <stefan.schmidt@huawei.com> Date: Mon, 1 Mar 2021 21:59:16 +0100 Subject: [PATCH] openharmony-linux: disable not used DISTRO_FEATURES In order to control what we ship and being responsible for, as well as reducing the image size, we start with disabling DISTRO_FEATURES we inherited from Poky. These are simply default values Poky uses to show what Yocto/OE can do. They have currently no use for us and we can still bring them back when the use cases arises. Before: build tasks: 5795 (26m) du -cs tmp/deploy/images/stm32mp1-av96/openharmony-image-extra-stm32mp1-av96-20210301211000.rootfs.tar.xz 46624 After: build tasks: 5159 (24m) du -cs tmp/deploy/images/stm32mp1-av96/openharmony-image-extra-stm32mp1-av96-20210301215709.rootfs.tar.xz 43420 Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com> --- meta-ohos-core/conf/distro/openharmony-linux.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-ohos-core/conf/distro/openharmony-linux.conf b/meta-ohos-core/conf/distro/openharmony-linux.conf index 2dfa572b..81a3a3b0 100644 --- a/meta-ohos-core/conf/distro/openharmony-linux.conf +++ b/meta-ohos-core/conf/distro/openharmony-linux.conf @@ -7,3 +7,6 @@ DISTRO_VERSION = "0.1" TCLIBC = "musl" INIT_MANAGER = "systemd" + +# Remove some of the default Poky DISTRO_FEATURES we inherited, but do not use. +DISTRO_FEATURES_remove = "nfc 3g pcmcia x11" -- GitLab