Commit Graph

153 Commits

Author SHA1 Message Date
Andrea Adami
25c2e973e0 meta-initramfs: import klibc recipe and bbclass from meta-oe
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-22 09:40:24 +01:00
Otavio Salvador
b67977efbe Revert "systemd.bbclass: depends on systemd"
This reverts commit c029d4a268.
2012-02-20 22:22:02 +01:00
Otavio Salvador
c029d4a268 systemd.bbclass: depends on systemd
Packages that uses the systemd class need to have systemd build
otherwise they might fail to detect systemd as available or fail to
generate rootfs.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-01 08:24:07 +01:00
Andrea Adami
2164e05e17 kernel.bbclass: fix pkg_postinst and pkg_postrm (from oe-core)
* Symptom: kernel symlink in /boot is not created.
* Rename in order to create the expected files:
* /var/lib/opkg/info/kernel-3.1.4.postinst
* /var/lib/opkg/info/kernel-3.1.4.postrm

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-09 10:31:00 +01:00
Koen Kooi
c486dfa401 kernel bbclass: sync with OE-core
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-12-11 09:46:28 +01:00
Koen Kooi
084fc20cd5 testlab: only use basename for license info to avoid diff churn
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-12-06 08:41:58 +01:00
Koen Kooi
8130a2f78c testlab bbclass: output version info on all layers
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-25 14:34:17 +01:00
Koen Kooi
5260401eb0 classes: remove duplicate classes
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-12 12:27:30 +01:00
Otavio Salvador
051102329c systemd.bbclass: stop using SYSTEMDPN to rdepends addition
The systemd runtime dependency needs to be add dynamically onto each
package that has the postinst generate thus removing the SYSTEMDPN use
et all.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-08 14:07:51 +01:00
Otavio Salvador
39ce6e1fbb systemd.bbclass: make easier handle service enabling
This generates the postinst/prerm/postrm routines for the package
specified in SYSTEMD_PACKAGES avoding code duplication and
centralizing the handling of it for easy maintainence work.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-04 19:41:19 +01:00
Andreas Müller
6b765989a4 mime.bbclass: Add --disable-update-mimedb to EXTRA_OECONF
keep recipes from building files not intended to pack and causing QA warnings [1]

[1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-November/035954.html

Signed-off-by: Andreas Müller <schnitzeltony@gmx.de>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-02 17:25:42 +01:00
Martin Jansa
3693a950b8 glx-use-tls: moved to oe-core with mesa recipes
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-10-12 20:28:34 +02:00
Otavio Salvador
9a9bc6e47d gitpkgv: add support SRCREV_FORMAT
In case of multiple GIT repositories are used, SRCREV_FORMAT will be
respected while filling it with the proper GIT information to each
revision.

This new feature needed heavy changes in the code so basically it was
a rewrote version that keeps compatibility with previous usage.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-09-04 09:18:55 +02:00
Otavio Salvador
e2ab1ff691 kernel.bbclass: save kernel image name into $kerneldir
Save the kernel image name into sysroot so it can be used during image
build if need. This is used by O.S. Systems products and probably
useful to others.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2011-08-22 22:03:11 +02:00
Otavio Salvador
d0d016e117 kernel.bbclass: fix spacing to reduce delta between oe-core and meta-oe
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2011-08-22 22:03:11 +02:00
Andrea Adami
378adecafc klibc.bbclass: shared include for building against klibc
* from org.openembedded.dev
* reworked in meta-zaurus
* added missing quotes
* explain more clearly why the compiler/linker flags are reset

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-08-17 09:21:11 +02:00
Bruce Ashfield
3d96cb8778 kernel: copy defconfig to {B} vs {S}
For kernel's that use a split source/object build the copy
of defconfig to {S} in the base kernel class is problematic.
The previous solution for this was to override the do_configure
of the base kernel class in a subclass. While this is still
a viable/valid option, it does mean that changes to the base
do_configure will be missed.

The solution to this is to copy a defconfig to {B} which is
typically the same as {S}, so most kernel recipes won't see or
care about this change.

With this change in place, linux-yocto.bbclass can drop its
override of do_configure.

Tested with linux-yocto and oe linux recipes.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-08-05 19:49:59 +02:00
Nitin A Kamble
3df1853e1e kernel,module-base.bbclass: Improve KERNEL_LD & KERNEL_AR variables
KERNEL_LD was using ${LD} in it's definition, which is not correct for
different ABIs such as x32 or i386 on x86_64 machine. This brings it
into sync with the corresponding gcc settings, likewise the same with
the KERNEL_AR variable.

[RP: Updated commit message]
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-08-05 19:49:59 +02:00
Noor, Ahsan
d375bad5c8 kernel.bbcalss: Added do_savedefconfig task.
* Added do_savedefconfig task to kernel.bbclass.

Signed-off-by: Noor, Ahsan <noor_ahsan@mentor.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-08-05 19:49:59 +02:00
Noor, Ahsan
ed1d905054 kernel,cml1.bbclass: Move menuconfig to cml1
* The menuconfig target exists in places other than the kernel that use kernel style config.

Signed-off-by: Noor, Ahsan <noor_ahsan@mentor.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-08-05 19:49:59 +02:00
Koen Kooi
fa1547f54b siteinfo bbclass: remove, it has been synced back to oe-core
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-07-22 18:58:55 +02:00
Koen Kooi
b42f8cbcf1 kernel.bbclass: sync with oe-core after recent initramfs merges
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-07-15 17:29:38 +02:00
Richard Purdie
14609a197a base/kernel/image.bbclass: Clean up do_deploy ordering to ensure it just happens before a build completes
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-07-15 17:25:18 +02:00
Darren Hart
5196b842f7 kernel: move menuconfig task after configure
Fixes [YOCTO 1136]

linux-yocto adds some configure steps that are necessary to prepare the source
tree after the do_patch task. This causes a "-c menuconfig" to fail in a clean
build tree. Typical use of menuconfig should be to modify the config provided
by the recipe being built. It therefor makes sense for the menuconfig task to
come after the configure task. This also happens to fix the issue seen with the
linux-yocto kernel recipe.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-07-15 17:05:27 +02:00
Phil Blundell
ddeb144931 kernel.bbclass, task-base: remove references to obsolete bluez-dtl1-workaround
Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-07-15 17:03:38 +02:00
Paul Eggleton
f8d19a8b02 classes: remove qt4e.bbclass
The same version of this class is now in openembedded-core.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-07-14 17:38:33 +02:00
Khem Raj
f265206496 classes/testlab: Enhance to dump license information
It will now additionally create a new file which will
contain list of licenses of installed packages in a given
image.

The fix to get the package name is there because the packages
which contains epoch PE in the version string were not
being constructed correctly since opkg-cl would dump
'epoch:version' for Version string but the real ipk
did not have 'epoch' in its name. e.g.

for armv5te/libopkg0_0.1.8+svnr609-r2_armv5te.ipk

Package: libopkg0
Version: 1:0.1.8+svnr609-r2

as you can see version contained in ipk is not
containing the 'epoch'

so we have to eliminate 'epoch' from version we get from
opkg-cl to for the installed ipk name correctly.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-07-14 14:24:24 +02:00
Koen Kooi
a7b8268b8f kernel.bbclass: blacklist 'perf-dbg' as well for the modules meta package
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-07-02 11:29:02 +02:00
Koen Kooi
8d6a05fe77 kernel.bbclass: sync with OE-core
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-07-02 11:28:02 +02:00
Mark Hatle
912c096a46 kernel.bbclass: Add support for perf-dbg package
The perf component is built with the kernel, so ensure that it gets the
debug information associated with it.

Also bump the PR in the linux-yocto-* to ensure they get rebuilt.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-07-02 10:26:11 +02:00
Anders Darander
003ab56b8f image|kernel.bblass|module-init-tools: do not use depmod-2.6
Change to only depend on virtual/*/depmod.
Change all calls to only use depmod.
Do not install depmod as depmod-2.6
Bump PR in module-init-tools-cross.

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-02 10:24:22 +02:00
Anders Darander
040e9e785c Remove support for building 2.4 kernels
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-02 10:24:22 +02:00
Richard Purdie
efdd3bd9cf kernel.bbclass: Ensure kernel/* internal sysroot working directory don't get packaged
This removes a couple of megabytes of QA warnings!

Signed-off-by: Richard  Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-07-01 16:28:32 +02:00
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
Koen Kooi
517421d503 gnomebase.bbclass: add /usr/share/GConf and gconf schemas into default FILES_${PN}
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-19 20:41:25 +02:00
Koen Kooi
f95ffd6ced siteinfo bbclass: add entry for allarch
As stated in the comment, the values are bogus but better than specialcasing the checks

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-02 11:02:53 +02:00
Koen Kooi
68fc9becd4 siteinfo bbclass: sync compat section with oe-core
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-02 10:50:02 +02:00
Martin Jansa
c80829768e siteinfo: add allarch-linux target
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-06-02 10:04:54 +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
a63c374cdc blacklist: fix typo in name
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-18 15:19:05 +02:00
Koen Kooi
4344aea563 testlab bbclass: put reports in TCLIBC subdirectory
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-18 15:07:38 +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
Otavio Salvador
aef16efcd8 qmake_base.bbclass: use using parallel staging dirs
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2011-05-10 16:59:07 +02:00
Otavio Salvador
5f81a7d2bc qmake_base.bbclass: sync with oe-core class
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2011-05-10 08:55:54 +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
Martin Jansa
dc4339fae9 vala.bbclass: move from meta-efl to meta-oe as libcanberra_0.26.bb is also using it
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-04-16 13:50:43 +02:00
Martin Jansa
89500c583e recipes,classes: import a lot of recipes from meta-shr
* tested on shr-lite-image for om-gta02 and nokia900 (with meta-shr layer)
2011-04-10 14:43:41 +02:00
Khem Raj
a7dbb15f74 siteinfo.bbclass: Use linux-uclibceabi instead of uclibcgnueabi
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-03-31 19:36:45 -07: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