diff options
author | Adriana Kobylak <anoo@us.ibm.com> | 2020-08-17 22:59:12 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-09-01 22:09:42 +0300 |
commit | 5f6ccd024351e485e76066bed2e9fdad5ef4e869 (patch) | |
tree | f7647bbd7e71f1d19aa61820804df7b8376fcca3 /meta-phosphor/recipes-phosphor/initrdscripts | |
parent | f8039462db718574675c03d4f9473a13164744e0 (diff) | |
download | openbmc-5f6ccd024351e485e76066bed2e9fdad5ef4e869.tar.xz |
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>
Diffstat (limited to 'meta-phosphor/recipes-phosphor/initrdscripts')
-rw-r--r-- | meta-phosphor/recipes-phosphor/initrdscripts/phosphor-mmc-init.bb | 1 |
1 files changed, 1 insertions, 0 deletions
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 \ |