summaryrefslogtreecommitdiff
path: root/classes
AgeCommit message (Collapse)AuthorFiles
2009-08-19base.bbclass: catch bb.MalformedUrl in do_fetch.Chris Larson1
Signed-off-by: Chris Larson <clarson@mvista.com>
2009-08-19Let the distro control whether we include hostap or madwifi.Chris Larson1
- Add base_ifelse convenience function to base.bbclass. - Replace all conditionals in the recipes relating to hostap and madwifi to look for their name in COMBINED_FEATURES rather than looking for specific buses (pci, pcmcia). - Change the default COMBINED_FEATURES to enable: - madwifi, when: - distro has pci, wifi, and madwifi in its features - machine has pci in its features - hostap, when: - 'wifi' and 'hostap' are in distro features - either 'pci' or 'pcmcia' are in both distro and machine features Signed-off-by: Chris Larson <clarson@mvista.com>
2009-08-19base.bbclass: introduce OE source mirror network as last resort for do_fetchRolf Leggewie1
Updating recipes and checksums.ini for vanishing upstream hosts or simple restructuring can quickly become a chore for OE devs if taken seriously. The OE user experience suffers severely when at any given point in time 4 to 5 recipes on average fail do_fetch for a simple image. The solution is for OE to provide its own caching of upstream sources. mirrors.openembedded.org is a swarm of possibly incomplete source mirrors provided by the community and load-balanced via DNS round robin. They act as a first line of defense and lower bandwidth load on melo which hosts sources.openembedded.org. The melo mirror aims to have a complete copy of free-to-publish sources used by the current org.oe.dev branch. More information at http://wiki.openembedded.net/index.php/Sources_mirror Acked-by: Holger Freyther <zecke@selfish.org> Acked-by: Chris Larson <clarson@kergoth.com>
2009-08-18package_tar.bbclass: Do not set IMAGE_PKGTYPE to unbreak parsingHolger Hans Peter Freyther1
image.bbclass is trying to inherit package_${IMAGE_PKGTYPE} and this will fail because a rootfs_tar.bbclass doesn't exist. When planning to build images one needs to inherit package_ipk, package_rpm or package_deb in addition to INHERIT += "package_tar". Signed-off-by: Holger Hans Peter Freyther <zecke@selfish.org> Acked-by: Philip Balister <philip@balister.org>
2009-08-14base.bbclass: ftp.matrix.com.br no longer existsRolf Leggewie1
* Acked-By: Holger Freyther <zecke@selfish.org> * Acked-by: Phil Blundell <philb@gnu.org>
2009-08-14kernel.bbclass: introduce MODULES_IMAGE_BASE_NAMEDenys Dmytriyenko1
Similar to KERNEL_IMAGE_BASE_NAME, allow overwriting from a recipe Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Henning Heinold <heinold@inf.fu-berlin.de>
2009-08-09sanity.bbclass: Correct typo to refer to PACKAGE_EXTRA_ARCHSKhem Raj1
We were using EXTRA_PACKAGE_ARCHS which was sort of misleading if you started to search for this variable. It was a typo hence fixed as obvious. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2009-08-08image.bbclass: fix bug in lingua code (code wasn't spitting entries like ↵Steve Sakoman1
fr-fr and thus locale-fr packages were bing omitted)
2009-08-08gconf.bbclass: adjust the ordering of things so that a package ↵Steve Sakoman1
pkg_postinst_append is executed after the class postinst. This is important since recipes like gpanel need to to execute gconftool-2 --load after the gconf class code has processed the schema info
2009-08-06vala: here comes 0.7.5+fso2Michael 'Mickey' Lauer1
2009-08-01base.bbclass: Strip -sdk from the PN for BPN as wellHolger Hans Peter Freyther1
This is fixing the compilation of libtool-sdk_2.6.6a which is currently the only user of BPN.
2009-07-31kernel.bbclass : moved uImage creation from do_deploy to between do_compileGraham Gower1
and do_install as discussed on ML. linux.inc : removed uImage creation, its now in kernel.bbclass Signed-off-by: Graham Gower <graham.gower@gmail.com> Acked-by: Graeme Gregory <dp@xora.org.uk> Acked-by: Koen Kooi <koen@openembedded.org>
2009-07-29qt4x11 bbclass: only match first 12 chars in automagical dependency adderKoen Kooi1
2009-07-28oestats-client: restore support for proxiesDmitry Eremin-Solenikov1
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
2009-07-24Revert "image.bbclass: reorder do_rootfs"Richard Purdie1
This reverts commit 736c06e8d8efa79d3d2bc512f13a51f0f63412e2 as this change breaks future versions of bitbake. See the OE mailing list, in the "Bitbake runqueue performance improvement" thread for a discussion on why this isn't the best way to solve multi-image problem and that other better solutions exist.
2009-07-22base bbclass: try to find the git binaries in PATH instead of BBPATHKoen Kooi1
* Also, how do I get the build banner back? This bug went unnoticed due to it being gone
2009-07-22oestats-client.bbclass: support arbitrary URLs (Closes: #5283)Jeremy Lainé1
2009-07-17packagehistory bbclass: hotfix from RP to work around the ↵Koen Kooi1
multiple-machine-share-same-kernel problem
2009-07-16angstrom.bbclass : a utility bbclass for angstrom, currently implementsGraeme Gregory1
a recipe blacklister
2009-07-14packagehistory: add another QA class from pokyKoen Kooi1
2009-07-11package classes: count dotfiles as non-emptyMichael Smith4
Allow a package to be built that contains only dotfiles or dot directories under '/'. Signed-off-by: Michael Smith <msmith@cbnco.com>
2009-07-10Revert "base.bbclass: add support for machine configuration fallback"Graeme Gregory1
This reverts commit 6633c4c95a713bc365f5d87acc4a94621ed50034.
2009-07-10base.bbclass: add support for machine configuration fallbackOtavio Salvador1
To avoid duplicating a lot of configurations for similar machines we needed to introduce a new concept of machine fallback. It basically means that when a list is set in MACHINE_FALLBACK variable, following is done: - those machines are added to the override list, after the machine itself; - if any of these machines matches, the package is dealt as machine specific one. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2009-07-08package_rpm.bbclass: be more quietMarcin Juszkiewicz1
2009-06-24bitbake.conf, base.bbclass: Changed build config summary header to be a ↵Chris Larson1
variable. Default in bitbake.conf for BUILDCFG_HEADER is "Build Configuration". This lets distributions make their builds ever so slightly prettier :) Signed-off-by: Chris Larson <clarson@mvista.com> Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
2009-06-24packaged-staging.bbclass: use ?= for PSTAGE_PKG.Chris Larson1
Signed-off-by: Chris Larson <clarson@mvista.com>
2009-06-21rootfs_deb: Update IMAGE_ROOTFS variable usage to be consistentLynn Lin1
update IMAGE_ROOTFS variable to fix inconsistent use of IMAGE_ROOTFS variable content in by apt-native after the changes introducd in 2343808f7386cbd4c7b43f1b24e65e173f5ddf15. This commit changed IMAGE_ROOTFS from "${TMPDIR}/rootfs" to "${TMPDIR}/rootfs/${PN}" and that caused IMAGE_ROOTFS to expand to ${TMPDIR}/rootfs/apt-native in apt.conf.sample, however rootfs_deb.class uses apt.conf.sample to generate apt-rootfs.conf and here here IMAGE_ROOTFS is different from that in apt-native package. Acked-by: Tom Rini <trini@embeddedaley.com>
2009-06-20image bbclass: fix logic buglet in lingua codeKoen Kooi1
2009-06-19recipe_sanity.bbclass: only check RPROVIDES/RDEPENDS in target recipes.Chris Larson1
Signed-off-by: Chris Larson <clarson@mvista.com>
2009-06-19recipe_sanity.bbclass: add checks for "bad" vars like RDEPENDS/RPROVIDES.Chris Larson1
Signed-off-by: Chris Larson <clarson@mvista.com>
2009-06-19recipe_sanity.bbclass: add checks for missing/default variablesChris Larson1
By default, for now, it just checks for LICENSE being left as default when SRC_URI is set, and an empty DESCRIPTION, which freaks out the packaging classes. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-06-19recipe_sanity.bbclass: add check to handle bugs wrt var expansions in var names.Chris Larson1
Signed-off-by: Chris Larson <clarson@mvista.com>
2009-06-19recipe_sanity: add check for PACKAGES in native/cross and split to ↵Chris Larson1
recipe_sanity_all. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-06-19Make package_update_index_ipk proper task with lockingRoman I Khimov2
Parallel image builds race in package_update_index_ipk, so locking is needed and for a proper lock package_update_index_ipk needs to be a proper task. Acked-by: Tom Rini <trini@embeddedalley.com>
2009-06-18Revert "linux-2.6.29: add a default kernel for tqm8540"Koen Kooi1
This reverts commit f1cc64d92cc4023fe8180dc0079d010eec0d71b0.
2009-06-18linux-2.6.29: add a default kernel for tqm8540Dmitry Eremin-Solenikov1
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
2009-06-17base.bbclass: set PATH when calling git for metadata scm bits.Chris Larson1
Signed-off-by: Chris Larson <clarson@mvista.com>
2009-06-17base.bbclass: make git fail silently in the metadata scm bits.Chris Larson1
Signed-off-by: Chris Larson <clarson@mvista.com>
2009-06-17task.bbclass: add missing 'import bb'.Chris Larson1
Signed-off-by: Chris Larson <clarson@mvista.com>
2009-06-17rootfs_ipk.bbclass: add log_check for "Cannot satisfy the following ↵Chris Larson1
dependencies". Fixes a bug pointed out where a missing rdepends of a package installed into an image wasn't resulting in a failure in the do_rootfs task. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-06-17image.bbclass: remove tmp/rootfs after image creation unless you set a variableChris Larson1
Set IMAGE_KEEPROOTFS to something other than the empty string to keep tmp/rootfs around after image creation, otherwise it will be removed, as it's not a fully functional filesystem, and causes much confusion among users as a result. Signed-off-by: Chris Larson <clarson@mvista.com> Acked-by: Tom Rini <trini@embeddedalley.com> Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
2009-06-17Merge branch 'org.openembedded.dev' of git@new.openembedded.org:openembedded ↵Phil Blundell2
into org.openembedded.dev
2009-06-17kernel.bbclass: don't add dependency on update-modules if not doing O_P_MPhil Blundell1
2009-06-17kernel.bbclass: remove not used 'pr' variable - spotten by KoenMarcin Juszkiewicz1
2009-06-17siteinfo.bbclass: add support for via C3 hostRolf Leggewie1
2009-06-17fix for MACHINE_KERNEL_PR stuffMarcin Juszkiewicz1
This patch unbreaks current behaviour which was introduced by MACHINE_KERNEL_PR variable. As most of target machines do not use it they have PR with broken value (set to "r0" instead of value in recipe). I took other way which makes both types of users happy -- those with MACHINE_KERNEL_PR in use and those without it. By default we set M_K_PR to empty string instead of "r0" - this allows to check is it set at all or not. If it is set then we set PR to this value. Otherwise we ignore existance of that variable and use PR from recipe. Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
2009-06-16image.bbclass: unbreak postinst status in the install_lingua methodKoen Kooi1
2009-06-15rootfs_ipk: move "mkdir /etc/opkg" inside ONLINE_PACKAGE_MANAGEMENT conditionalPhil Blundell1
2009-06-15Revert "bitbake.conf, lib_package.bbclass: fix packaging of ${base_libdir}/*.so"Phil Blundell1
This reverts commit ba434bd1dc9dc8ed61953a1579ea9e993e81cbb2. Acked-by: Richard Purdie, Leon Woestenberg
2009-06-13rootfs_ipk: opkg (at least some versions) doesn't respect ${libdir}, so look ↵Phil Blundell1
in /usr/lib specifically for its bits