All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] debian: Fix packaging of xeno-config
@ 2021-04-13 19:04 Jan Kiszka
  0 siblings, 0 replies; only message in thread
From: Jan Kiszka @ 2021-04-13 19:04 UTC (permalink / raw)
  To: Xenomai

From: Jan Kiszka <jan.kiszka@siemens.com>

This is not a runtime tool, it's for development. And as libxenomai-dev
has no dependency on xenomai-runtime (as there should be none), it is
missed in build-only installations.

Reported-by: Florian Bezdeka <florian.bezdeka@siemens.com>
Fixes: 6e77fe2b8d3f ("debian: drop xeno-config from -dev package")
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 debian/libxenomai-dev.install | 1 +
 debian/rules                  | 5 ++---
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/libxenomai-dev.install b/debian/libxenomai-dev.install
index 9f95c359c4..a8e6b4e339 100644
--- a/debian/libxenomai-dev.install
+++ b/debian/libxenomai-dev.install
@@ -1,3 +1,4 @@
+usr/bin/xeno-config
 usr/include
 usr/lib/*.la
 usr/lib/*.a
diff --git a/debian/rules b/debian/rules
index 22c90586d1..3fc65ef3a2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -73,9 +73,8 @@ install: build
 	for f in $(CURDIR)/kernel/cobalt/udev/*.rules ; do \
 	    cat $$f >> $(CURDIR)/debian/libxenomai1/etc/udev/xenomai.rules ; \
 	done
-	# xeno-config should be only in xenomai-runtime
-	rm -f $(CURDIR)/debian/libxenomai-dev/usr/bin/xeno-config
-	rm -f $(CURDIR)/debian/libxenomai-dev/usr/share/man/man1/xeno-config.1
+	# xeno-config should be only in libxenomai-dev
+	rm -f $(CURDIR)/debian/xenomai-runtime/usr/bin/xeno-config
 	install -m 644 debian/libxenomai1.modprobe $(CURDIR)/debian/libxenomai1/etc/modprobe.d/xenomai.conf
 	# remove empty directory
 	rm -rf $(CURDIR)/debian/xenomai-doc/usr/share/doc/xenomai-doc/ps
-- 
2.26.2



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-13 19:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-13 19:04 [PATCH] debian: Fix packaging of xeno-config Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.