summaryrefslogtreecommitdiffstats
path: root/meta/classes/insane.bbclass
Commit message (Collapse)AuthorAgeFilesLines
...
* License Checking: convert an error into warningNitin A Kamble2010-05-121-2/+4
| | | | | | | | | | | | If license file md5 information (LIC_FILES_CHKSUMS variable) is missing in the recipe then just throw a warning instead of the build failure. Once enough recipes' LIC_FILES_CHKSUMS are filled then this warning will be reverted back to the the fetal error. If LIC_FILES_CHKSUMS field is present but invalid then the it still causes a fetal build error. Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
* License Change checking:Nitin A Kamble2010-05-111-1/+62
| | | | | | | | | | | | | | | | | | Added a new variable in recipe : LIC_FILES_CHKSUM It is a required field for every recipe. It describes license text location in the source files. And also stores md5sum of that license text. Any change in this license text triggers build error. Which enables developer to review any changes in the license and update the license fields in the recipe accordingly. For Example: contents of zlib_1.2.3.bb LICENSE = "zlib" LIC_FILES_CHKSUM = "file://README;md5=ae764cfda68da96df20af9fbf9fe49bd \ file://zlib.h;beginline=1;endline=30;md5=6ab03f03a5ee92d06b809797d4d5586d " Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* Update classes to use lib/oeJoshua Lock2010-05-061-81/+0
| | | | | | | Adapt modifications from upstream to make Poky classes use lib/oe for the common Python functionality. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* classes/conf: Update to handle gcc-runtimeRichard Purdie2010-03-291-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* insane.bbclass: Since we have no legacy packaging, no need to repeatedly ↵Richard Purdie2010-01-261-1/+1
| | | | | | scan staging Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* insane.bbclass: Fix typoRichard Purdie2010-01-141-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* cross-canadian: Fix gettext issuesRichard Purdie2010-01-141-0/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* insane.bbclass: Fix multiline stringJoshua Lock2010-01-061-2/+2
| | | | | | | Earlier commit had created a multiline string without updating the python string quotation (""" for multiline). Signed-off-by: Joshua Lock <josh@linux.intel.com>
* insane.bbclass: enhance gettext error messageJoshua Lock2010-01-061-1/+2
| | | | | | | Point the user at gettext.bbclass which handles adding the correct gettext to DEPENDS. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* insane.bbclass: special case gettext as it can't depend on itselfJoshua Lock2010-01-041-10/+11
| | | | | | | | Only run the gettext section of the QA configure sanity check if the package is not gettext as the gettext tools, shipped with gettext, use the macro employed in the sanity check. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* insane.bbclass: Fix gettext testJoshua Lock2009-12-211-22/+18
| | | | | | | | | | | | The previous gettext check was broken resulting in many false positives. This improved version works as follows: * Adds to the existing os.walk() and builds a list of configure.in and configure.ac files * Tests whether DEPENDS includes an appropriate gettext * If not greps the configure files in the list for instances of AM_GNU_GETTEXT * If if an instance is found we bb.fatal with an appropriate message Signed-off-by: Joshua Lock <josh@linux.intel.com>
* insane.bbclass: Handle native packages in the gettext testJoshua Lock2009-12-171-1/+5
| | | | | | | When the package we are checking is a native package we need to check for gettext-native rather than gettext in the DEPENDS. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* insane.bbclass: Check whether gettext is required but not in DEPENDSJoshua Lock2009-12-151-1/+19
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* insane.bbclass: Skip arch check for Cross CanadianJoshua Lock2009-12-141-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-1/+1
| | | | | | | | | | | | | 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-12/+0
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sdk.bbclass: Rename to nativesdk.bbclassRichard Purdie2009-09-171-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base.bbclass: Use explode_deps from bb.utils and remove the obsolete ↵Richard Purdie2009-02-051-1/+1
| | | | base.bbclass version
* insane.bbclass: Drop pointless QA_LOG variable, add QA_LOGFILE so QA errors ↵Richard Purdie2008-04-221-7/+41
| | | | | | can optionally end up logged in one place for ease of reference. Add sanity check searching for tmpdir references within built packages, not fatal at present. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4309 311d38ba-8fff-0310-9ca6-ca027cbcb966
* insane.bbclass: use 'desktop-file-validate' from staging not from host systemMarcin Juszkiewicz2008-04-031-1/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4159 311d38ba-8fff-0310-9ca6-ca027cbcb966
* insane.bbclass: Sync with OE.devRichard Purdie2008-03-191-91/+92
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4060 311d38ba-8fff-0310-9ca6-ca027cbcb966
* insane.bbclass: find desktop-file-validate on the path, so it can be added ↵Ross Burton2008-03-191-2/+1
| | | | | | to ASSUME_PROVIDED git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4053 311d38ba-8fff-0310-9ca6-ca027cbcb966
* insane.bbvlass: split checks so the warnings are preciseRoss Burton2008-01-131-2/+6
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3478 311d38ba-8fff-0310-9ca6-ca027cbcb966
* insane.bbclass: use bb.error when reporting desktop file problemsRoss Burton2007-11-141-1/+4
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3152 311d38ba-8fff-0310-9ca6-ca027cbcb966
* insane.bbclass: validate desktop filesRoss Burton2007-11-141-2/+13
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3151 311d38ba-8fff-0310-9ca6-ca027cbcb966
* insane.bbclass: fix x86_64 arch name (from OE)Marcin Juszkiewicz2007-10-191-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2910 311d38ba-8fff-0310-9ca6-ca027cbcb966
* insane.bbclass: don't raise strings, but exceptionsRoss Burton2007-09-031-3/+3
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2679 311d38ba-8fff-0310-9ca6-ca027cbcb966
* insane.bbclass: Merge updates from OERichard Purdie2007-09-021-22/+322
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2644 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package.bbclass/insane.bbclass: Don't set task dependencies when PACKAGES is ↵Richard Purdie2007-04-101-1/+1
| | | | | | empty git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1455 311d38ba-8fff-0310-9ca6-ca027cbcb966
* classes: Rework core dependencies to work properly at the task levelRichard Purdie2007-04-031-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1427 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Fix typo when reporting an errorRoss Burton2007-02-041-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1258 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Remove exclude hack in insane.bbclass and replace it with something a little ↵Ross Burton2007-01-221-7/+2
| | | | | | less foul. This involces adding INSANE_SKIP_package=1 statements to the relevant .bb files git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1197 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Add exclude list for now, until insane can handle per-package exclusionsRoss Burton2007-01-221-4/+12
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1196 311d38ba-8fff-0310-9ca6-ca027cbcb966
* When checking for .so files in non-dev packages, only check for .so symlinksRoss Burton2007-01-221-3/+3
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1195 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Add insane, from OE (but with fatal warnings)Ross Burton2007-01-211-0/+151
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1187 311d38ba-8fff-0310-9ca6-ca027cbcb966