summaryrefslogtreecommitdiff
path: root/meta-ampere/meta-mitchell/recipes-ampere/platform/ampere-mac-update/ampere_update_mac.service
diff options
context:
space:
mode:
authorThang Q. Nguyen <thang@os.amperecomputing.com>2023-11-06 06:37:22 +0300
committerThang Q. Nguyen <thang@os.amperecomputing.com>2023-11-21 10:41:53 +0300
commitf7150ec37089cb4de33587ce004901314876b9df (patch)
tree98d27d2a18ead012d36e4332b39aa964a6e073cf /meta-ampere/meta-mitchell/recipes-ampere/platform/ampere-mac-update/ampere_update_mac.service
parent437b4b9afa8b463958b2d741db212a5e30fc2cf6 (diff)
downloadopenbmc-f7150ec37089cb4de33587ce004901314876b9df.tar.xz
meta-ampere: mtmitchell: network: use sync-mac for MAC from FRU
Switch to use phosphor-networkd's sync-mac feature to get and use MAC address from FRU, replacing Ampere approach. Tested: 1. Boot the BMC to Linux and login to console 2. Get BMC MAC address in FRU $ ipmitool fru print 1 | grep "Board Extra" Board Extra : B4:05:5D:E1:01:BC 3. Check eth0 HWaddr with MAC in FRU $ ifconfig eth0 | grep HWaddr eth0 Link encap:Ethernet HWaddr B4:05:5D:E1:01:BC Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Signed-off-by: Khang Nguyen <khangng@amperecomputing.com> Change-Id: Ia31589bf75306ad5a3639cb46a73813957e85e9d
Diffstat (limited to 'meta-ampere/meta-mitchell/recipes-ampere/platform/ampere-mac-update/ampere_update_mac.service')
-rw-r--r--meta-ampere/meta-mitchell/recipes-ampere/platform/ampere-mac-update/ampere_update_mac.service16
1 files changed, 0 insertions, 16 deletions
diff --git a/meta-ampere/meta-mitchell/recipes-ampere/platform/ampere-mac-update/ampere_update_mac.service b/meta-ampere/meta-mitchell/recipes-ampere/platform/ampere-mac-update/ampere_update_mac.service
deleted file mode 100644
index c816fac6d2..0000000000
--- a/meta-ampere/meta-mitchell/recipes-ampere/platform/ampere-mac-update/ampere_update_mac.service
+++ /dev/null
@@ -1,16 +0,0 @@
-[Unit]
-Description=Updating MAC Address Service From FRU inventory
-Requires=xyz.openbmc_project.EntityManager.service
-After=xyz.openbmc_project.EntityManager.service
-StartLimitInterval=25
-StartLimitBurst=5
-
-[Service]
-ExecStart=/usr/sbin/ampere_update_mac.sh eth0 14 80
-SyslogIdentifier=ampere_update_mac.sh
-RemainAfterExit=yes
-Restart=on-failure
-RestartSec=5
-
-[Install]
-WantedBy={SYSTEMD_DEFAULT_TARGET}