From: "Maxim Yu. Osipov" <mosipov@ilbers.de>
To: isar-users@googlegroups.com
Subject: [PATCH v2 4/6] debianize: allow changlog version change
Date: Wed, 30 Jan 2019 06:54:50 +0000 [thread overview]
Message-ID: <20190130065452.11589-5-mosipov@ilbers.de> (raw)
In-Reply-To: <20190130065452.11589-1-mosipov@ilbers.de>
From: Henning Schild <henning.schild@siemens.com>
Introduce a variable to control the version string we put into a
generated changelog entry.
Signed-off-by: Henning Schild <henning.schild@siemens.com>
---
meta/classes/debianize.bbclass | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta/classes/debianize.bbclass b/meta/classes/debianize.bbclass
index c771e9c..64994e4 100644
--- a/meta/classes/debianize.bbclass
+++ b/meta/classes/debianize.bbclass
@@ -1,10 +1,12 @@
# This software is a part of ISAR.
# Copyright (C) 2017-2019 Siemens AG
+CHANGELOG_V ?= "${PV}"
+
deb_add_changelog() {
date=$( LANG=C date -R )
cat <<EOF > ${S}/debian/changelog
-${PN} (${PV}) UNRELEASED; urgency=low
+${PN} (${CHANGELOG_V}) UNRELEASED; urgency=low
* generated by Isar
--
2.11.0
next prev parent reply other threads:[~2019-01-30 6:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-30 6:54 [PATCH v2 0/6] "apt-get source" fetch/unpack support Maxim Yu. Osipov
2019-01-30 6:54 ` [PATCH v2 1/6] conf: add deb-src entries to all our distro configs Maxim Yu. Osipov
2019-01-30 6:54 ` [PATCH v2 2/6] dpkg-base: introduce an "apt-get source" fetch/unpack step Maxim Yu. Osipov
2019-01-30 7:38 ` Jan Kiszka
2019-01-30 14:41 ` Henning Schild
2019-01-30 6:54 ` [PATCH v2 3/6] meta: move debianization code into a class and into dpkg-base Maxim Yu. Osipov
2019-01-30 6:54 ` Maxim Yu. Osipov [this message]
2019-01-30 6:54 ` [PATCH v2 5/6] meta-isar/recipes-app: add upstream hello rebuild example Maxim Yu. Osipov
2019-01-30 6:54 ` [PATCH v2 6/6] local.conf: enable rebuilding "hello" for all distros Maxim Yu. Osipov
2019-01-30 14:43 ` [PATCH v2 0/6] "apt-get source" fetch/unpack support Henning Schild
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190130065452.11589-5-mosipov@ilbers.de \
--to=mosipov@ilbers.de \
--cc=isar-users@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox