blob: 88807c0f010798fa0a0b12f51c9878b85a06ec13 [file] [log] [blame]
Adriana Kobylak0998d1e2020-06-03 16:22:42 -05001SUMMARY = "Phosphor OpenBMC pre-init scripts for mmc"
2DESCRIPTION = "Phosphor OpenBMC filesystem mount implementation for mmc."
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
5
6PR = "r1"
7
8inherit allarch
9
Patrick Williams12fc9392021-08-06 09:16:53 -050010RDEPENDS:${PN} += " \
Isaac Kurth315698e2021-06-25 11:33:46 -050011 ${@d.getVar('PREFERRED_PROVIDER_u-boot-fw-utils', True) or 'u-boot-fw-utils'} \
Adriana Kobylak0998d1e2020-06-03 16:22:42 -050012 ${VIRTUAL-RUNTIME_base-utils} \
Adriana Kobylak5f6ccd02020-08-17 14:59:12 -050013 e2fsprogs-e2fsck \
Isaac Kurth315698e2021-06-25 11:33:46 -050014 e2fsprogs-mke2fs \
Adriana Kobylak0998d1e2020-06-03 16:22:42 -050015 gptfdisk \
16 parted \
17 udev \
18"
19
20S = "${WORKDIR}"
21SRC_URI += "file://mmc-init.sh"
22
23do_install() {
24 install -m 0755 ${WORKDIR}/mmc-init.sh ${D}/init
25 install -d ${D}/dev
26 mknod -m 622 ${D}/dev/console c 5 1
27}
28
Patrick Williams12fc9392021-08-06 09:16:53 -050029FILES:${PN} += " /init /dev "