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

Merge branch 'mbe-rpi4'

parents bb0e2989 9c289a1a
require conf/distro/poky.conf
DISTRO = "iqrf-gw-os"
DISTRO_NAME = "IQRF-GW-OS IQube"
DISTRO_VERSION = "1.0.0-beta"
DISTRO_CODENAME = "IQube"
DISTRO_NAME = "IQRF-GW-OS IQUBE"
DISTRO_VERSION = "1.4.0-alpha"
DISTRO_CODENAME = "iqube-dunfell"
# Replace sysv with systemd
DISTRO_FEATURES += "systemd"
......
[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
......
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