Commit Graph

9 Commits

Author SHA1 Message Date
Richard Purdie 5b857eeeb7 kernel.bbclass: Stop do_install poking directly into the sysroot and evading sstate
do_install was putting files directly into the sysroot which means sstate
had no knowledge of them. This meant they didn't get cleaned along with the
other files from the task amongst other issues.

This patch puts them in ${D} where they were supposted to be.

Tested-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-23 21:50:13 +02:00
Tom Rini 81dc1b554b kernel.bbclass: Stage System.map with KERNEL_VERSION suffix
Without this, images will fail now that kernel-abiversion is back.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-23 09:22:11 +02:00
Koen Kooi c6c282daa0 kernel.bbclass: restore kernel-abiversion file
This fixes external module recipes that need $KERNEL_VERSION. It got removed by

	commit a9d41062e24a6b99661b3a5256f369b557433607
	Author: Darren Hart <dvhart@linux.intel.com>
	Date:   Tue Mar 8 17:09:10 2011 -0800

		kernel/bbclass: rework kernel and module classes to allow for building out-of-tree modules

seemingly as an oversight.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-22 16:17:45 +02:00
Andreas Oberritter 2a4ffb47b0 kernel.bbclass: pass KERNEL_VERSION through legitimize_package_name
- KERNEL_VERSION may contain characters unsuitable for package
  names, e.g. underscores. Use legitimize_package_name to replace
  those characters.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-20 21:28:16 +02:00
Koen Kooi 68c15845d0 testlab, blacklist bbclass: import from meta-angstrom
These are good for general use since other distros (SHR, SlugOS) are copying them into their layers nowadays. Let's stop this duplication bu moving them here.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-16 20:57:45 +02:00
Koen Kooi 9e7cb7e20d kernel.bbclass: mini sync with oe-core
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-04-23 16:19:35 +02:00
Koen Kooi eebc7b3cfd kernel.bbclass: blacklist 'kernel-misc' from kernel-modules
When 'kernel-misc' is empty do_rootfs will fail when including 'kernel-modules'

The proper fix would be to have a whitelist for the 'kernel-modules' meta-pkg

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-03-24 08:08:23 +01:00
Koen Kooi 42fabd7d8c kernel bbclass: sync with OE-core for do_install changes
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-03-21 19:35:25 +01:00
Koen Kooi c58cc7d379 move layer into meta-oe in preparation for future splits
As per TSC decision

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-03-17 21:41:22 +01:00