summaryrefslogtreecommitdiff
path: root/classes
AgeCommit message (Collapse)AuthorFiles
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
2009-06-13autotools.bbclass: sdk packages should not depend on libtool-crossTom Rini1
2009-06-13update-rc.d: don't add runtime dependency if not doing online package ↵Phil Blundell1
management; only add it to ${PN} in any case.
2009-06-12image bbclass: add install_linguas methodKoen Kooi1
* this method will install all linguas in $IMAGE_LINGUAS for all packages installed into the rootfs * currently opkg only, guarded with a check
2009-06-10recipe_sanity.bbclass: add initial recipe sanity checker.Chris Larson1
Currently just checks for variables which the recipe can avoid defining, as the values end up the same as the defaults. Formerly known as kergoth_sanity, but we all know such a thing is mythical ;) Signed-off-by: Chris Larson <clarson@mvista.com>
2009-06-09qt4: style refinements, more generalizationIhar Hrachyshka1
Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com> Acked-by: Tom Rini <trini@embeddedalley.com> Acked-by: Denys Dmytriyenko <denis@denix.org>
2009-05-31gnome.bbclass: remove unneeded scrollkeeper stuff from gnome packages.Ihar Hrachyshka1
Scrollkeeper generates its XML database for every package when installing it. The problem is that while building it sees only specific package scrollkeeper stuff so we get wrong scrollkeeper xml file generated for every gnome.bbclass package. Including the file into every gnome package results in package contents conflicts. This patch removes a quick hack made by Koen with previous commit. Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com> Acked-by: Phil Blundell <philb@gnu.org> Signed-off-by: Koen Kooi <koen@openembedded.org>
2009-05-28lockdown: steal some bits from openmoko that will dump prefferred_versions ↵Koen Kooi1
to TMPDIR * freeze.inc would work as well, but I got this working first
2009-05-25tinderclient: support sitting behind proxyDmitry Eremin-Solenikov1
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
2009-05-25seppuku: add support for working behind the proxyDmitry Eremin-Solenikov1
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
2009-05-23oestats-client: support working behind proxyDmitry Eremin-Solenikov1
Detect if we are behind proxy by checking for HTTP_PROXY variable and use specified proxy for http traffic. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
2009-05-21gnome bbclass: package scrollkeeper 'leftovers' in a seperate package. Like ↵Koen Kooi1
the fdo mime data it overlaps between packages. * better solution is needed for people wanting docs on device, but this makes packages at least installable
2009-05-20fixes wrong license value usage for GPLv2Otavio Salvador1
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2009-05-19nylon classes: update image type and mirror locationsMartin Dietze2
2009-05-19package_rpm: fix move wrong generated rpm name - closes #5078Lynn Lin1
2009-05-14Shorten some full paths printed to the user.Chris Larson3
Adds a base_path_out convenience function, which prepares a full path for display to the user. The initial implementation just makes it relative to ${TOPDIR}. This function is then used for some messages outputted to the user (packaged-staging, patch application, clean, unpack tasks). Signed-off-by: Chris Larson <clarson@mvista.com>
2009-05-14First pass of cleanup of messages outputted to the user.Chris Larson4
OpenEmbedded outputs a lot of messages that the user is likely to never care about. We should only output something when it reflects upon their recipe (i.e. unpacking their sources, applying their patches), or is quite significant or unusual. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-05-12patch.bbclass: use hashlib with Python 2.5+ - removes DeprecationWarningMarcin Juszkiewicz1
2009-05-12Allow use of Itanium as build machinePeter Chubb1
Hi, I have access to a cluster of Itaniums that I want to use as build machines for openembedded. This patch enables Itanium as a build environment. Signed-off-by: Marcin Juszkiewicz <hrw@openembedded.org>
2009-05-07kernel.bbclass: also stage include/trace if it's availableDmitry Eremin-Solenikov1
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
2009-05-05rootfs_deb: make Packages.gz, not Packages.bz2.Michael Smith1
apt ignores Packages.bz2 unless bzip2 exists in /bin/bzip2 (!!). If it's in /usr/bin/bzip2 (e.g. SuSE build host) the image fails to build. Also, remove commented-out check for DEPLOY_KEEP_PACKAGES. Signed-off-by: Michael Smith <msmith@cbnco.com>