Add dnsmasq to machines with role bsc, not only sysmocom-bsc-image

This way we have it too in sysmocom-nitb-image, but only when needed,
that is: when we build for a machine inheritinh from sysmocom-bsc, which
is a machine not containing any BTS HW and thus requires a BTS connected
to it, so it needs a DNS server to serve it.
This commit is contained in:
Pau Espin 2018-04-05 15:26:28 +02:00
parent b5343fa75a
commit f2daa6fe97
2 changed files with 5 additions and 1 deletions

View File

@ -1 +1,5 @@
MACHINEOVERRIDES = "${MACHINE}:sysmocom-bsc"
MACHINE_EXTRA_RDEPENDS = "\
dnsmasq \
"

View File

@ -1,6 +1,6 @@
require sysmocom-image.inc
IMAGE_INSTALL_append = " task-sysmocom dnsmasq "
IMAGE_INSTALL_append = " task-sysmocom "
# This variant of the image will run osmo-bts and osmo-bsc
activate_bsc() {