Patchwork kernel.bbclass: Stage System.map with KERNEL_VERSION suffix

login
register
mail settings
Submitter Tom Rini
Date June 22, 2011, 11:48 p.m.
Message ID <1308786521-27001-1-git-send-email-tom_rini@mentor.com>
Download mbox | patch
Permalink /patch/6391/
State New, archived
Headers show

Comments

Tom Rini - June 22, 2011, 11:48 p.m.
Without this, images will fail now that kernel-abiversion is back.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
---
 meta/classes/kernel.bbclass |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Koen Kooi - June 23, 2011, 7:19 a.m.
Op 23 jun 2011, om 01:48 heeft Tom Rini het volgende geschreven:

> Without this, images will fail now that kernel-abiversion is back.
> 
> Signed-off-by: Tom Rini <tom_rini@mentor.com>

Acked-by: Koen Kooi <koen@dominion.thruhere.net>

> ---
> meta/classes/kernel.bbclass |    1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
> index 1bb69f5..f2e0aff 100644
> --- a/meta/classes/kernel.bbclass
> +++ b/meta/classes/kernel.bbclass
> @@ -137,6 +137,7 @@ kernel_do_install() {
> 		cp -fR ${S}/* $kerneldir
> 	fi
> 	install -m 0644 ${KERNEL_OUTPUT} $kerneldir/${KERNEL_IMAGETYPE}
> +	install -m 0644 System.map $kerneldir/System.map-${KERNEL_VERSION}
> 
> 	#
> 	# Clean and remove files not needed for building modules.
> -- 
> 1.7.0.4
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Richard Purdie - June 23, 2011, 12:46 p.m.
On Wed, 2011-06-22 at 16:48 -0700, Tom Rini wrote:
> Without this, images will fail now that kernel-abiversion is back.
> 
> Signed-off-by: Tom Rini <tom_rini@mentor.com>
> ---
>  meta/classes/kernel.bbclass |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)

Merged to master, thanks.

Richard

Patch

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 1bb69f5..f2e0aff 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -137,6 +137,7 @@  kernel_do_install() {
 		cp -fR ${S}/* $kerneldir
 	fi
 	install -m 0644 ${KERNEL_OUTPUT} $kerneldir/${KERNEL_IMAGETYPE}
+	install -m 0644 System.map $kerneldir/System.map-${KERNEL_VERSION}
 
 	#
 	# Clean and remove files not needed for building modules.