Milton D. Miller II | d89d5e0 | 2016-01-20 14:57:54 -0600 | [diff] [blame] | 1 | SUMMARY = "Phosphor OpenBMC pre-init scripts" |
| 2 | DESCRIPTION = "Phosphor OpenBMC filesytem mount reference implementation." |
| 3 | PR = "r1" |
| 4 | |
| 5 | inherit obmc-phosphor-license |
| 6 | inherit obmc-phosphor-initfs |
| 7 | |
| 8 | S = "${WORKDIR}" |
| 9 | SRC_URI += "file://obmc-init.sh" |
| 10 | SRC_URI += "file://obmc-shutdown.sh" |
| 11 | SRC_URI += "file://obmc-update.sh" |
| 12 | SRC_URI += "file://whitelist" |
| 13 | |
| 14 | do_install() { |
| 15 | install -m 0755 ${WORKDIR}/obmc-init.sh ${D}/init |
| 16 | install -m 0755 ${WORKDIR}/obmc-shutdown.sh ${D}/shutdown |
| 17 | install -m 0755 ${WORKDIR}/obmc-update.sh ${D}/update |
| 18 | install -m 0644 ${WORKDIR}/whitelist ${D}/whitelist |
| 19 | install -d ${D}/dev |
| 20 | mknod -m 622 ${D}/dev/console c 5 1 |
| 21 | } |
| 22 | |
| 23 | FILES_${PN} += " /init /shutdown /update /whitelist /dev " |