images: Introduce sysmocom-voice-sip-image.bb

This image contains a CS-only NITB with osmo-sip-connector.

Related: SYS#5326
This commit is contained in:
Pau Espin Pedrol 2021-02-02 20:21:18 +01:00
parent 70f5062cf1
commit 7f34bf633c
1 changed files with 11 additions and 0 deletions

View File

@ -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 "