[PATCH] osmo-bts[master]: debian: Split osmo-bts-virtual from osmo-bts-trx

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Sat Mar 17 21:09:07 UTC 2018


Review at  https://gerrit.osmocom.org/7360

debian: Split osmo-bts-virtual from osmo-bts-trx

osmo-bts-virtual also contains osmo-bts-omldummy

Change-Id: I1c88ed2f7111a6c061ac5721af8f09d9aca4a156
---
M debian/control
M debian/osmo-bts-trx.install
A debian/osmo-bts-virtual.install
A debian/osmo-bts-virtual.service
4 files changed, 24 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/60/7360/1

diff --git a/debian/control b/debian/control
index fbf82e2..0ac70dd 100644
--- a/debian/control
+++ b/debian/control
@@ -32,3 +32,10 @@
 Description: Debug symbols for the osmo-bts-trx
  Make debugging possible
 
+Package: osmo-bts-virtual
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Virtual Osmocom GSM BTS (no RF hardware; GSMTAP/UDP)
+ This version of OsmoBTS doesn't use actual GSM PHY/Hardware/RF, but
+ utilizes GSMTAP-over-UDP frames for the Um interface.  This is useful
+ in fully virtualized setups e.g. in combination with OsmocomBB virt_phy.
diff --git a/debian/osmo-bts-trx.install b/debian/osmo-bts-trx.install
index 5c34bef..92d524c 100644
--- a/debian/osmo-bts-trx.install
+++ b/debian/osmo-bts-trx.install
@@ -1,2 +1 @@
 usr/bin/osmo-bts-trx
-usr/bin/osmo-bts-virtual
diff --git a/debian/osmo-bts-virtual.install b/debian/osmo-bts-virtual.install
new file mode 100644
index 0000000..07adbfd
--- /dev/null
+++ b/debian/osmo-bts-virtual.install
@@ -0,0 +1,2 @@
+usr/bin/osmo-bts-virtual
+usr/bin/osmo-bts-omldummy
diff --git a/debian/osmo-bts-virtual.service b/debian/osmo-bts-virtual.service
new file mode 100644
index 0000000..1633266
--- /dev/null
+++ b/debian/osmo-bts-virtual.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Osmocom GSM BTS for virtual Um layer based on GSMTAP/UDP
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/osmo-bts-virtual -s -c /etc/osmocom/osmo-bts-virtual.cfg
+Restart=always
+RestartSec=2
+
+# Let it process messages quickly enough
+CPUSchedulingPolicy=rr
+CPUSchedulingPriority=1
+
+[Install]
+WantedBy=multi-user.target

-- 
To view, visit https://gerrit.osmocom.org/7360
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1c88ed2f7111a6c061ac5721af8f09d9aca4a156
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list