From 7f34bf633cfee98fbb6752fab7eb3f62b25395e8 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Tue, 2 Feb 2021 20:21:18 +0100 Subject: [PATCH] images: Introduce sysmocom-voice-sip-image.bb This image contains a CS-only NITB with osmo-sip-connector. Related: SYS#5326 --- recipes-apps/images/sysmocom-voice-sip-image.bb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 recipes-apps/images/sysmocom-voice-sip-image.bb diff --git a/recipes-apps/images/sysmocom-voice-sip-image.bb b/recipes-apps/images/sysmocom-voice-sip-image.bb new file mode 100644 index 0000000..5ced355 --- /dev/null +++ b/recipes-apps/images/sysmocom-voice-sip-image.bb @@ -0,0 +1,11 @@ +require sysmocom-image.inc + +IMAGE_INSTALL_append = " task-sysmocom-cs osmo-sip-connector " + +# osmo-pcu is included in sysmobts targets due to machine .conf depending on +# task-sysmocom-bts. Since we only want voice here, let's disable osmo-pcu and +# be done with it: +disable_systemd_osmo_pcu() { + rm -f ${IMAGE_ROOTFS}/etc/systemd/system/multi-user.target.wants/osmo-pcu.service +} +IMAGE_PREPROCESS_COMMAND += "disable_systemd_osmo_pcu "