[PATCH Trusty/Utopic SRU] UBUNTU: [Debian] Add UTS_RELEASE_MINOR to version.h

Stefan Bader stefan.bader at canonical.com
Tue Jun 17 12:55:40 UTC 2014


On 16.06.2014 22:52, Tim Gardner wrote:
> BugLink: http://bugs.launchpad.net/bugs/1327619
> 
> Provides for finer grained kernel identification for external modules.
> 
> Signed-off-by: Tim Gardner <tim.gardner at canonical.com>
> ---
>  debian/rules.d/2-binary-arch.mk | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
> index 98fdf89..1947afc 100644
> --- a/debian/rules.d/2-binary-arch.mk
> +++ b/debian/rules.d/2-binary-arch.mk
> @@ -244,6 +244,8 @@ endif
>  	# Copy over the compilation version.
>  	cp "$(builddir)/build-$*/include/generated/compile.h" \
>  		"$(hdrdir)/include/generated/compile.h"
> +	# Add UTS_RELEASE_MINOR to version.h
> +	echo "#define UTS_RELEASE_MINOR $(abinum)" >> $(hdrdir)/include/generated/uapi/linux/version.h
>  	# powerpc kernel arch seems to need some .o files for external module linking. Add them in.
>  ifeq ($(build_arch),powerpc)
>  	mkdir -p $(hdrdir)/arch/powerpc/lib
> 

I can see the benefit and it should not break anything existing. And the
reporter claims this would help the problem. Minor worry that the naming could
make someone expect it to be a broken out part of UTS_RELEASE. Any reason not to
name it something like UBUNTU_KERNEL_ABI ?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20140617/20df8fb0/attachment.sig>


More information about the kernel-team mailing list