2019-01-15 17:02:49 +00:00
|
|
|
# Append recipe from meta-openembedded/meta-networking
|
2021-05-05 12:45:55 +00:00
|
|
|
FILESEXTRAPATHS_prepend := "${THISDIR}/networkmanager:"
|
2019-01-15 17:02:49 +00:00
|
|
|
|
|
|
|
SRC_URI += "\
|
2021-05-05 12:45:55 +00:00
|
|
|
file://NetworkManager.conf \
|
2019-01-15 17:02:49 +00:00
|
|
|
file://watch-resolvconf.path \
|
|
|
|
file://watch-resolvconf.service \
|
|
|
|
"
|
|
|
|
|
|
|
|
SYSTEMD_SERVICE_${PN} += "watch-resolvconf.path"
|
|
|
|
|
|
|
|
do_install_append() {
|
2021-05-05 12:45:55 +00:00
|
|
|
install -m 0644 ${WORKDIR}/NetworkManager.conf ${D}${sysconfdir}/NetworkManager/
|
2019-01-15 17:02:49 +00:00
|
|
|
install -m 644 ${WORKDIR}/watch-resolvconf.path ${D}${systemd_system_unitdir}
|
|
|
|
install -m 644 ${WORKDIR}/watch-resolvconf.service ${D}${systemd_system_unitdir}
|
|
|
|
}
|
2021-05-05 12:45:55 +00:00
|
|
|
PACKAGECONFIG = "nss systemd polkit"
|
|
|
|
PACKAGECONFIG[wifi] = ""
|
|
|
|
EXTRA_OECONF = "\
|
|
|
|
--with-iwd \
|
|
|
|
--enable-wifi=yes \
|
|
|
|
--without-iptables \
|
|
|
|
"
|