diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2021-05-23 05:14:25 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2021-05-26 21:01:51 +0200 |
commit | a2be76a352f1035a2e5f914a409743d65dc514c5 (patch) | |
tree | 6abc6794a7414ffc54a6e729d2fe9a60b1f72dad /scripts/setlocalversion | |
parent | scripts/setlocalversion: remove mercurial, svn and git-svn supports (diff) | |
download | linux-a2be76a352f1035a2e5f914a409743d65dc514c5.tar.xz linux-a2be76a352f1035a2e5f914a409743d65dc514c5.zip |
scripts/setlocalversion: remove workaround for old make-kpkg
This reverts commit b052ce4c840e ("kbuild: fix false positive -dirty
tag caused by make-kpkg").
If I understand correctly, this problem occurred in very old versions
of make-kpkg. When I tried a newer version, make-kpkg did not touch
scripts/package/Makefile.
Anyway, Debian uses 'make deb-pkg' instead of make-kpkg these days.
Debian handbook [1] mentions it as "the good old days":
"CULTURE The good old days of kernel-package
Before the Linux build system gained the ability to build proper
Debian packages, the recommended way to build such packages was to
use make-kpkg from the kernel-package package."
[1]: https://debian-handbook.info/browse/stable/sect.kernel-compilation.html
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Nico Schottelius <nico-linuxsetlocalversion@schottelius.org>
Diffstat (limited to 'scripts/setlocalversion')
-rwxr-xr-x | scripts/setlocalversion | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/setlocalversion b/scripts/setlocalversion index 879cba956e60..f3084d6bbb22 100755 --- a/scripts/setlocalversion +++ b/scripts/setlocalversion @@ -88,7 +88,7 @@ scm_version() if { git --no-optional-locks status -uno --porcelain 2>/dev/null || git diff-index --name-only HEAD - } | grep -qvE '^(.. )?scripts/package'; then + } | read dummy; then printf '%s' -dirty fi fi |