From f2daa6fe97c31ed2b8713c6e38d744a8165d48d3 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Thu, 5 Apr 2018 15:26:28 +0200 Subject: [PATCH] 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. --- conf/machine/sysmocom-bsc.conf | 4 ++++ recipes-apps/images/sysmocom-bsc-image.bb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/conf/machine/sysmocom-bsc.conf b/conf/machine/sysmocom-bsc.conf index 632a984..c983654 100644 --- a/conf/machine/sysmocom-bsc.conf +++ b/conf/machine/sysmocom-bsc.conf @@ -1 +1,5 @@ MACHINEOVERRIDES = "${MACHINE}:sysmocom-bsc" + +MACHINE_EXTRA_RDEPENDS = "\ + dnsmasq \ + " diff --git a/recipes-apps/images/sysmocom-bsc-image.bb b/recipes-apps/images/sysmocom-bsc-image.bb index d10d09a..e98d13f 100644 --- a/recipes-apps/images/sysmocom-bsc-image.bb +++ b/recipes-apps/images/sysmocom-bsc-image.bb @@ -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() {