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