summaryrefslogtreecommitdiffstats
path: root/meta/classes/sanity.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* sanity.bbclass: Check for Python 2.6 or newerJoshua Lock2010-06-081-0/+6
| | | | | | | | 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>
* sanity.bbclass: version each of the files in the build/conf/ directoryJoshua Lock2010-06-071-4/+17
| | | | | | | | 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>
* sanity.bbclass: check for invalid characters in OEROOTJoshua Lock2010-06-021-0/+6
| | | | | | | | 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>
* sanity.bbclass: Check for SDKMACHINE=i686 and error if foundRichard Purdie2010-06-011-0/+3
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Drop vm_mmap_min_addr checks from scripts and sanity classJoshua Lock2010-05-281-11/+0
| | | | | | | 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>
* sanity.bbclass: fix typo in earlier commitJoshua Lock2010-04-301-2/+2
| | | | | | | Commit fbe3d41eb0c75500d8f16bfd2975cd3136ef1335 left a trailing bracket which cause an interpretation error Signed-off-by: Joshua Lock <josh@linux.intel.com>
* Version the build configuration directoryJoshua Lock2010-04-301-0/+7
| | | | | | | | | | 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>
* Fix sanity check for new abiJoshua Lock2010-04-291-1/+1
| | | | | | | | | 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>
* Bump the ABI to alert people that cross has goneJoshua Lock2010-04-281-0/+2
| | | | | | | 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>
* sanity.bbclass: handle lack of permission to read /proc/sys/vm/mmap_min_addrJoshua Lock2010-04-271-5/+9
| | | | | | | | | | 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>
* Move STAGING_BINDIR_CROSS into target sysroot, instead of nativeJoshua Lock2010-04-271-0/+8
| | | | | | | | | 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>
* sanity.bbclass: Add a note about using dpkg-reconfigureRichard Purdie2010-03-221-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sanity.bbclass: Add chrpath to the required utilitiesJoshua Lock2010-02-151-1/+1
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the ↵Richard Purdie2009-11-131-0/+7
| | | | | | | | | | | | | 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>
* classes: Remove and sanitise import statementsRichard Purdie2009-11-131-9/+4
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base.bbclass: packages pulling a mercurial tree should depend on mercurialDamien Lespiau2009-08-261-1/+1
| | | | | | | | 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>
* sanity.bbclass: Really fix TMPDIR change warning messageRichard Purdie2009-05-281-1/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sanity.bbclass: Fix the warning message above tmpdir moving to point to the ↵Richard Purdie2009-05-231-1/+1
| | | | | | correct path Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sanity.bbclass: Fix error message when not having g++ on buildDamien Lespiau2009-02-041-2/+2
|
* sanity.bbclass: Provide preserving the mmap_min_addr setting over rebootsRichard Purdie2008-08-261-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5106 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Move SANITY_ABI to its own file and give a more general nameRichard Purdie2008-07-241-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4938 311d38ba-8fff-0310-9ca6-ca027cbcb966
* sanity.bbclass: Sync with OE, introduce TMPDIR ABI versioning, drop bitbake ↵Richard Purdie2008-05-071-19/+30
| | | | | | 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
* sanity.bbclass: Add check of the /proc/sys/vm/mmap_min_addr value and warn ↵Richard Purdie2008-05-071-0/+6
| | | | | | if its potentially problematic git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4448 311d38ba-8fff-0310-9ca6-ca027cbcb966
* sanity.bbclass: we don't use the md5sum binary any more, remove itRoss Burton2008-05-011-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4388 311d38ba-8fff-0310-9ca6-ca027cbcb966
* sanity.bbclass: Add a check for dash as /bin/sh and error if foundRichard Purdie2008-04-211-0/+3
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4298 311d38ba-8fff-0310-9ca6-ca027cbcb966
* sanity.bbclass: Fix typoRichard Purdie2008-02-071-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3695 311d38ba-8fff-0310-9ca6-ca027cbcb966
* sanity.bbclass: Fix qemu checkRichard Purdie2008-02-071-2/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3694 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Rename gcc-native3 -> gcc3-native for consistency and update sanity.bbclass ↵Richard Purdie2008-02-051-2/+5
| | | | | | to account for gcc3 changes git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3670 311d38ba-8fff-0310-9ca6-ca027cbcb966
* sanity.bbclass: Check TMPDIR doesn't change, error if it doesRichard Purdie2008-01-311-1/+15
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3647 311d38ba-8fff-0310-9ca6-ca027cbcb966
* base and sanity bbclasses + qemu: move gcc3 availability checking into ↵Marcin Juszkiewicz2008-01-031-9/+1
| | | | | | base.bbclass git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3402 311d38ba-8fff-0310-9ca6-ca027cbcb966
* sanity.bbclass: Run sanity checks before parsing for speed, sync with OERichard Purdie2007-08-121-8/+17
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2485 311d38ba-8fff-0310-9ca6-ca027cbcb966
* sanity.bbclass: Further qemu check improvementsRichard Purdie2007-08-091-3/+6
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2426 311d38ba-8fff-0310-9ca6-ca027cbcb966
* sanity.bbclass: Factor ASSUME_PROVIDED into qemu checksRichard Purdie2007-08-091-4/+6
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2425 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Switch back to using our own qemu binary for locale generation by defaultRichard Purdie2007-08-091-1/+7
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2424 311d38ba-8fff-0310-9ca6-ca027cbcb966
* sanity: Add check for help2manRichard Purdie2007-08-011-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2275 311d38ba-8fff-0310-9ca6-ca027cbcb966
* sanity: if Poky is used by root user (userid 0) then raise errorMarcin Juszkiewicz2007-07-041-0/+3
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2093 311d38ba-8fff-0310-9ca6-ca027cbcb966
* README, sanity.bbclass: Add makeinfo (from texinfo) as a dependency. Also ↵Richard Purdie2006-12-221-1/+1
| | | | | | check for qemu-arm binary git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1086 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Remove now uneeded gcc-3.x checkMatthew Allum2006-12-051-7/+0
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1008 311d38ba-8fff-0310-9ca6-ca027cbcb966
* sanity.bbclass: Add umask checkRichard Purdie2006-11-291-0/+5
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@986 311d38ba-8fff-0310-9ca6-ca027cbcb966
* sanity.bbclass: Add sdl-config to required programs list. Remove fixme as ↵Richard Purdie2006-11-221-4/+1
| | | | | | now dealt with. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@941 311d38ba-8fff-0310-9ca6-ca027cbcb966
* sanity.bbclass: Merge with OE syncing improvements both waysRichard Purdie2006-11-161-24/+17
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@855 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Add check for gawk, needed by x86 glic buildMatthew Allum2006-10-121-0/+3
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@794 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Update sanity checking to report all missing instead of one per run. Add a ↵Matthew Allum2006-09-281-10/+26
| | | | | | check for gcc 3.x git-svn-id: https://svn.o-hand.com/repos/poky/trunk@769 311d38ba-8fff-0310-9ca6-ca027cbcb966
* classes: Sync with OERichard Purdie2006-08-271-4/+5
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@651 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Rename /openembedded/ -> /meta/Richard Purdie2006-07-211-0/+112
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966