Currently, if a target image does not contain the rpm database,
any rpm queries that anaconda executes will fail.

To fix this, add the rpm database to all images.

Signed-off-by: Ovidiu Panait <ovidiu.pan...@windriver.com>
---
 classes/anaconda_support_image.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/classes/anaconda_support_image.bbclass 
b/classes/anaconda_support_image.bbclass
index 71a5d96..ce48616 100644
--- a/classes/anaconda_support_image.bbclass
+++ b/classes/anaconda_support_image.bbclass
@@ -1,5 +1,5 @@
 FEATURE_PACKAGES_anaconda-support = "packagegroup-anaconda-support"
-IMAGE_FEATURES_append = " anaconda-support"
+IMAGE_FEATURES_append = " anaconda-support package-management"
 
 # Generate filesystem images for image copy install
 IMAGE_FSTYPES += "ext4"
-- 
2.20.1

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to