Commit a2be76a3 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

scripts/setlocalversion: remove workaround for old make-kpkg

This reverts commit b052ce4c ("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

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."


Signed-off-by: default avatarMasahiro Yamada <>
Reviewed-by: default avatarGreg Kroah-Hartman <>
Reviewed-by: default avatarNico Schottelius <>
parent 2a73cce2
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment