Adriana Kobylak | 0998d1e | 2020-06-03 16:22:42 -0500 | [diff] [blame] | 1 | SUMMARY = "Phosphor OpenBMC pre-init scripts for mmc" |
| 2 | DESCRIPTION = "Phosphor OpenBMC filesystem mount implementation for mmc." |
| 3 | LICENSE = "Apache-2.0" |
| 4 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
| 5 | |
| 6 | PR = "r1" |
| 7 | |
| 8 | inherit allarch |
| 9 | |
| 10 | RDEPENDS_${PN} += " \ |
| 11 | ${VIRTUAL-RUNTIME_base-utils} \ |
Adriana Kobylak | 5f6ccd0 | 2020-08-17 14:59:12 -0500 | [diff] [blame^] | 12 | e2fsprogs-e2fsck \ |
Adriana Kobylak | 0998d1e | 2020-06-03 16:22:42 -0500 | [diff] [blame] | 13 | gptfdisk \ |
| 14 | parted \ |
| 15 | udev \ |
| 16 | " |
| 17 | |
| 18 | S = "${WORKDIR}" |
| 19 | SRC_URI += "file://mmc-init.sh" |
| 20 | |
| 21 | do_install() { |
| 22 | install -m 0755 ${WORKDIR}/mmc-init.sh ${D}/init |
| 23 | install -d ${D}/dev |
| 24 | mknod -m 622 ${D}/dev/console c 5 1 |
| 25 | } |
| 26 | |
| 27 | FILES_${PN} += " /init /dev " |