Add phosphor-image-signing if verify_signature is enabled
The phosphor-image-signing adds the public key to the BMC rootfs
and it was added if the UBI distro was enabled.
The phosphor-software-manager supports signature verification
regardless of the choice of BMC layout, so add it based if the
signature verification config (verify_signture) is enabled.
Otherwise the user would need to know that the package
phosphor-image-signing needed to be added if the signature
verification config was enabled, which is not intuitive. This way
it's done automatically.
Tested: Verified that adding verify_signature resulted in the
/etc/activationdata/ directory being added to the BMC
rootfs, and without it no directory was created.
Change-Id: I2c03ab67d925c9b8a7ad0f95bce56b909767cea2
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2 files changed