commit | 3a9f4412953d415beec3208b0c63846a7badf6cb | [log] [tgz] |
---|---|---|
author | George Liu <liuxiwei@inspur.com> | Mon Jul 15 11:09:06 2019 +0800 |
committer | John Wang <wangzq.jn@gmail.com> | Tue Jul 23 01:41:41 2019 +0000 |
tree | c275620b943d41893c83beb2431b5492c1bac2d8 | |
parent | 65f5494753ac5d477fb96aa163c0a8f633aaa078 [diff] |
fp5280g2: Setting the mac address on first boot. Tested: Built a fp5280g2 image and manually clear the `ethaddr` env in u-boot, and verify the mac address is synced to u-boot. Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I96c1422721efa55a3ee72504a021a0381fce695c
diff --git a/meta-fp5280g2/recipes-phosphor/images/obmc-phosphor-image.bbappend b/meta-fp5280g2/recipes-phosphor/images/obmc-phosphor-image.bbappend index a19860e..5248c34 100644 --- a/meta-fp5280g2/recipes-phosphor/images/obmc-phosphor-image.bbappend +++ b/meta-fp5280g2/recipes-phosphor/images/obmc-phosphor-image.bbappend
@@ -1 +1 @@ -OBMC_IMAGE_EXTRA_INSTALL_append_fp5280g2 = " mboxd liberation-fonts uart-render-controller" +OBMC_IMAGE_EXTRA_INSTALL_append_fp5280g2 = " mboxd liberation-fonts uart-render-controller first-boot-set-mac"
diff --git a/meta-fp5280g2/recipes-phosphor/network/first-boot-set-mac_%.bbappend b/meta-fp5280g2/recipes-phosphor/network/first-boot-set-mac_%.bbappend new file mode 100644 index 0000000..11c5295 --- /dev/null +++ b/meta-fp5280g2/recipes-phosphor/network/first-boot-set-mac_%.bbappend
@@ -0,0 +1 @@ +SYSTEMD_SERVICE_${PN} += "first-boot-set-mac@eth1.service"