diff options
author | Potin Lai <potin.lai@quantatw.com> | 2023-01-09 16:21:01 +0300 |
---|---|---|
committer | Potin Lai <potin.lai@quantatw.com> | 2023-01-09 16:29:29 +0300 |
commit | 7503b441052575d49568f80c236a228edc8d2aae (patch) | |
tree | c9cbbaa1d3df2568f2451c421e8f23eef9b92038 /meta-facebook/meta-bletchley/recipes-phosphor | |
parent | 9e99bc61ffaf62097fd47d44996b01040275f094 (diff) | |
download | openbmc-7503b441052575d49568f80c236a228edc8d2aae.tar.xz |
meta-bletchley: phosphor-network: temporary revert SRCREV
Temporary revert phosphor-network SRCREV back to the commit sync-mac
feature still working.
Tesed result:
```
root@bletchley:~# journalctl -u xyz.openbmc_project.Network
Jan 09 05:01:04 bletchley systemd[1]: Starting Phosphor Network Manager...
Jan 09 05:01:05 bletchley phosphor-network-manager[539]: Force sync enabled, check VPD for MAC
Jan 09 05:01:08 bletchley systemd[1]: Started Phosphor Network Manager.
Jan 09 05:01:09 bletchley phosphor-network-manager[539]: Refreshing the objects.
Jan 09 05:01:09 bletchley phosphor-network-manager[539]: Unable to get the value of Network[DHCP] from /etc/systemd/network/00-bmc-eth0.network
Jan 09 05:01:09 bletchley phosphor-network-manager[539]: Unable to get the value of Network[IPv6AcceptRA] from /etc/systemd/network/00-bmc-eth0.network
Jan 09 05:01:16 bletchley phosphor-network-manager[539]: Unable to get the value of DHCP[UseDNS] from /etc/systemd/network/00-bmc-lo.network
Jan 09 05:01:16 bletchley phosphor-network-manager[539]: Unable to get the value of DHCP[UseNTP] from /etc/systemd/network/00-bmc-lo.network
Jan 09 05:01:16 bletchley phosphor-network-manager[539]: Unable to get the value of DHCP[UseHostname] from /etc/systemd/network/00-bmc-lo.network
Jan 09 05:01:16 bletchley phosphor-network-manager[539]: Unable to get the value of DHCP[SendHostname] from /etc/systemd/network/00-bmc-lo.network
Jan 09 05:01:16 bletchley phosphor-network-manager[539]: Refreshing complete.
Jan 09 05:01:16 bletchley phosphor-network-manager[539]: Wrote networkd file: /etc/systemd/network/00-bmc-eth0.network
Jan 09 05:01:17 bletchley phosphor-network-manager[539]: Set the MAC on
Jan 09 05:01:17 bletchley phosphor-network-manager[539]: Removing the match for ethernet interfaces
Jan 09 05:01:19 bletchley phosphor-network-manager[539]: Sending networkd reload
Jan 09 05:01:19 bletchley phosphor-network-manager[539]: Done networkd reload
root@bletchley:~# busctl introspect xyz.openbmc_project.Inventory.Manager /xyz/openbmc_project/inventory/system/chassis/bmc/ethernet xyz.openbmc_project.Inventory.Item.NetworkInterface
NAME TYPE SIGNATURE RESULT/VALUE FLAGS
.MACAddress property s "C01850F1D796" emits-change writable
root@bletchley:~# ifconfig eth0
eth0 Link encap:Ethernet HWaddr C0:18:50:F1:D7:96
inet addr:10.10.11.126 Bcast:10.10.255.255 Mask:255.255.0.0
inet6 addr: 2019:7::c218:50ff:fef1:d796/64 Scope:Global
inet6 addr: fe80::c218:50ff:fef1:d796/64 Scope:Link
inet6 addr: 2018:5::c9d3/128 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:98845 errors:0 dropped:30955 overruns:0 frame:0
TX packets:267 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9565630 (9.1 MiB) TX bytes:32516 (31.7 KiB)
Interrupt:34
```
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: Ie32fd892a711f74a52f3a51e9e20634f69c416e7
Diffstat (limited to 'meta-facebook/meta-bletchley/recipes-phosphor')
-rw-r--r-- | meta-facebook/meta-bletchley/recipes-phosphor/network/phosphor-network_%.bbappend | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-facebook/meta-bletchley/recipes-phosphor/network/phosphor-network_%.bbappend b/meta-facebook/meta-bletchley/recipes-phosphor/network/phosphor-network_%.bbappend index 595088881b..9b96b1de6f 100644 --- a/meta-facebook/meta-bletchley/recipes-phosphor/network/phosphor-network_%.bbappend +++ b/meta-facebook/meta-bletchley/recipes-phosphor/network/phosphor-network_%.bbappend @@ -1,5 +1,7 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" +SRCREV = "ef2b28ee4699abaa2770bb333cd889b7f71e2e45" + PACKAGECONFIG:append = " sync-mac" EXTRA_OEMESON = "-Dforce-sync-mac=true" |