blob: ebfc7b02cefcc4be2320ae80d0ba238d143b1f28 [file] [log] [blame]
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}
}
RDEPENDS:${PN}:append = " bash"