linux-sg2042/scripts/package
Marc Zyngier 5db8face97 kbuild: Restore .version auto-increment behaviour for Debian packages
Since 2df8220cc5 ("kbuild: build init/built-in.a just once"),
generating Debian packages using 'make bindeb-pkg' results in
packages that are stuck to the same .version, leading to unexpected
behaviours (multiple packages with the same version).

That's because the mkdebian script samples the build version
before building the kernel, and forces the use of that version
number for the actual build.

Restore the previous behaviour by calling init/build-version
instead of reading the .version file. This is likely to result
in too many .version bumps, but this is what was happening before
(although the bump was affecting builds made after the current one).

Fixes: 2df8220cc5 ("kbuild: build init/built-in.a just once")
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2022-11-17 17:51:45 +09:00
..
builddeb objtool: Add CONFIG_OBJTOOL 2022-04-22 12:32:03 +02:00
buildtar kbuild: Add make tarzst-pkg build option 2021-10-12 11:50:46 +09:00
mkdebian kbuild: Restore .version auto-increment behaviour for Debian packages 2022-11-17 17:51:45 +09:00
mkspec kbuild: Stop including vmlinux.bz2 in the rpm's 2022-10-13 02:10:05 +09:00
snapcraft.template scripts/package: snap-pkg target 2017-12-13 00:00:18 +09:00