[PATCH][HARDY netbook-lpia] Add correct version_signature text instead of "Unofficial"
Stefan Bader
stefan.bader at canonical.com
Sun Oct 18 06:21:42 UTC 2009
Steve Conklin wrote:
> From bfe4133bbd8c2c786c9865c197d809f662c68011 Mon Sep 17 00:00:00 2001
> From: Steve Conklin <sconklin at canonical.com>
> Date: Wed, 14 Oct 2009 15:11:36 -0500
> Subject: [PATCH] UBUNTU: Make /proc/version_signature match the kernel version
> OriginalAuthor: Steve Conklin <sconklin at canonical.com>
>
> Add the required text subsitution to have the kernel version
> in /proc/version_signature, instead of "Unofficial".
>
> Signed-off-by: Steve Conklin <sconklin at canonical.com>
Acked-by: Stefan Bader <stefan.bader at canonical.com>
> ---
> debian/rules.d/6-binary-custom.mk | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/debian/rules.d/6-binary-custom.mk b/debian/rules.d/6-binary-custom.mk
> index 48d5be4..9c38f85 100644
> --- a/debian/rules.d/6-binary-custom.mk
> +++ b/debian/rules.d/6-binary-custom.mk
> @@ -17,13 +17,14 @@ $(stampdir)/stamp-custom-prepare-%: debian/binary-custom.d/%/config.$(arch) \
> install -d $(origsrc)
> install -d $(srcdir)
> touch $(srcdir)/ubuntu-build
> +
> find . \( -path ./debian -o -path ./.git -o -name .gitignore \) \
> -prune -o -print | cpio -dumpl $(origsrc)
> for patch in `ls debian/binary-custom.d/$*/patchset/*.patch | sort`; do \
> echo $$patch; \
> patch -p1 -d $(origsrc) < $$patch ;\
> done
> - cat $< > $(srcdir)/.config
> + cat $< | sed -e 's/.*CONFIG_VERSION_SIGNATURE.*/CONFIG_VERSION_SIGNATURE="Ubuntu $(release)-$(revision)-$*"/' > $(srcdir)/.config
> $(kmake) -C $(origsrc) O=$(srcdir) silentoldconfig prepare scripts
> touch $@
>
More information about the kernel-team
mailing list