summaryrefslogtreecommitdiffstats
path: root/meta-oe/classes
Commit message (Collapse)AuthorAgeFilesLines
...
* systemd.bbclass: cosmeticsAndreas Müller2012-02-231-8/+7
| | | | | | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* systemd.bbclass: enhance checks for SYSTEMD_PACKAGES and SYSTEMD_SERVICEAndreas Müller2012-02-231-8/+39
| | | | | | | | | | | | | | | | | | | | after recipe parsing the following plausibilities are checked: * ERROR if empty SYSTEMD_PACKAGES * ERROR if SYSTEMD_PACKAGES entry does not contain '-systemd' AND package_name != ${PN} * ERROR if SYSTEMD_PACKAGES entry contains '-systemd' but entry without '-systemd' (base pkg) does not exist * WARNING if SYSTEMD_PACKAGES containing ${PN} to force package maintainers to split out systemd-specific files into *-systemd * error if SYSTEMD_SERVICE(_<systemd-package>) is empty for one or more entries in SYSTEMD_PACKAGES The code in populate_packages_prepend to set SYSTEMD_PACKAGES to ${PN} as default was removed. Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* systemd.bbclass: introduce systemd_unitdirAndreas Müller2012-02-231-0/+2
| | | | | | | | | Follow suggestion in [1] [1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2012-February/038018.html Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* meta-initramfs: import klibc recipe and bbclass from meta-oeAndrea Adami2012-02-221-9/+0
| | | | | Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* Revert "systemd.bbclass: depends on systemd"Otavio Salvador2012-02-201-1/+1
| | | | This reverts commit c029d4a268de1ac7076fbeb9e337e96fdb1b226d.
* systemd.bbclass: depends on systemdOtavio Salvador2012-02-011-1/+1
| | | | | | | | | 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>
* kernel.bbclass: fix pkg_postinst and pkg_postrm (from oe-core)Andrea Adami2012-01-091-2/+2
| | | | | | | | | | * 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>
* kernel bbclass: sync with OE-coreKoen Kooi2011-12-111-44/+61
| | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* testlab: only use basename for license info to avoid diff churnKoen Kooi2011-12-061-1/+1
| | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* testlab bbclass: output version info on all layersKoen Kooi2011-11-251-1/+26
| | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* classes: remove duplicate classesKoen Kooi2011-11-123-195/+0
| | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* systemd.bbclass: stop using SYSTEMDPN to rdepends additionOtavio Salvador2011-11-081-4/+6
| | | | | | | | | 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>
* systemd.bbclass: make easier handle service enablingOtavio Salvador2011-11-041-0/+78
| | | | | | | | | 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>
* mime.bbclass: Add --disable-update-mimedb to EXTRA_OECONFAndreas Müller2011-11-021-0/+2
| | | | | | | | | 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>
* glx-use-tls: moved to oe-core with mesa recipesMartin Jansa2011-10-121-7/+0
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* gitpkgv: add support SRCREV_FORMATOtavio Salvador2011-09-041-24/+35
| | | | | | | | | | | | 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>
* kernel.bbclass: save kernel image name into $kerneldirOtavio Salvador2011-08-221-0/+6
| | | | | | | | 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>
* kernel.bbclass: fix spacing to reduce delta between oe-core and meta-oeOtavio Salvador2011-08-221-5/+4
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* klibc.bbclass: shared include for building against klibcAndrea Adami2011-08-171-0/+9
| | | | | | | | | | * 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>
* kernel: copy defconfig to {B} vs {S}Bruce Ashfield2011-08-051-2/+2
| | | | | | | | | | | | | | | | | | | | | 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>
* kernel,module-base.bbclass: Improve KERNEL_LD & KERNEL_AR variablesNitin A Kamble2011-08-051-1/+1
| | | | | | | | | | | | 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>
* kernel.bbcalss: Added do_savedefconfig task.Noor, Ahsan2011-08-051-0/+6
| | | | | | | * 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>
* kernel,cml1.bbclass: Move menuconfig to cml1Noor, Ahsan2011-08-051-15/+0
| | | | | | | * 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>
* siteinfo bbclass: remove, it has been synced back to oe-coreKoen Kooi2011-07-221-222/+0
| | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* kernel.bbclass: sync with oe-core after recent initramfs mergesKoen Kooi2011-07-151-6/+5
| | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* base/kernel/image.bbclass: Clean up do_deploy ordering to ensure it just ↵Richard Purdie2011-07-151-1/+1
| | | | | | | happens before a build completes Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* kernel: move menuconfig task after configureDarren Hart2011-07-151-1/+1
| | | | | | | | | | | | | | 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>
* kernel.bbclass, task-base: remove references to obsolete bluez-dtl1-workaroundPhil Blundell2011-07-151-5/+0
| | | | | | 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>
* classes: remove qt4e.bbclassPaul Eggleton2011-07-141-17/+0
| | | | | | | 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>
* classes/testlab: Enhance to dump license informationKhem Raj2011-07-141-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* kernel.bbclass: blacklist 'perf-dbg' as well for the modules meta packageKoen Kooi2011-07-021-1/+1
| | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* kernel.bbclass: sync with OE-coreKoen Kooi2011-07-021-4/+3
| | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* kernel.bbclass: Add support for perf-dbg packageMark Hatle2011-07-021-1/+2
| | | | | | | | | | 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>
* image|kernel.bblass|module-init-tools: do not use depmod-2.6Anders Darander2011-07-021-6/+4
| | | | | | | | | | 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>
* Remove support for building 2.4 kernelsAnders Darander2011-07-021-10/+2
| | | | | Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: Ensure kernel/* internal sysroot working directory don't get ↵Richard Purdie2011-07-011-0/+6
| | | | | | | | | 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>
* kernel.bbclass: Stop do_install poking directly into the sysroot and evading ↵Richard Purdie2011-06-231-1/+1
| | | | | | | | | | | | | | 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>
* kernel.bbclass: Stage System.map with KERNEL_VERSION suffixTom Rini2011-06-231-0/+1
| | | | | | | 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>
* kernel.bbclass: restore kernel-abiversion fileKoen Kooi2011-06-221-0/+6
| | | | | | | | | | | | | | 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>
* gnomebase.bbclass: add /usr/share/GConf and gconf schemas into default ↵Koen Kooi2011-06-191-0/+2
| | | | | | FILES_${PN} Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* siteinfo bbclass: add entry for allarchKoen Kooi2011-06-021-1/+2
| | | | | | As stated in the comment, the values are bogus but better than specialcasing the checks Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* siteinfo bbclass: sync compat section with oe-coreKoen Kooi2011-06-021-0/+2
| | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* siteinfo: add allarch-linux targetMartin Jansa2011-06-021-0/+1
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* kernel.bbclass: pass KERNEL_VERSION through legitimize_package_nameAndreas Oberritter2011-05-201-2/+2
| | | | | | | | | | - 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>
* blacklist: fix typo in nameKoen Kooi2011-05-181-0/+0
| | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* testlab bbclass: put reports in TCLIBC subdirectoryKoen Kooi2011-05-181-1/+1
| | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* testlab, blacklist bbclass: import from meta-angstromKoen Kooi2011-05-163-1/+105
| | | | | | 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>
* qmake_base.bbclass: use using parallel staging dirsOtavio Salvador2011-05-101-5/+5
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* qmake_base.bbclass: sync with oe-core classOtavio Salvador2011-05-101-6/+20
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* kernel.bbclass: mini sync with oe-coreKoen Kooi2011-04-231-2/+1
| | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>