blob: c4d5bc8420226df1a93263a44d556471c27596ce [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"
Adriana Kobylak0998d1e2020-06-03 16:22:42 -05005PR = "r1"
6
Ed Tanous9936f862022-09-19 09:13:20 -07007SRC_URI += "file://mmc-init.sh"
8
9S = "${WORKDIR}"
10
Adriana Kobylak0998d1e2020-06-03 16:22:42 -050011inherit allarch
12
Ed Tanous9936f862022-09-19 09:13:20 -070013do_install() {
14 install -m 0755 ${WORKDIR}/mmc-init.sh ${D}/init
15 install -d ${D}/dev
16 mknod -m 622 ${D}/dev/console c 5 1
17}
18
Patrick Williams12fc9392021-08-06 09:16:53 -050019RDEPENDS:${PN} += " \
Isaac Kurth315698e2021-06-25 11:33:46 -050020 ${@d.getVar('PREFERRED_PROVIDER_u-boot-fw-utils', True) or 'u-boot-fw-utils'} \
Adriana Kobylak0998d1e2020-06-03 16:22:42 -050021 ${VIRTUAL-RUNTIME_base-utils} \
Adriana Kobylak5f6ccd02020-08-17 14:59:12 -050022 e2fsprogs-e2fsck \
Isaac Kurth315698e2021-06-25 11:33:46 -050023 e2fsprogs-mke2fs \
Adriana Kobylak0998d1e2020-06-03 16:22:42 -050024 gptfdisk \
Isaac Kurth50031952021-09-07 22:04:14 +000025 libgpiod-tools \
Adriana Kobylak0998d1e2020-06-03 16:22:42 -050026 parted \
27 udev \
28"
29
Patrick Williams12fc9392021-08-06 09:16:53 -050030FILES:${PN} += " /init /dev "