diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2023-02-15 02:20:27 +0100 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2023-02-26 07:19:38 +0100 |
commit | 6eabebb1b66c48d830549dbca5952f72307fbd0b (patch) | |
tree | 8b6358af25f6694728719b575f649a6f4ccffe92 /scripts/package/mkdebian | |
parent | kbuild: srcrpm-pkg: create source package without cleaning (diff) | |
download | linux-6eabebb1b66c48d830549dbca5952f72307fbd0b.tar.xz linux-6eabebb1b66c48d830549dbca5952f72307fbd0b.zip |
kbuild: deb-pkg: hide KDEB_SOURCENAME from Makefile
scripts/Makefile.package does not need to know the value of
KDEB_SOURCENAME because the source name can be taken from
debian/changelog by using dpkg-parsechangelog.
Move the default of KDEB_SOURCENAME (i.e. linux-upstream) to
scripts/package/mkdebian.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
Diffstat (limited to 'scripts/package/mkdebian')
-rwxr-xr-x | scripts/package/mkdebian | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/package/mkdebian b/scripts/package/mkdebian index 68b13ef590ba..534e9713761a 100755 --- a/scripts/package/mkdebian +++ b/scripts/package/mkdebian @@ -95,7 +95,7 @@ else revision=$($srctree/init/build-version) packageversion=$version-$revision fi -sourcename=$KDEB_SOURCENAME +sourcename=${KDEB_SOURCENAME:-linux-upstream} if [ "$ARCH" = "um" ] ; then packagename=user-mode-linux |