summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/flash
diff options
context:
space:
mode:
authorAdriana Kobylak <anoo@us.ibm.com>2023-05-22 23:54:42 +0300
committerAdriana Kobylak <anoo@linux.ibm.com>2023-05-25 00:45:40 +0300
commit029e150d7b9df36ca730a1062d562ffea7140358 (patch)
treea324dc5dd7e79dc5406ab8d9169d9e9bcb85c934 /meta-phosphor/recipes-phosphor/flash
parenta3c09a82810ddfe52a25dfb9705aa3a9c3d75eeb (diff)
downloadopenbmc-029e150d7b9df36ca730a1062d562ffea7140358.tar.xz
phosphor-software-manager: mmc: Add fsck.ext*
Add the fsck.ext* binaries to the mmc images so that the software updater can run fsck on the alternate image on every boot to catch corruption in case the BMC rebooted in the middle of a code update for example. The dependency needs to be added in the RDEPENDS section instead of the PACKAGECONFIG because the packages created by this recipe are named ${PN}-* and adding a dependency via the PACKAGECONFIG adds the RDEPENDS to ${PN} which is not a valid package. Tested: Verified that the fsck.ext* binaries are available in /sbin/. Change-Id: Iee56d489c048a712b17f8befd9ea6c01b6625fbe Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Diffstat (limited to 'meta-phosphor/recipes-phosphor/flash')
-rw-r--r--meta-phosphor/recipes-phosphor/flash/phosphor-software-manager_git.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/flash/phosphor-software-manager_git.bb b/meta-phosphor/recipes-phosphor/flash/phosphor-software-manager_git.bb
index df814b4c26..3902e83e8b 100644
--- a/meta-phosphor/recipes-phosphor/flash/phosphor-software-manager_git.bb
+++ b/meta-phosphor/recipes-phosphor/flash/phosphor-software-manager_git.bb
@@ -68,6 +68,7 @@ RDEPENDS:${PN}-updater += " \
bash \
virtual-obmc-image-manager \
${@bb.utils.contains('PACKAGECONFIG', 'verify_signature', 'phosphor-image-signing', '', d)} \
+ ${@bb.utils.contains('PACKAGECONFIG', 'mmc_layout', 'e2fsprogs-e2fsck', '', d)} \
"
RPROVIDES:${PN}-version += " \