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

This fixes the version of the generated packages.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>
---
 recipes-xenomai/xenomai/xenomai.inc | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/recipes-xenomai/xenomai/xenomai.inc 
b/recipes-xenomai/xenomai/xenomai.inc
index a2fc10b..8b43855 100644
--- a/recipes-xenomai/xenomai/xenomai.inc
+++ b/recipes-xenomai/xenomai/xenomai.inc
@@ -23,11 +23,15 @@ def get_commit(d):
 COMMIT="${@get_commit(d)}"
 
 do_prepare_build() {
-       # The xenomai-kernel-source package is supposed to be generic, but we
-       # build it per architecture in Isar, and those packages happen to be
-       # different in some file so far. Make sure they are pushed into the
-       # target architecture to avoid conflicts.
-       sudo sed -i 's/Architecture: all/Architecture: any/' ${S}/debian/control
+    # The xenomai-kernel-source package is supposed to be generic, but we
+    # build it per architecture in Isar, and those packages happen to be
+    # different in some file so far. Make sure they are pushed into the
+    # target architecture to avoid conflicts.
+    sudo sed -i 's/Architecture: all/Architecture: any/' ${S}/debian/control
+
+    # Xenomai currently does not maintain its changelog, plus we want the
+    # actual package version in there.
+    deb_add_changelog
 }
 
 dpkg_runbuild_prepend() {
-- 
2.16.4

Reply via email to