diff options
author | manojkiran.eda@gmail.com <manojeda@in.ibm.com> | 2020-05-18 12:57:44 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-06-18 21:44:30 +0300 |
commit | a250e50e814414c2f24e9028c661e5811f6dde5d (patch) | |
tree | 47067532e42e5eea52156ec9edcd4b24ae8a0a5d /meta-ibm/recipes-phosphor | |
parent | df57e3a63ccc7adcf2d8aabe6586295e97a954d9 (diff) | |
download | openbmc-a250e50e814414c2f24e9028c661e5811f6dde5d.tar.xz |
Remove first-boot-set-mac service for IBM machines
- This commit removes the first-boot-set-mac service as the
similar and a better functionaly is now implemented in
phosphor-networkd service.
- Here are the few disadvantages of the first-boot-set-mac service
1. The first-boot-set-mac is a script is not scalable with the
increase in the number of ethernet interfaces.
2. Why do we need a new service just for setting the MAC Address
when the network service alone can do it , and it makes sense
to tie up this feature with Network as setting MAC address
functionality is implemented and owned by networkd.
3. With first-boot-set MAC, we need to make sure the VPD is populated
before , if for any reason the VPD is not generated the first-boot
service cannot help set the MAC.
(From meta-ibm rev: 8638c6eb8d54507b632088b329c104e859cd8d19)
Signed-off-by: manojkiran.eda@gmail.com <manojeda@in.ibm.com>
Change-Id: I955834b56c28f9a311563dd40607c8f2ba305d40
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-ibm/recipes-phosphor')
-rw-r--r-- | meta-ibm/recipes-phosphor/images/obmc-phosphor-image.bbappend | 4 | ||||
-rw-r--r-- | meta-ibm/recipes-phosphor/network/first-boot-set-mac_%.bbappend | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/meta-ibm/recipes-phosphor/images/obmc-phosphor-image.bbappend b/meta-ibm/recipes-phosphor/images/obmc-phosphor-image.bbappend index 562679222..0fb880fac 100644 --- a/meta-ibm/recipes-phosphor/images/obmc-phosphor-image.bbappend +++ b/meta-ibm/recipes-phosphor/images/obmc-phosphor-image.bbappend @@ -1,3 +1,3 @@ -OBMC_IMAGE_EXTRA_INSTALL_append_ibm-ac-server = " mboxd max31785-msl phosphor-msl-verify liberation-fonts uart-render-controller first-boot-set-mac first-boot-set-hostname" +OBMC_IMAGE_EXTRA_INSTALL_append_ibm-ac-server = " mboxd max31785-msl phosphor-msl-verify liberation-fonts uart-render-controller first-boot-set-hostname" OBMC_IMAGE_EXTRA_INSTALL_append_rainier = " mboxd" -OBMC_IMAGE_EXTRA_INSTALL_append_mihawk = " mboxd liberation-fonts uart-render-controller first-boot-set-mac" +OBMC_IMAGE_EXTRA_INSTALL_append_mihawk = " mboxd liberation-fonts uart-render-controller " diff --git a/meta-ibm/recipes-phosphor/network/first-boot-set-mac_%.bbappend b/meta-ibm/recipes-phosphor/network/first-boot-set-mac_%.bbappend deleted file mode 100644 index fc8f6b861..000000000 --- a/meta-ibm/recipes-phosphor/network/first-boot-set-mac_%.bbappend +++ /dev/null @@ -1,2 +0,0 @@ -SYSTEMD_SERVICE_${PN}_append_ibm-ac-server = " first-boot-set-mac@eth0.service" -SYSTEMD_SERVICE_${PN}_append_mihawk = " first-boot-set-mac@eth0.service first-boot-set-mac@eth1.service"
\ No newline at end of file |