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" |
Adriana Kobylak | 0998d1e | 2020-06-03 16:22:42 -0500 | [diff] [blame] | 5 | PR = "r1" |
| 6 | |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 7 | SRC_URI += "file://mmc-init.sh" |
| 8 | |
| 9 | S = "${WORKDIR}" |
| 10 | |
Adriana Kobylak | 0998d1e | 2020-06-03 16:22:42 -0500 | [diff] [blame] | 11 | inherit allarch |
| 12 | |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 13 | do_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 Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 19 | RDEPENDS:${PN} += " \ |
Isaac Kurth | 315698e | 2021-06-25 11:33:46 -0500 | [diff] [blame] | 20 | ${@d.getVar('PREFERRED_PROVIDER_u-boot-fw-utils', True) or 'u-boot-fw-utils'} \ |
Adriana Kobylak | 0998d1e | 2020-06-03 16:22:42 -0500 | [diff] [blame] | 21 | ${VIRTUAL-RUNTIME_base-utils} \ |
Adriana Kobylak | 5f6ccd0 | 2020-08-17 14:59:12 -0500 | [diff] [blame] | 22 | e2fsprogs-e2fsck \ |
Isaac Kurth | 315698e | 2021-06-25 11:33:46 -0500 | [diff] [blame] | 23 | e2fsprogs-mke2fs \ |
Adriana Kobylak | 0998d1e | 2020-06-03 16:22:42 -0500 | [diff] [blame] | 24 | gptfdisk \ |
Isaac Kurth | 5003195 | 2021-09-07 22:04:14 +0000 | [diff] [blame] | 25 | libgpiod-tools \ |
Adriana Kobylak | 0998d1e | 2020-06-03 16:22:42 -0500 | [diff] [blame] | 26 | parted \ |
| 27 | udev \ |
| 28 | " |
| 29 | |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 30 | FILES:${PN} += " /init /dev " |