Add these two packages to ensure media gets mounted correct and the modules are 
loaded, they
are needed in both the core image and the initramfs

Signed-off-by: Saul Wold <s...@linux.intel.com>
---
 recipes-tpm/images/core-image-tpm-initramfs.bb | 2 ++
 recipes-tpm/images/core-image-tpm.inc          | 3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/recipes-tpm/images/core-image-tpm-initramfs.bb 
b/recipes-tpm/images/core-image-tpm-initramfs.bb
index 16b009f..f17e37d 100644
--- a/recipes-tpm/images/core-image-tpm-initramfs.bb
+++ b/recipes-tpm/images/core-image-tpm-initramfs.bb
@@ -7,9 +7,11 @@ IMAGE_INSTALL = " \
     initramfs-boot-tpm \
     busybox \
     udev \
+    udev-extraconf \
     base-passwd \
     packagegroup-tpm \
     coreutils \
+    kmod \
     "
 
 # Do not pollute the initrd image with rootfs features
diff --git a/recipes-tpm/images/core-image-tpm.inc 
b/recipes-tpm/images/core-image-tpm.inc
index 7024d33..10a3ce0 100644
--- a/recipes-tpm/images/core-image-tpm.inc
+++ b/recipes-tpm/images/core-image-tpm.inc
@@ -6,7 +6,8 @@ LICENSE = "MIT"
 
 IMAGE_INSTALL += "\
        ${CORE_IMAGE_BASE_INSTALL} \
-       packagegroup-core-basic \
+       kmod udev-extraconf \
+       packagegroup-core-boot \
        packagegroup-tpm \
        packagegroup-tboot \
 "
-- 
1.8.3.1

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

Reply via email to