packagegroup-nwl-core: Add dnsmasq for AP mode

dnsmasq is used by networkmanager as DHCP server in AP mode.
But the default service must be disabled otherwise it conflicts with the
instance started by NetworkManager.

id:502637
This commit is contained in:
Alexandre Bard 2024-03-01 17:39:15 +01:00
parent a11f7a39b9
commit d2e0b9c9df
2 changed files with 6 additions and 0 deletions

View File

@ -29,6 +29,9 @@ PACKAGECONFIG:pn-systemd = "usrmerge rfkill kmod timedated vconsole"
# systemd-conf provides a packageconfig for a default dhcp client that we don't need # systemd-conf provides a packageconfig for a default dhcp client that we don't need
PACKAGECONFIG:pn-systemd-conf = "" PACKAGECONFIG:pn-systemd-conf = ""
PACKAGECONFIG:pn-networkmanager = "systemd nss gnutls wifi bluez5 nmcli" PACKAGECONFIG:pn-networkmanager = "systemd nss gnutls wifi bluez5 nmcli"
# NetworkManager is starting dnsmasq when it needs it for AP mode
SYSTEMD_AUTO_ENABLE:pn-dnsmasq = "disable"
PACKAGECONFIG:pn-bluez5 = "systemd udev" PACKAGECONFIG:pn-bluez5 = "systemd udev"
# Wit busybox "less" the output of "nmcli c" does not show up properly # Wit busybox "less" the output of "nmcli c" does not show up properly

View File

@ -1,5 +1,7 @@
inherit packagegroup inherit packagegroup
DESCRIPTION = "Base packages required for the NWL Distro"
PACKAGE_ARCH = "${MACHINE_ARCH}" PACKAGE_ARCH = "${MACHINE_ARCH}"
@ -21,6 +23,7 @@ RDEPENDS:${PN} = " \
coreutils \ coreutils \
ncurses-terminfo-base \ ncurses-terminfo-base \
networkmanager-nmcli \ networkmanager-nmcli \
dnsmasq \
systemd-conf \ systemd-conf \
\ \
kernel-modules \ kernel-modules \