Skip to contentSkip to conversation

Building deb packages under Ubuntu 12.04

Xenomai Jeff Webb 1 participant 3 messages Oct 15, 2012 – Oct 18, 2012

lore
Share & tools
lore

Jeff Webb

author
#0 lore raw

In order to build a set of xenomai deb packages from the xenomai-2.6.git repo under ubuntu 12.04, I had to make the following change. Otherwise, the build process aborts because it can't copy files into a non-existent directory.

-Jeff

-------------- next part --------------
A non-text attachment was scrubbed...
Name: xeno-deb.patch
Type: text/x-patch
Size: 552 bytes
Desc: not available
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20121015/97032be5/attachment.bin>

author
#1 lore raw
Quoted 4 lines · Jeff Webb

In order to build a set of xenomai deb packages from the xenomai-2.6.git repo under ubuntu 12.04, I had to make the following change. Otherwise, the build process aborts because it can't copy files into a non-existent directory.

-Jeff

Sorry. I think a should have given the patch inline:

debian/rules +1 -0
index d336511..634ecf5 100755
@@ -96,6 +96,7 @@ install: build
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/
 	dh_install --sourcedir=$(CURDIR)/debian/tmp
 	# Patch collection:
+	mkdir -p $(CURDIR)/debian/linux-patch-xenomai/usr/src/kernel-patches/diffs/xenomai
 	cp adeos-ipipe-*.patch $(CURDIR)/debian/linux-patch-xenomai/usr/src/kernel-patches/diffs/xenomai
 	# xeno-config should be only in libxenomai-dev
 	rm -f $(CURDIR)/debian/xenomai-runtime/usr/bin/xeno-config
author
#2 lore raw
Quoted 13 lines · Jeff Webb
Quoted 4 lines · Jeff Webb

In order to build a set of xenomai deb packages from the xenomai-2.6.git repo under ubuntu 12.04, I had to make the following change. Otherwise, the build process aborts because it can't copy files into a non-existent directory.

-Jeff

Sorry. I think a should have given the patch inline:

debian/rules +0 -0
index d336511..634ecf5 100755

debian/rules install: build · line 102

Quoted 7 lines
debian/rules +1 -0
@@ -96,6 +96,7 @@ install: build
      $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/
      dh_install --sourcedir=$(CURDIR)/debian/tmp
      # Patch collection:
+    mkdir -p $(CURDIR)/debian/linux-patch-xenomai/usr/src/kernel-patches/diffs/xenomai
      cp adeos-ipipe-*.patch $(CURDIR)/debian/linux-patch-xenomai/usr/src/kernel-patches/diffs/xenomai
      # xeno-config should be only in libxenomai-dev
      rm -f $(CURDIR)/debian/xenomai-runtime/usr/bin/xeno-config

Does this change make sense to anyone else? If so, can it be added to the xenomai git repositories, so that it makes it into future releases?

-Jeff