blob: 45ae452c75c35543401cf10bfbe2c15d98395020 [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
10RDEPENDS_${PN} += " \
11 ${VIRTUAL-RUNTIME_base-utils} \
12 gptfdisk \
13 parted \
14 udev \
15"
16
17S = "${WORKDIR}"
18SRC_URI += "file://mmc-init.sh"
19
20do_install() {
21 install -m 0755 ${WORKDIR}/mmc-init.sh ${D}/init
22 install -d ${D}/dev
23 mknod -m 622 ${D}/dev/console c 5 1
24}
25
26FILES_${PN} += " /init /dev "