From 1e87b24277e45d5e198d6d62c9c28f6513e76e4d Mon Sep 17 00:00:00 2001
From: Andrei Gherzan <andrei.gherzan@huawei.com>
Date: Thu, 7 Oct 2021 12:13:07 +0100
Subject: [PATCH] allscenarios-image-extra: Drop package-management image
 feature

Having a runtime package management tool on a read-only filesystsem
doesn't help much. We could support something in that regards for
development mode but at this point we don't have a defined story for it.
So let's drop it to not confuse users.

Fixes: https://git.ostc-eu.org/OSTC/OHOS/meta-ohos/-/issues/148
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 .../recipes-core/images/allscenarios-image-extra.bb          | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta-ohos-core/recipes-core/images/allscenarios-image-extra.bb b/meta-ohos-core/recipes-core/images/allscenarios-image-extra.bb
index 07320c84..9245686b 100644
--- a/meta-ohos-core/recipes-core/images/allscenarios-image-extra.bb
+++ b/meta-ohos-core/recipes-core/images/allscenarios-image-extra.bb
@@ -7,3 +7,8 @@ require allscenarios-image-common.inc
 
 SUMMARY = "AllScenariOS Wayland image including the base OS \
 software stack"
+
+# The weston image pulls in package manager. We have a root filesystem that is
+# defaulted to read-only so a package manager would make little sense using
+# such a image feature.
+IMAGE_FEATURES_remove = "package-management"
-- 
GitLab