networkmanager-conf: Setup DHCP for nrhw20
Custom config for HW20 with DHCP on the 4 lans of the switch instead of 4 different static subnets. BugzID: 60765
This commit is contained in:
parent
24a56a9212
commit
a61b878ee0
|
|
@ -20,7 +20,8 @@ SRC_URI = " \
|
||||||
"
|
"
|
||||||
|
|
||||||
SRC_URI_append_am335x-nrhw20 = " \
|
SRC_URI_append_am335x-nrhw20 = " \
|
||||||
file://system-connections.tar.gz \
|
file://system-connections-static.tar.gz \
|
||||||
|
file://system-connections-dhcp.tar.gz \
|
||||||
"
|
"
|
||||||
|
|
||||||
do_install () {
|
do_install () {
|
||||||
|
|
@ -44,7 +45,11 @@ do_install () {
|
||||||
|
|
||||||
do_install_append_am335x-nrhw20() {
|
do_install_append_am335x-nrhw20() {
|
||||||
rm -rf ${D}${sysconfdir}/NetworkManager/system-connections/*
|
rm -rf ${D}${sysconfdir}/NetworkManager/system-connections/*
|
||||||
install -m 0600 ${WORKDIR}/system-connections/* ${D}${sysconfdir}/NetworkManager/system-connections/
|
if ${@bb.utils.contains('PACKAGECONFIG','ethernet-dhcp','true','false',d)}; then
|
||||||
|
install -m 0600 ${WORKDIR}/system-connections-dhcp/* ${D}${sysconfdir}/NetworkManager/system-connections/
|
||||||
|
else
|
||||||
|
install -m 0600 ${WORKDIR}/system-connections-static/* ${D}${sysconfdir}/NetworkManager/system-connections/
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install_append_armada-385-nrhw18() {
|
do_install_append_armada-385-nrhw18() {
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue