From cc4ab049afa1e729a26bebcc001c73c13e4f9aaf Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 11 Jul 2017 19:40:13 +0200 Subject: [PATCH] Use service name matching binary name Rename: sysmobts -> osmo-bts-sysmo (available in master since 114293a414bd5b7c86622ec8c293c4034c80d243) sysmopcu -> osmo-pcu (available in master since 241f5bcb00f9c6fee4200a3aea9aa497bf0d3eee) Old names are still available via alias. --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 4 ++-- recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index c79fc0b..596f6c6 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -59,8 +59,8 @@ do_install_append_sysmobts-v2() { # Install systemd and enable on sysinit install -d ${D}${systemd_unitdir}/system/multi-user.target.wants/ install -m 0660 ${S}/doc/examples/sysmo/sysmobts-mgr.cfg ${D}${sysconfdir}/osmocom - install -m 0644 ${S}/contrib/sysmobts.service ${D}${systemd_unitdir}/system/ - ln -sf ../sysmobts.service ${D}${systemd_unitdir}/system/multi-user.target.wants/ + install -m 0644 ${S}/contrib/osmo-bts-sysmo.service ${D}${systemd_unitdir}/system/ + ln -sf ../osmo-bts-sysmo.service ${D}${systemd_unitdir}/system/multi-user.target.wants/ } do_install_append_sysmobts2100() { diff --git a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb index 381c032..1e6ef44 100644 --- a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb +++ b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb @@ -29,8 +29,8 @@ CPPFLAGS_append_sysmobts-v2 = " ${BTS_HW_VERSION} " do_install_append() { # Install systemd and enable on sysinit install -d ${D}${systemd_unitdir}/system/multi-user.target.wants/ - install -m 0644 ${S}/contrib/sysmopcu.service ${D}${systemd_unitdir}/system/ - ln -sf ../sysmopcu.service ${D}${systemd_unitdir}/system/multi-user.target.wants/ + install -m 0644 ${S}/contrib/osmo-pcu.service ${D}${systemd_unitdir}/system/ + ln -sf ../osmo-pcu.service ${D}${systemd_unitdir}/system/multi-user.target.wants/ } FILES_${PN} += "${systemd_unitdir}"