aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorAndy Whitcroft <apw@canonical.com>2011-05-31 05:42:49 -0400
committerLeann Ogasawara <leann.ogasawara@canonical.com>2011-08-30 13:16:39 -0400
commit4f4b38f7e142d11062398e1fe1a9285a1e887ba7 (patch)
tree81e9808db2cb206ac5000ba44c526e7214d4605d /debian
parentf3099a79932301ff9fb0dc2a9bce1523200319fd (diff)
UBUNTU: use the kernels idea of its version for version_signature
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Diffstat (limited to 'debian')
-rw-r--r--debian/rules.d/0-common-vars.mk2
-rw-r--r--debian/rules.d/2-binary-arch.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/debian/rules.d/0-common-vars.mk b/debian/rules.d/0-common-vars.mk
index 0e8e57114a9..13602c4dbf1 100644
--- a/debian/rules.d/0-common-vars.mk
+++ b/debian/rules.d/0-common-vars.mk
@@ -51,7 +51,7 @@ ubuntu_log_opts += --print-shas
51endif 51endif
52 52
53# Get the kernels own extra version to be added to the release signature. 53# Get the kernels own extra version to be added to the release signature.
54extraversion=$(shell awk '/EXTRAVERSION =/ { print $$3 }' <Makefile) 54raw_kernelversion=$(shell make kernelversion)
55 55
56# 56#
57# full_build -- are we doing a full buildd style build 57# full_build -- are we doing a full buildd style build
diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
index 62c1fae51b4..c1515423fbc 100644
--- a/debian/rules.d/2-binary-arch.mk
+++ b/debian/rules.d/2-binary-arch.mk
@@ -21,7 +21,7 @@ $(stampdir)/stamp-prepare-tree-%: $(commonconfdir)/config.common.$(family) $(arc
21 touch $(builddir)/build-$*/ubuntu-build 21 touch $(builddir)/build-$*/ubuntu-build
22 [ "$(do_full_source)" != 'true' ] && true || \ 22 [ "$(do_full_source)" != 'true' ] && true || \
23 rsync -a --exclude debian --exclude debian.master --exclude $(DEBIAN) * $(builddir)/build-$* 23 rsync -a --exclude debian --exclude debian.master --exclude $(DEBIAN) * $(builddir)/build-$*
24 cat $^ | sed -e 's/.*CONFIG_VERSION_SIGNATURE.*/CONFIG_VERSION_SIGNATURE="Ubuntu $(release)-$(revision)-$* $(release)$(extraversion)"/' > $(builddir)/build-$*/.config 24 cat $^ | sed -e 's/.*CONFIG_VERSION_SIGNATURE.*/CONFIG_VERSION_SIGNATURE="Ubuntu $(release)-$(revision)-$* $(raw_kernelversion)"/' > $(builddir)/build-$*/.config
25 find $(builddir)/build-$* -name "*.ko" | xargs rm -f 25 find $(builddir)/build-$* -name "*.ko" | xargs rm -f
26 $(build_cd) $(kmake) $(build_O) silentoldconfig prepare scripts 26 $(build_cd) $(kmake) $(build_O) silentoldconfig prepare scripts
27 touch $@ 27 touch $@