kbuild: deb-pkg: switch over to source format 3.0 (quilt)
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 15 Feb 2023 01:20:29 +0000 (10:20 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 26 Feb 2023 06:22:37 +0000 (15:22 +0900)
commite7853995594baa1a1258b20ff077b60a958becdc
treeb54cc59bccf9718f608f131574199a528ea7fc90
parentb44aa8c96e9eea54a42c074c278a8e05e1c231d5
kbuild: deb-pkg: switch over to source format 3.0 (quilt)

Change the source format from "1.0" to "3.0 (quilt)" because it works
more cleanly.

All files except .config and debian/ go into the orig tarball.
Add a single patch, debian/patches/config, and delete the ugly
extend-diff-ignore patterns.

The debian tarball will be compressed into *.debian.tar.xz by default.
If you like to use a different compression mode, you can pass the
command line option, DPKG_FLAGS=-Zgzip, for example.

The orig tarball only supports gzip for now. The combination of
gzip and xz is somewhat clumsy, but it is not a practical problem.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
scripts/Makefile.package
scripts/package/mkdebian