nm-image: Include mac address service only when requested
Each distro can choose to have custom mac-address by setting the flag custom-mac-addresses in DISTRO_FEATURES. BugzID: 65928
This commit is contained in:
parent
2d28aaeb1e
commit
79c0e2afd5
|
|
@ -3,7 +3,6 @@ require netmodule-linux-image.bb
|
||||||
IMAGE_INSTALL_remove_am335x-nmhw21 = " \
|
IMAGE_INSTALL_remove_am335x-nmhw21 = " \
|
||||||
battery-test \
|
battery-test \
|
||||||
socket-uart \
|
socket-uart \
|
||||||
mac-address-set \
|
|
||||||
"
|
"
|
||||||
|
|
||||||
COMPATIBLE_MACHINE = "am335x-nmhw21"
|
COMPATIBLE_MACHINE = "am335x-nmhw21"
|
||||||
|
|
|
||||||
|
|
@ -59,6 +59,7 @@ IMAGE_INSTALL_append = " \
|
||||||
nmhw-fwupdate \
|
nmhw-fwupdate \
|
||||||
${@bb.utils.contains("MACHINE_FEATURES", "imx-boot", "", "bootloader-config", d)} \
|
${@bb.utils.contains("MACHINE_FEATURES", "imx-boot", "", "bootloader-config", d)} \
|
||||||
mmc-utils \
|
mmc-utils \
|
||||||
|
${@bb.utils.contains("DISTRO_FEATURES", "custom-mac-addresses", "mac-address-set", "", d)} \
|
||||||
"
|
"
|
||||||
|
|
||||||
IMAGE_INSTALL_append_am335x-nrhw16 = " \
|
IMAGE_INSTALL_append_am335x-nrhw16 = " \
|
||||||
|
|
@ -77,7 +78,6 @@ IMAGE_INSTALL_append_am335x-nmhw21 = " \
|
||||||
battery-test \
|
battery-test \
|
||||||
cryptodev-module \
|
cryptodev-module \
|
||||||
socket-uart \
|
socket-uart \
|
||||||
mac-address-set \
|
|
||||||
imu-setup \
|
imu-setup \
|
||||||
gnss-mgr \
|
gnss-mgr \
|
||||||
chrony \
|
chrony \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue