* [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
2015-05-28 9:50 ` Riku Voipio
0 siblings, 2 replies; 4+ 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 related [flat|nested] 4+ 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
2015-05-28 9:50 ` Riku Voipio
1 sibling, 0 replies; 4+ 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] 4+ 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
@ 2015-05-28 9:50 ` Riku Voipio
2015-05-28 11:26 ` Yves-Alexis Perez
1 sibling, 1 reply; 4+ messages in thread
From: Riku Voipio @ 2015-05-28 9:50 UTC (permalink / raw)
To: Yves-Alexis Perez; +Cc: Michal Marek, linux-kbuild
Hi,
On 14 May 2015 at 15:35, Yves-Alexis Perez <corsac@debian.org> wrote:
> 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.
This change is also part for my "add source package" patch:
http://article.gmane.org/gmane.linux.kbuild.devel/13336
> ---
> 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
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] builddeb: generate a changes file from the build
2015-05-28 9:50 ` Riku Voipio
@ 2015-05-28 11:26 ` Yves-Alexis Perez
0 siblings, 0 replies; 4+ messages in thread
From: Yves-Alexis Perez @ 2015-05-28 11:26 UTC (permalink / raw)
To: Riku Voipio; +Cc: Michal Marek, linux-kbuild
[-- Attachment #1: Type: text/plain, Size: 269 bytes --]
On jeu., 2015-05-28 at 12:50 +0300, Riku Voipio wrote:
> This change is also part for my "add source package" patch:
>
> http://article.gmane.org/gmane.linux.kbuild.devel/13336
I wasn't aware of that patchset, thanks! Will try it.
Regards,
--
Yves-Alexis
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-05-28 11:26 UTC | newest]
Thread overview: 4+ 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
2015-05-28 9:50 ` Riku Voipio
2015-05-28 11:26 ` 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;
as well as URLs for NNTP newsgroup(s).