sysmocom-nitb-image: Drop osmo-nitb leftovers

osmo-nitb is not used anymore. Furthermore, all new services are enabled
by default now.
This commit is contained in:
Pau Espin 2018-04-05 15:39:25 +02:00
parent af59eeb881
commit 9fde00db04
1 changed files with 0 additions and 11 deletions

View File

@ -1,14 +1,3 @@
require sysmocom-image.inc
IMAGE_INSTALL_append = " task-sysmocom "
# This variant of the image will run osmo-bts and osmo-nitb
activate_nitb() {
echo "NO_START=0" > ${IMAGE_ROOTFS}/etc/default/osmo-nitb
}
activate_systemd_nitb() {
ln -sf ${systemd_system_unitdir}/osmo-nitb.service ${IMAGE_ROOTFS}/etc/systemd/system/multi-user.target.wants/
}
IMAGE_PREPROCESS_COMMAND += "${@bb.utils.contains('DISTRO_FEATURES','systemd','activate_systemd_nitb','activate_nitb',d)}; "