Thang Q. Nguyen | 72eb151 | 2021-02-06 01:22:45 +0000 | [diff] [blame] | 1 | SUMMARY = "Ampere Computing LLC Update MAC Address from FRU Inventory Information" |
| 2 | DESCRIPTION = "Update MAC Address from FRU Inventory Information for Ampere systems" |
| 3 | PR = "r1" |
| 4 | |
| 5 | LICENSE = "Apache-2.0" |
| 6 | |
| 7 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
| 8 | |
| 9 | inherit systemd |
| 10 | inherit obmc-phosphor-systemd |
| 11 | |
| 12 | DEPENDS = "systemd" |
Thang Q. Nguyen | fa1aa4d | 2021-08-07 05:09:50 +0000 | [diff] [blame] | 13 | RDEPENDS:${PN} = "bash" |
Thang Q. Nguyen | 72eb151 | 2021-02-06 01:22:45 +0000 | [diff] [blame] | 14 | |
Thang Q. Nguyen | fa1aa4d | 2021-08-07 05:09:50 +0000 | [diff] [blame] | 15 | FILESEXTRAPATHS:append := "${THISDIR}/${PN}:" |
Thang Q. Nguyen | 72eb151 | 2021-02-06 01:22:45 +0000 | [diff] [blame] | 16 | |
| 17 | SRC_URI += " \ |
| 18 | file://ampere_update_mac.sh \ |
| 19 | " |
| 20 | |
Thang Q. Nguyen | fa1aa4d | 2021-08-07 05:09:50 +0000 | [diff] [blame] | 21 | SYSTEMD_SERVICE:${PN} = "ampere_update_mac.service" |
Thang Q. Nguyen | 72eb151 | 2021-02-06 01:22:45 +0000 | [diff] [blame] | 22 | |
Thang Q. Nguyen | fa1aa4d | 2021-08-07 05:09:50 +0000 | [diff] [blame] | 23 | do_install:append() { |
Thang Q. Nguyen | 72eb151 | 2021-02-06 01:22:45 +0000 | [diff] [blame] | 24 | install -d ${D}/${sbindir} |
| 25 | install -m 755 ${WORKDIR}/ampere_update_mac.sh ${D}/${sbindir} |
| 26 | } |