commit | 194906ff83ff5fe23dae40c6fb5f053d7f500ab7 | [log] [tgz] |
---|---|---|
author | George Liu <liuxiwei@inspur.com> | Mon Jul 15 11:09:06 2019 +0800 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Tue Jul 23 09:00:05 2019 -0400 |
tree | fcc45f8cd49b7fcc07ec729822312285f90df93d | |
parent | 0e13b9cf8eb34654b2e9a66ab9900fdc7db0595e [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. (From meta-inspur rev: 3a9f4412953d415beec3208b0c63846a7badf6cb) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I80f38705b7773bf5d2feb0aebebf1a9feae3112f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/images/obmc-phosphor-image.bbappend b/meta-inspur/meta-fp5280g2/recipes-phosphor/images/obmc-phosphor-image.bbappend index a19860e..5248c34 100644 --- a/meta-inspur/meta-fp5280g2/recipes-phosphor/images/obmc-phosphor-image.bbappend +++ b/meta-inspur/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-inspur/meta-fp5280g2/recipes-phosphor/network/first-boot-set-mac_%.bbappend b/meta-inspur/meta-fp5280g2/recipes-phosphor/network/first-boot-set-mac_%.bbappend new file mode 100644 index 0000000..11c5295 --- /dev/null +++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/network/first-boot-set-mac_%.bbappend
@@ -0,0 +1 @@ +SYSTEMD_SERVICE_${PN} += "first-boot-set-mac@eth1.service"