linux-stable/scripts/package
Masahiro Yamada 7a531c21f8 kbuild: deb-pkg: do not take KERNELRELEASE from the source version
KERNELRELEASE does not need to match the package version in changelog.
Rather, it conventially matches what is called 'ABINAME', which is a
part of the binary package names.

Both are the same by default, but the former might be overridden by
KDEB_PKGVERSION. In this case, the resulting package would not boot
because /lib/modules/$(uname -r) does not point the module directory.

Partially revert 3ab18a625c ("kbuild: deb-pkg: improve the usability
of source package").

Reported-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Fixes: 3ab18a625c ("kbuild: deb-pkg: improve the usability of source package")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Tested-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
2023-03-15 15:15:07 +09:00
..
builddeb builddeb: Consolidate consecutive chmod calls into one 2023-01-26 12:43:33 +09:00
buildtar kbuild: tar-pkg: use tar rules in scripts/Makefile.package 2023-02-26 15:23:30 +09:00
deb-build-option kbuild: deb-pkg: do not take KERNELRELEASE from the source version 2023-03-15 15:15:07 +09:00
mkdebian kbuild: deb-pkg: do not take KERNELRELEASE from the source version 2023-03-15 15:15:07 +09:00
mkspec kbuild: rpm-pkg: remove unneeded KERNELRELEASE from modules/headers_install 2023-02-26 16:54:12 +09:00
snapcraft.template scripts/package: snap-pkg target 2017-12-13 00:00:18 +09:00