builddeb: generate a changes file from the build
PATCH 1/1 builddeb: generate a changes file from the build
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(+)
scripts/package/builddeb +3 -0
@@ -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
Signature · 1 line
2.1.4
scripts/package/builddeb EOF · line 388
Quoted 3 lines · Yves-Alexis Perez
scripts/package/builddeb +3
-0+# 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,
Signature · 1 line
Yves-Alexis
Hi,
Quoted 7 lines · 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.
This change is also part for my "add source package" patch:
http://article.gmane.org/gmane.linux.kbuild.devel/13336
Quoted 23 lines
--- scripts/package/builddeb | 3 +++ 1 file changed, 3 insertions(+)scripts/package/builddeb +3
-1@@ -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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 3 lines · Riku Voipio
This change is also part for my "add source package" patch:
I wasn't aware of that patchset, thanks! Will try it.
Regards,
Signature · 1 line
Yves-Alexis