Commit f1b46beb authored by Karel Hanák's avatar Karel Hanák
Browse files

drop iqd-gw-01 dependencies, updated network manager configuration

parent 42667376
[main]
plugins=ifupdown
[connection]
ipv4.dns-priority=200
ipv6.dns-priority=300
[ifupdown]
managed=false
[connection]
id=enx001e101f0000
uuid=
type=ethernet
autoconnect-priority=-1
[ethernet]
mac-address=00:1e:10:1f:00:00
mac-address-blacklist=
[ipv4]
dns-search=
method=auto
route-metric=700
[ipv6]
addr-gen-mode=stable-privacy
dns-search=
method=auto
[connection]
id=eth0
uuid=
type=ethernet
autoconnect-priority=0
[ethernet]
mac-address=
mac-address-blacklist=
[ipv4]
dns-search=
method=auto
[ipv6]
addr-gen-mode=stable-privacy
dns-search=
method=auto
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
require recipes-iqrf/iqd-gw-01/iqd-gw-01.inc
SRC_URI += "file://10-override-wifi-random-mac-disable.conf \
file://20-override-wifi-powersave-disable.conf \
file://enx001e101f0000 \
file://eth0 \
file://NetworkManager.conf \
"
FILES_${PN} += "${sysconfdir}/*"
do_install_append() {
install -d ${D}${sysconfdir}/NetworkManager
cp -r ${WORKDIR}/iqd-gw-01/conf/NetworkManager ${D}${sysconfdir}
# correct rights
chmod 600 ${D}${sysconfdir}/NetworkManager/system-connections/eth0
chmod 600 ${D}${sysconfdir}/NetworkManager/system-connections/enx001e101f0000
install -m 600 ${WORKDIR}/NetworkManager.conf ${D}${sysconfdir}/NetworkManager
# drop unused configurations (maybe drop from repo)
rm ${D}${sysconfdir}/NetworkManager/system-connections/gsm0
rm ${D}${sysconfdir}/NetworkManager/system-connections/wlan0
install -d ${D}${sysconfdir}/NetworkManager/system-connections
install -m 600 ${WORKDIR}/eth0 ${D}${sysconfdir}/NetworkManager/system-connections/
install -m 600 ${WORKDIR}/enx001e101f0000 ${D}${sysconfdir}/NetworkManager/system-connections/
# configs
install -d ${D}${sysconfdir}/NetworkManager/conf.d
install -m 600 ${WORKDIR}/10-override-wifi-random-mac-disable.conf ${D}${sysconfdir}/NetworkManager/conf.d
install -m 600 ${WORKDIR}/20-override-wifi-powersave-disable.conf ${D}${sysconfdir}/NetworkManager/conf.d
......
LICENSE = "CLOSED"
SRC_URI += "git://gitlab.iqrf.org:2222/gateway/iqd-gw-01.git;user=git;protocol=ssh;tag=v1.2.2;branch=release/iqube/v1.2.x;destsuffix=iqd-gw-01;name=iqd-gw-01"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment