path: root/scripts/setlocalversion
diff options
authorMasahiro Yamada <>2018-11-06 13:18:05 +0900
committerMasahiro Yamada <>2018-11-11 23:04:52 +0900
commitbbcde0a7241261cd0ca8d8e6b94a4113a4b71443 (patch)
treef9a1abb090b0280c5e00b7579898833450b76499 /scripts/setlocalversion
parent6bbe4385d035c6fac56f840a59861a0310ce137b (diff)
kbuild: deb-pkg: fix too low build version number
Since commit b41d920acff8 ("kbuild: deb-pkg: split generating packaging and build"), the build version of the kernel contained in a deb package is too low by 1. Prior to the bad commit, the kernel was built first, then the number in .version file was read out, and written into the debian control file. Now, the debian control file is created before the kernel is actually compiled, which is causing the version number mismatch. Let the mkdebian script pass KBUILD_BUILD_VERSION=${revision} to require the build system to use the specified version number. Fixes: b41d920acff8 ("kbuild: deb-pkg: split generating packaging and build") Reported-by: Doug Smythies <> Signed-off-by: Masahiro Yamada <> Tested-by: Doug Smythies <>
Diffstat (limited to 'scripts/setlocalversion')
0 files changed, 0 insertions, 0 deletions