OpenCloudOS-Kernel/scripts/package
Kevin Locke 3ced71d273 kbuild: deb-pkg: set version for linux-headers paths
As a result of the switch to dh_listpackages, $version is no longer set
when install_kernel_headers() is called.  This causes files in the
linux-headers deb package to be installed to a path with an empty
$version (e.g. /usr/src/linux-headers-/scripts/sign-file rather than
/usr/src/linux-headers-6.3.0-rc3/scripts/sign-file).

To avoid this, while continuing to use the version information from
dh_listpackages, pass $version from $package as the second argument
of install_kernel_headers().

Fixes: 36862e14e3 ("kbuild: deb-pkg: use dh_listpackages to know enabled packages")
Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2023-03-22 10:13:16 +09:00
..
builddeb kbuild: deb-pkg: set version for linux-headers paths 2023-03-22 10:13:16 +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: set CROSS_COMPILE only when undefined 2023-03-15 15:15:07 +09:00
gen-diff-patch kbuild: use git-archive for source package creation 2023-03-16 22:46:12 +09:00
mkdebian kbuild: use git-archive for source package creation 2023-03-16 22:46:12 +09:00
mkspec kbuild: use git-archive for source package creation 2023-03-16 22:46:12 +09:00
snapcraft.template scripts/package: snap-pkg target 2017-12-13 00:00:18 +09:00