Commit Graph

76 Commits

Author SHA1 Message Date
Joshua Lock 8a7fd14ad4 insane.bbclass: special case gettext as it can't depend on itself
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>
2010-01-04 10:34:00 +00:00
Joshua Lock 2be65803cb insane.bbclass: Fix gettext test
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>
2009-12-21 10:51:50 +00:00
Joshua Lock 4859945b11 insane.bbclass: Handle native packages in the gettext test
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>
2009-12-17 10:26:05 +00:00
Joshua Lock 71e21a72cd insane.bbclass: Check whether gettext is required but not in DEPENDS
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2009-12-15 21:07:14 +00:00
Joshua Lock 62ab23e067 insane.bbclass: Skip arch check for Cross Canadian
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2009-12-14 11:56:01 +00:00
Richard Purdie b772c8cde5 bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the 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-13 12:15:42 +00:00
Richard Purdie c54117458a classes: Remove and sanitise import statements
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:28 +00:00
Richard Purdie 0d7207ca39 sdk.bbclass: Rename to nativesdk.bbclass
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-17 22:25:22 +01:00
Richard Purdie be10b46b73 base.bbclass: Use explode_deps from bb.utils and remove the obsolete base.bbclass version 2009-02-05 23:54:11 +00:00
Richard Purdie 1e53b0f578 insane.bbclass: Drop pointless QA_LOG variable, add QA_LOGFILE so QA errors 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
2008-04-22 21:22:11 +00:00
Marcin Juszkiewicz fd652ded2e insane.bbclass: use 'desktop-file-validate' from staging not from host system
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4159 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-03 05:17:32 +00:00
Richard Purdie b1e715e233 insane.bbclass: Sync with OE.dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4060 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-19 15:53:07 +00:00
Ross Burton a99199d729 insane.bbclass: find desktop-file-validate on the path, so it can be added to ASSUME_PROVIDED
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4053 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-19 14:45:14 +00:00
Ross Burton dad7da8290 insane.bbvlass: split checks so the warnings are precise
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3478 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-13 16:58:42 +00:00
Ross Burton 5477906ca1 insane.bbclass: use bb.error when reporting desktop file problems
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3152 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-14 09:48:17 +00:00
Ross Burton ab2a04d843 insane.bbclass: validate desktop files
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3151 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-14 09:36:55 +00:00
Marcin Juszkiewicz c67429e4a1 insane.bbclass: fix x86_64 arch name (from OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2910 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-19 10:29:34 +00:00
Ross Burton 9694023446 insane.bbclass: don't raise strings, but exceptions
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2679 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-03 10:49:33 +00:00
Richard Purdie 5781fe13d6 insane.bbclass: Merge updates from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2644 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-02 09:46:35 +00:00
Richard Purdie aca29f112c package.bbclass/insane.bbclass: Don't set task dependencies when PACKAGES is empty
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1455 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-10 11:23:14 +00:00
Richard Purdie 409335beae classes: Rework core dependencies to work properly at the task level
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1427 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-03 11:31:02 +00:00
Ross Burton 74e0426503 Fix typo when reporting an error
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1258 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-02-04 18:44:37 +00:00
Ross Burton 4292e8199b Remove exclude hack in insane.bbclass and replace it with something a little 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
2007-01-22 20:11:19 +00:00
Ross Burton 539b0f853a Add exclude list for now, until insane can handle per-package exclusions
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1196 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-22 19:41:29 +00:00
Ross Burton 6e6fdde69b When checking for .so files in non-dev packages, only check for .so symlinks
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1195 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-22 17:04:39 +00:00
Ross Burton 248c3ed477 Add insane, from OE (but with fatal warnings)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1187 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-21 21:28:51 +00:00