summaryrefslogtreecommitdiff
path: root/meta/classes/sanity.bbclass
AgeCommit message (Collapse)AuthorFiles
2010-09-29Revert "Drop vm_mmap_min_addr checks from scripts and sanity class"Joshua Lock1
This reverts commit 138df217efe850528f88d340acf864c38780c2b0. We still need the vm_mmap_min_addr set to 0 to run locale generation for qemu-arm Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-09-29sstate.bbclass: Update to use SSTATE variables everywhere and remove the now ↵Richard Purdie1
unneeded complicated paths from the sstate files Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19sanity.bbclass: Don't run the handler in worker contextRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-12pseudo: Upgrade pseudo and correct problemsMark Hatle1
Fix an issue where pseudo could try to compile incorrectly on an x86_64 host system. Now it verifies that it should be trying to build a 32-bit library, and if so the necessary prereqs are available. Also uprev to the latest version of pseudo changes to enable wrapping of execl, local variable storage and misc fixes. Signed-off-by: Mark Hatle <mhatle@windriver.com>
2010-07-21Enable build dir outside of the poky directoryJoshua Lock1
You need to first set up the build directory by sourcing the poky build script, after that builds can be run in that directory so long as bitbake is in $PATH removing the need to source the init script for each build. i.e: $ . poky-init-build-env ~/my-build $ bitbake some-image <<later, in a different shell>> $ cd ~/my-build $ export PATH=/path/to/bitbake/bin:$PATH $ bitbake an-image This patch also removes use of OEROOT in recipes, etc. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-07-14sanity.bbclass: Fix SDKMACHINE sanity check. We need to check the SDK_ARCH ↵Richard Purdie1
variable, not SDKMACHINE directly. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-06-14sanity.bbclass: Fix test for i686 SDKMACHINEJoshua Lock1
The 'is' keyword tests for object identity, returning True if the variables are both referencing the same object. Changed the test to use the equality operator, which compares the values of the objects. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-08sanity.bbclass: Check for Python 2.6 or newerJoshua Lock1
In relocatable.bbclass and utility-tasks.bbclass we depend on functionality that was only introduced with Pytrhon 2.6, so we now check that the build system has it in the sanity class. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-07sanity.bbclass: version each of the files in the build/conf/ directoryJoshua Lock1
We already have versioning of the local.conf file but it's entirely plausible for the bblayers.conf and site.conf to change incompatibly so we should version those too. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-02sanity.bbclass: check for invalid characters in OEROOTJoshua Lock1
Some characters in the path for OEROOT are known to cause issues, so check for them in the sanity checker. Currerently we warn on +'s and spaces. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-01sanity.bbclass: Check for SDKMACHINE=i686 and error if foundRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-05-28Drop vm_mmap_min_addr checks from scripts and sanity classJoshua Lock1
QEMU 0.12.x is relocatable so we no longer need these tests, which is good because it doesn't work reliably with modern kernels. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-04-30sanity.bbclass: fix typo in earlier commitJoshua Lock1
Commit fbe3d41eb0c75500d8f16bfd2975cd3136ef1335 left a trailing bracket which cause an interpretation error Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-04-30Version the build configuration directoryJoshua Lock1
The addition of BBLAYERS changes the build/conf directory to be incompatible with the "old way" in the Purple release. As such things are likely to occur in future we should bersion the build/conf directory through local.conf Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-04-29Fix sanity check for new abiJoshua Lock1
current_abi is the abi of the tmp directory, not the current abi specified in the abi file... Now the sanity check should work sanely. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-04-28Bump the ABI to alert people that cross has goneJoshua Lock1
Since we've change the tmpdir layout quite a bit we're going to bump ABI and force a rebuild. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-04-27sanity.bbclass: handle lack of permission to read /proc/sys/vm/mmap_min_addrJoshua Lock1
Patch from OE.dev by Martin Jansa to workaround that we on modern Linux we can no longer read this file. We need a better fix but best option will be to update to a newer, relocatable, QEMU release. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-04-27Move STAGING_BINDIR_CROSS into target sysroot, instead of nativeJoshua Lock1
Cross scripts now live in sysroot/$arch-distro-os/crossscripts, this conveys that they are no longer native system dependant and emphasises their purpose. Bump the staging ABI and implement a simple migration from ABI 3 to ABI 4. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-22sanity.bbclass: Add a note about using dpkg-reconfigureRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15sanity.bbclass: Add chrpath to the required utilitiesJoshua Lock1
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2009-11-13bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the ↵Richard Purdie1
populate_staging task to populate_sysroot This change makes the purpose of the staging directory more obvious and the taskname more true to what it now actually does. The layout version number is increased due to the change in layout but code to convert existing directories and insert a symlink for backwards compatibility is included. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13classes: Remove and sanitise import statementsRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-08-26base.bbclass: packages pulling a mercurial tree should depend on mercurialDamien Lespiau1
As we don't provide a mercurial-native package (yet) let's assume the build machine has it installed and check (sanity.bbclass) if it's the case. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2009-05-28sanity.bbclass: Really fix TMPDIR change warning messageRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-05-23sanity.bbclass: Fix the warning message above tmpdir moving to point to the ↵Richard Purdie1
correct path Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-02-04sanity.bbclass: Fix error message when not having g++ on buildDamien Lespiau1
2008-08-26sanity.bbclass: Provide preserving the mmap_min_addr setting over rebootsRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5106 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-24Move SANITY_ABI to its own file and give a more general nameRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4938 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-07sanity.bbclass: Sync with OE, introduce TMPDIR ABI versioning, drop bitbake ↵Richard Purdie1
1.8.6 cruft, only run the mmap_min_addr check on ARM when we need to run binary locale generation git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4450 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-07sanity.bbclass: Add check of the /proc/sys/vm/mmap_min_addr value and warn ↵Richard Purdie1
if its potentially problematic git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4448 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-01sanity.bbclass: we don't use the md5sum binary any more, remove itRoss Burton1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4388 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-21sanity.bbclass: Add a check for dash as /bin/sh and error if foundRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4298 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-07sanity.bbclass: Fix typoRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3695 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-07sanity.bbclass: Fix qemu checkRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3694 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-05Rename gcc-native3 -> gcc3-native for consistency and update sanity.bbclass ↵Richard Purdie1
to account for gcc3 changes git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3670 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-31sanity.bbclass: Check TMPDIR doesn't change, error if it doesRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3647 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-03base and sanity bbclasses + qemu: move gcc3 availability checking into ↵Marcin Juszkiewicz1
base.bbclass git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3402 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-12sanity.bbclass: Run sanity checks before parsing for speed, sync with OERichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2485 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-09sanity.bbclass: Further qemu check improvementsRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2426 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-09sanity.bbclass: Factor ASSUME_PROVIDED into qemu checksRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2425 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-09Switch back to using our own qemu binary for locale generation by defaultRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2424 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-01sanity: Add check for help2manRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2275 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-04sanity: if Poky is used by root user (userid 0) then raise errorMarcin Juszkiewicz1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2093 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-12-22README, sanity.bbclass: Add makeinfo (from texinfo) as a dependency. Also ↵Richard Purdie1
check for qemu-arm binary git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1086 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-12-05Remove now uneeded gcc-3.x checkMatthew Allum1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1008 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-29sanity.bbclass: Add umask checkRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@986 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-22sanity.bbclass: Add sdl-config to required programs list. Remove fixme as ↵Richard Purdie1
now dealt with. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@941 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-16sanity.bbclass: Merge with OE syncing improvements both waysRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@855 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-10-12Add check for gawk, needed by x86 glic buildMatthew Allum1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@794 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-09-28Update sanity checking to report all missing instead of one per run. Add a ↵Matthew Allum1
check for gcc 3.x git-svn-id: https://svn.o-hand.com/repos/poky/trunk@769 311d38ba-8fff-0310-9ca6-ca027cbcb966