deiban packaging of linux kernel with sysmocom modifications
Go to file
Ben Hutchings aca61360d7 linux-image: Include package version in utsname version string (Closes: #638878)
There is not enough space for both timestamp and package version, so
replace the timestamp by setting KBUILD_BUILD_TIMESTAMP.

We now need to get the distribution name in debian/rules.real, but
we already have DISTRIBUTION as the suite name so use DISTRIBUTOR for
the distribution name (!).

The utsname version string also appears in /proc/version and the init
banner, so don't bother including it again explicitly.  This means we
no longer need to patch init/version.c and scripts/mkcompile_h at all.
Instead, split maintainer at the '@' and set KBUILD_BUILD_USER and
KBUILD_BUILD_HOST accordingly.

Carry on generating <generated/package.h>, but drop the parentheses
from LINUX_PACKAGE_ID now that it's not used in init/version.c.

Drop support for version.$DISTRIBUTION files.  Any derived
distribution can set KBUILD_BUILD_* in the same way we are doing.

svn path=/dists/sid/linux/; revision=19289
2012-07-24 01:52:31 +00:00
debian linux-image: Include package version in utsname version string (Closes: #638878) 2012-07-24 01:52:31 +00:00