Skip to contentSkip to conversation

xenomai: Update changelog via Isar

PATCH Superseded Jan Kiszka 1 participant 1 message Feb 17, 2020

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 xenomai: Update changelog via Isar

From: Jan Kiszka <[email protected]>

This fixes the version of the generated packages.

---
 recipes-xenomai/xenomai/xenomai.inc | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)
recipes-xenomai/xenomai/xenomai.inc +9 -5
index a2fc10b..8b43855 100644
@@ -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() {
Signature · 1 line
2.16.4