Revision bbcde0a7241261cd0ca8d8e6b94a4113a4b71443 authored by Masahiro Yamada on 06 November 2018, 04:18:05 UTC, committed by Masahiro Yamada on 11 November 2018, 14:04:52 UTC
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 <dsmythies@telus.net>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Tested-by: Doug Smythies <dsmythies@telus.net>
1 parent 6bbe438
History
File Mode Size
Documentation
arch
.gitignore -rw-r--r-- 42 bytes
Build -rw-r--r-- 505 bytes
Makefile -rw-r--r-- 1.7 KB
arch.h -rw-r--r-- 1.9 KB
builtin-check.c -rw-r--r-- 1.9 KB
builtin-orc.c -rw-r--r-- 1.7 KB
builtin.h -rw-r--r-- 1012 bytes
cfi.h -rw-r--r-- 1.4 KB
check.c -rw-r--r-- 53.4 KB
check.h -rw-r--r-- 2.2 KB
elf.c -rw-r--r-- 13.8 KB
elf.h -rw-r--r-- 3.0 KB
objtool.c -rw-r--r-- 3.0 KB
orc.h -rw-r--r-- 948 bytes
orc_dump.c -rw-r--r-- 4.3 KB
orc_gen.c -rw-r--r-- 4.8 KB
special.c -rw-r--r-- 4.6 KB
special.h -rw-r--r-- 1.1 KB
sync-check.sh -rwxr-xr-x 584 bytes
warn.h -rw-r--r-- 1.7 KB

back to top