From 5f6ccd024351e485e76066bed2e9fdad5ef4e869 Mon Sep 17 00:00:00 2001 From: Adriana Kobylak Date: Mon, 17 Aug 2020 14:59:12 -0500 Subject: 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 Signed-off-by: Andrew Geissler --- meta-phosphor/recipes-phosphor/initrdscripts/phosphor-mmc-init.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta-phosphor') diff --git a/meta-phosphor/recipes-phosphor/initrdscripts/phosphor-mmc-init.bb b/meta-phosphor/recipes-phosphor/initrdscripts/phosphor-mmc-init.bb index 45ae452c7..0c7a88cd9 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 @@ inherit allarch RDEPENDS_${PN} += " \ ${VIRTUAL-RUNTIME_base-utils} \ + e2fsprogs-e2fsck \ gptfdisk \ parted \ udev \ -- cgit v1.2.3