Install BTS-specific -mgr.cf
Use *-mgr.cfg file which matches the BTS model. Related: SYS#3686
This commit is contained in:
parent
97af6203cd
commit
d6ac211bce
|
@ -49,7 +49,6 @@ do_install_append() {
|
||||||
|
|
||||||
# Future sysmobts-mgr handling
|
# Future sysmobts-mgr handling
|
||||||
install -d ${D}${systemd_unitdir}/system/multi-user.target.wants/
|
install -d ${D}${systemd_unitdir}/system/multi-user.target.wants/
|
||||||
install -m 0660 ${S}/doc/examples/sysmobts-mgr.cfg ${D}${sysconfdir}/osmocom
|
|
||||||
install -m 0644 ${S}/contrib/sysmobts-mgr.service ${D}${systemd_unitdir}/system/
|
install -m 0644 ${S}/contrib/sysmobts-mgr.service ${D}${systemd_unitdir}/system/
|
||||||
ln -sf ../sysmobts-mgr.service ${D}${systemd_unitdir}/system/multi-user.target.wants/
|
ln -sf ../sysmobts-mgr.service ${D}${systemd_unitdir}/system/multi-user.target.wants/
|
||||||
}
|
}
|
||||||
|
@ -61,6 +60,7 @@ do_install_append_sysmobts-v2() {
|
||||||
|
|
||||||
# Install systemd and enable on sysinit
|
# Install systemd and enable on sysinit
|
||||||
install -d ${D}${systemd_unitdir}/system/multi-user.target.wants/
|
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/
|
install -m 0644 ${S}/contrib/sysmobts.service ${D}${systemd_unitdir}/system/
|
||||||
ln -sf ../sysmobts.service ${D}${systemd_unitdir}/system/multi-user.target.wants/
|
ln -sf ../sysmobts.service ${D}${systemd_unitdir}/system/multi-user.target.wants/
|
||||||
}
|
}
|
||||||
|
@ -74,6 +74,7 @@ do_install_append_sysmobts2100() {
|
||||||
|
|
||||||
# Install systemd and enable on sysinit
|
# Install systemd and enable on sysinit
|
||||||
install -d ${D}${systemd_unitdir}/system/multi-user.target.wants/
|
install -d ${D}${systemd_unitdir}/system/multi-user.target.wants/
|
||||||
|
install -m 0660 ${S}/doc/examples/litecell15/lc15bts-mgr.cfg ${D}${sysconfdir}/osmocom/
|
||||||
install -m 0644 ${WORKDIR}/osmo-bts-lc15.service ${D}${systemd_unitdir}/system/
|
install -m 0644 ${WORKDIR}/osmo-bts-lc15.service ${D}${systemd_unitdir}/system/
|
||||||
ln -sf ../osmo-bts-lc15.service ${D}${systemd_unitdir}/system/multi-user.target.wants/
|
ln -sf ../osmo-bts-lc15.service ${D}${systemd_unitdir}/system/multi-user.target.wants/
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue