Skip to content

Commit 82526ef

Browse files
committed
kbuild: deb-pkg: change the source package name to linux-upstream
Change the source package name from 'linux-$(KERNELRELEASE)' to 'linux-upstream'. Initially, I tried to use 'linux' to be aligned with the Debian kernel package, but Ben suggested 'linux-upstream' so that it is clearly distinguished from distribution packages. [1] The filenames will be changed as follows: [Before] linux-5.12.0-rc3+_5.12.0-rc3+-1.dsc linux-5.12.0-rc3+_5.12.0-rc3+.orig.tar.gz linux-5.12.0-rc3+_5.12.0-rc3+-1.diff.gz [After] linux-upstream_5.12.0-rc3+-1.dsc linux-upstream_5.12.0-rc3+.orig.tar.gz linux-upstream_5.12.0-rc3+-1.diff.gz Commit 3716001 ("deb-pkg: add source package") introduced KDEB_SOURCENAME. If you are unhappy with the default name, you can override it via KDEB_SOURCENAME. [1]: https://lore.kernel.org/linux-kbuild/[email protected]/T/#m2c4afa0eca5ced5e57795b002f2dbcb05d7a4a44 Suggested-by: Ben Hutchings <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
1 parent b61442d commit 82526ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/Makefile.package

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ include $(srctree)/scripts/Kbuild.include
2525

2626
# Remove hyphens since they have special meaning in RPM filenames
2727
KERNELPATH := kernel-$(subst -,_,$(KERNELRELEASE))
28-
KDEB_SOURCENAME ?= linux-$(KERNELRELEASE)
28+
KDEB_SOURCENAME ?= linux-upstream
2929
KBUILD_PKG_ROOTCMD ?="fakeroot -u"
3030
export KDEB_SOURCENAME
3131
# Include only those top-level files that are needed by make, plus the GPL copy

0 commit comments

Comments
 (0)