meta-facebook: add packagegroup-security-tpm2 when tpm2 is enabled

Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I3e576e5f9f831a4f73cf9d048859f37d471f3ed7
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/meta-facebook/recipes-phosphor/images/obmc-phosphor-image.bbappend b/meta-facebook/recipes-phosphor/images/obmc-phosphor-image.bbappend
index 5755aa5..ba9cc1f 100644
--- a/meta-facebook/recipes-phosphor/images/obmc-phosphor-image.bbappend
+++ b/meta-facebook/recipes-phosphor/images/obmc-phosphor-image.bbappend
@@ -4,6 +4,6 @@
 
 OBMC_IMAGE_EXTRA_INSTALL:append = "\
     ${@bb.utils.contains('DISTRO_FEATURES', 'tpm', \
-        bb.utils.contains('MACHINE_FEATURES', 'tpm2', 'tpm2-tools', '', d), \
+        bb.utils.contains('MACHINE_FEATURES', 'tpm2', 'packagegroup-security-tpm2', '', d), \
         '', d)} \
     "