phosphor-mmc-init: Add fsck.ext4
Add fsck.ext4 to the eMMC initramfs to be able to manually correct
ext4 errors, fsck.ext4 already exists in user space.
Tested: Verified it was added to the initramfs:
/ # which fsck.ext4
/sbin/fsck.ext4
/ # fsck.ext4 /dev/mmcblk0p2
e2fsck 1.45.6 (20-Mar-2020)
boot-a: clean, 12/8192 files, 12464/65536 blocks
(From meta-phosphor rev: d6b1a2682168006ad8445b300b2cca1edc6fcbfc)
Change-Id: If5931bea4da7485109aff64cba5d37722abd3dc9
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/meta-phosphor/recipes-phosphor/initrdscripts/phosphor-mmc-init.bb b/meta-phosphor/recipes-phosphor/initrdscripts/phosphor-mmc-init.bb
index 45ae452..0c7a88c 100644
--- a/meta-phosphor/recipes-phosphor/initrdscripts/phosphor-mmc-init.bb
+++ b/meta-phosphor/recipes-phosphor/initrdscripts/phosphor-mmc-init.bb
@@ -9,6 +9,7 @@
RDEPENDS_${PN} += " \
${VIRTUAL-RUNTIME_base-utils} \
+ e2fsprogs-e2fsck \
gptfdisk \
parted \
udev \