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.
This commit is contained in:
Max 2017-07-11 19:40:13 +02:00 committed by Pau Espin Pedrol
parent a121475a64
commit cc4ab049af
2 changed files with 4 additions and 4 deletions

View File

@ -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() {

View File

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