blob: ebfc7b02cefcc4be2320ae80d0ba238d143b1f28 [file] [log] [blame]
Lotus Xu58c48862020-10-27 15:00:31 +08001SUMMARY = "Enforce static MAC addresses"
2DESCRIPTION = "Set a priority on MAC addresses to run with: \
3 factory-specified > u-boot-specified > random"
4
Lei YU05e5f0b2021-08-12 11:08:52 +08005FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
Lotus Xu58c48862020-10-27 15:00:31 +08006
7PR = "r1"
8LICENSE = "Apache-2.0"
9LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
10
11inherit allarch
12SRC_URI = "\
13 file://mac-check \
14 file://${PN}.service \
15 "
16
17inherit obmc-phosphor-systemd
18
Lei YU05e5f0b2021-08-12 11:08:52 +080019SYSTEMD_SERVICE:${PN} += "${PN}.service"
Lotus Xu58c48862020-10-27 15:00:31 +080020
21do_install() {
22 install -d ${D}${bindir}
23 install -m 0755 ${WORKDIR}/mac-check ${D}${bindir}
24}
Patrick Williams2ceeb112023-04-14 08:45:22 -050025
26RDEPENDS:${PN}:append = " bash"