mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] builddeb: generate a changes file from the build
@ 2015-05-14 12:35 Yves-Alexis Perez
  2015-05-16  9:43 ` Yves-Alexis Perez
  0 siblings, 1 reply; 2+ messages in thread
From: Yves-Alexis Perez @ 2015-05-14 12:35 UTC (permalink / raw)
  To: Michal Marek, linux-kbuild, linux-kernel; +Cc: Yves-Alexis Perez

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] builddeb: generate a changes file from the build
  2015-05-14 12:35 [PATCH] builddeb: generate a changes file from the build Yves-Alexis Perez
@ 2015-05-16  9:43 ` Yves-Alexis Perez
  0 siblings, 0 replies; 2+ messages in thread
From: Yves-Alexis Perez @ 2015-05-16  9:43 UTC (permalink / raw)
  To: Michal Marek; +Cc: linux-kbuild, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 348 bytes --]

On jeu., 2015-05-14 at 14:35 +0200, Yves-Alexis Perez wrote:

> +# Generate a change file
> +(cd $KBUILD_OUTPUT; dpkg-genchanges -b > ../linux_${packageversion}_${debarch}.changes)
> +

Actually cwd during the build is KBUILD_OUTPUT already, so the cd part
is unnecessary (I can resend a v2 if really needed).

Regards,
-- 
Yves-Alexis

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-16  9:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-14 12:35 [PATCH] builddeb: generate a changes file from the build Yves-Alexis Perez
2015-05-16  9:43 ` Yves-Alexis Perez

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®