Change in osmo-trx[master]: Install sample cfg file to /etc/osmocom

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/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Thu Sep 13 13:59:26 UTC 2018


Pau Espin Pedrol has submitted this change and it was merged. ( https://gerrit.osmocom.org/10924 )

Change subject: Install sample cfg file to /etc/osmocom
......................................................................

Install sample cfg file to /etc/osmocom

Change-Id: Ib871a3cd14386ef6e6b512a3d66e7e7a839295a5
---
M debian/osmo-trx-lms.install
M debian/osmo-trx-uhd.install
M doc/examples/Makefile.am
A doc/examples/osmo-trx-lms/osmo-trx-lms.cfg
A doc/examples/osmo-trx-uhd/osmo-trx-uhd.cfg
5 files changed, 24 insertions(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/debian/osmo-trx-lms.install b/debian/osmo-trx-lms.install
index b58c862..b89506a 100644
--- a/debian/osmo-trx-lms.install
+++ b/debian/osmo-trx-lms.install
@@ -1,3 +1,4 @@
+etc/osmocom/osmo-trx-lms.cfg
 lib/systemd/system/osmo-trx-lms.service
 /usr/bin/osmo-trx-lms
 /usr/share/doc/osmo-trx/examples/osmo-trx-lms/osmo-trx-limesdr.cfg /usr/share/doc/osmo-trx/examples/osmo-trx-lms/
diff --git a/debian/osmo-trx-uhd.install b/debian/osmo-trx-uhd.install
index b7ec5ca..77236ca 100644
--- a/debian/osmo-trx-uhd.install
+++ b/debian/osmo-trx-uhd.install
@@ -1,3 +1,4 @@
+etc/osmocom/osmo-trx-uhd.cfg
 lib/systemd/system/osmo-trx-uhd.service
 /usr/bin/osmo-trx-uhd
 /usr/share/doc/osmo-trx/examples/osmo-trx-uhd/osmo-trx-usrp_b200.cfg /usr/share/doc/osmo-trx/examples/osmo-trx-uhd/
diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am
index 530c3fa..88d9142 100644
--- a/doc/examples/Makefile.am
+++ b/doc/examples/Makefile.am
@@ -1,4 +1,23 @@
-CFG_FILES = find $(srcdir) -name '*.cfg*' | sed -e 's,^$(srcdir),,'
+OSMOCONF_FILES =
+osmoconfdir = $(sysconfdir)/osmocom
+
+if DEVICE_UHD
+OSMOCONF_FILES += osmo-trx-uhd/osmo-trx-uhd.cfg
+endif
+
+# if DEVICE_USRP1
+# TODO: no usrp1 sample file yet
+# OSMOCONF_FILES += osmo-trx-usrp1/osmo-trx-usrp1.cfg
+# endif
+
+if DEVICE_LMS
+OSMOCONF_FILES += osmo-trx-lms/osmo-trx-lms.cfg
+endif
+
+osmoconf_DATA = $(OSMOCONF_FILES)
+EXTRA_DIST = $(OSMOCONF_FILES)
+
+CFG_FILES = find $(srcdir) -type f -name '*.cfg*' | sed -e 's,^$(srcdir),,'
 
 dist-hook:
 	for f in $$($(CFG_FILES)); do \
diff --git a/doc/examples/osmo-trx-lms/osmo-trx-lms.cfg b/doc/examples/osmo-trx-lms/osmo-trx-lms.cfg
new file mode 120000
index 0000000..13ae04a
--- /dev/null
+++ b/doc/examples/osmo-trx-lms/osmo-trx-lms.cfg
@@ -0,0 +1 @@
+osmo-trx-limesdr.cfg
\ No newline at end of file
diff --git a/doc/examples/osmo-trx-uhd/osmo-trx-uhd.cfg b/doc/examples/osmo-trx-uhd/osmo-trx-uhd.cfg
new file mode 120000
index 0000000..11f2320
--- /dev/null
+++ b/doc/examples/osmo-trx-uhd/osmo-trx-uhd.cfg
@@ -0,0 +1 @@
+osmo-trx-usrp_b200.cfg
\ No newline at end of file

-- 
To view, visit https://gerrit.osmocom.org/10924
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib871a3cd14386ef6e6b512a3d66e7e7a839295a5
Gerrit-Change-Number: 10924
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180913/063628d0/attachment.htm>


More information about the gerrit-log mailing list