blob: b6ddfad80f51cbfc4b7e3a77811f2804ebc680ba [file] [log] [blame]
Thang Q. Nguyen72eb1512021-02-06 01:22:45 +00001SUMMARY = "Ampere Computing LLC Update MAC Address from FRU Inventory Information"
2DESCRIPTION = "Update MAC Address from FRU Inventory Information for Ampere systems"
3PR = "r1"
4
5LICENSE = "Apache-2.0"
6
7LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
8
9inherit systemd
10inherit obmc-phosphor-systemd
11
12DEPENDS = "systemd"
Thang Q. Nguyenfa1aa4d2021-08-07 05:09:50 +000013RDEPENDS:${PN} = "bash"
Thang Q. Nguyen72eb1512021-02-06 01:22:45 +000014
Thang Q. Nguyenfa1aa4d2021-08-07 05:09:50 +000015FILESEXTRAPATHS:append := "${THISDIR}/${PN}:"
Thang Q. Nguyen72eb1512021-02-06 01:22:45 +000016
17SRC_URI += " \
18 file://ampere_update_mac.sh \
19 "
20
Thang Q. Nguyenfa1aa4d2021-08-07 05:09:50 +000021SYSTEMD_SERVICE:${PN} = "ampere_update_mac.service"
Thang Q. Nguyen72eb1512021-02-06 01:22:45 +000022
Thang Q. Nguyenfa1aa4d2021-08-07 05:09:50 +000023do_install:append() {
Thang Q. Nguyen72eb1512021-02-06 01:22:45 +000024 install -d ${D}/${sbindir}
25 install -m 755 ${WORKDIR}/ampere_update_mac.sh ${D}/${sbindir}
26}