Skip to content

Commit 82d17d3

Browse files
authored
qcom-console-image: disable package-management when using sota (#99)
The sota distro feature implies ostree-based system management, where the root filesystem is immutable and package operations are not supported. In this model, updates are delivered exclusively through ostree, so the traditional package-management image feature has no use. Update the image definition to add package-management only when sota is not enabled in DISTRO_FEATURES.
2 parents 6231a31 + 53c23d6 commit 82d17d3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

recipes-products/images/qcom-console-image.bb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ require qcom-minimal-image.bb
22

33
SUMMARY = "Basic console image"
44

5-
IMAGE_FEATURES += "package-management ssh-server-openssh"
5+
IMAGE_FEATURES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', '', 'package-management', d)} \
6+
ssh-server-openssh"
67

78
CORE_IMAGE_BASE_INSTALL += " \
89
packagegroup-qcom-utilities-debug-utils \

0 commit comments

Comments
 (0)