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
Change-Id: I57830d537f49cd68ec74fafcc052159bf14674a1
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/recipes-phosphor/initrdscripts/phosphor-mmc-init.bb b/recipes-phosphor/initrdscripts/phosphor-mmc-init.bb
index 45ae452..0c7a88c 100644
--- a/recipes-phosphor/initrdscripts/phosphor-mmc-init.bb
+++ b/recipes-phosphor/initrdscripts/phosphor-mmc-init.bb
@@ -9,6 +9,7 @@
RDEPENDS_${PN} += " \
${VIRTUAL-RUNTIME_base-utils} \
+ e2fsprogs-e2fsck \
gptfdisk \
parted \
udev \