| SUMMARY = "Enforce static MAC addresses" |
| DESCRIPTION = "Set a priority on MAC addresses to run with: \ |
| factory-specified > u-boot-specified > random" |
| |
| FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
| |
| PR = "r1" |
| LICENSE = "Apache-2.0" |
| LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
| |
| inherit allarch |
| SRC_URI = "\ |
| file://mac-check \ |
| file://${PN}.service \ |
| " |
| |
| inherit obmc-phosphor-systemd |
| |
| SYSTEMD_SERVICE:${PN} += "${PN}.service" |
| |
| do_install() { |
| install -d ${D}${bindir} |
| install -m 0755 ${WORKDIR}/mac-check ${D}${bindir} |
| } |