From: Yves-Alexis Perez <corsac@debian.org>
To: Michal Marek <mmarek@suse.cz>,
linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Yves-Alexis Perez <corsac@debian.org>
Subject: [PATCH] builddeb: generate a changes file from the build
Date: Thu, 14 May 2015 14:35:08 +0200 [thread overview]
Message-ID: <1431606908-20880-1-git-send-email-corsac@debian.org> (raw)
A changes file (also called Debian upload control file) contains
information about binary packages, including the changelog entry, the
maintainer, the package list and the checksums.
It can be used by various Debian tools like dput and dcmd to execute
action on all the build packages at once, for example uploading the
packages to an dedicated Debian repository.
---
scripts/package/builddeb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index 88dbf23..46c2838 100755
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -383,4 +383,7 @@ EOF
create_package "$dbg_packagename" "$dbg_dir"
fi
+# Generate a change file
+(cd $KBUILD_OUTPUT; dpkg-genchanges -b > ../linux_${packageversion}_${debarch}.changes)
+
exit 0
--
2.1.4
next reply other threads:[~2015-05-14 12:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-14 12:35 Yves-Alexis Perez [this message]
2015-05-16 9:43 ` Yves-Alexis Perez
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=1431606908-20880-1-git-send-email-corsac@debian.org \
--to=corsac@debian.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mmarek@suse.cz \
/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
all inboxes | Powered by JetHome®