summaryrefslogtreecommitdiff
path: root/classes/insane.bbclass
AgeCommit message (Collapse)AuthorFiles
2007-02-19classes/insane.bbclass: missing import os was added in the .so checkHolger Freyther1
2007-02-19classes/insane.bbclass: check stages .pc and .la for sanityHolger Freyther1
native ones: .la files should have installed=yes (at least I believe this). And somehow some believe this as well, some don't though... some like fakeroot love to install two .la files... non-native: .la should have installed=no both: should not point to tmp/work. libgettext and libltdl(libtool) fails this... happy fixing and arguing
2007-02-19classes/insane.bbclass: Make the .so-check check for symlinks (merge poky ↵Holger Freyther1
r1258,r1195) The .so check now looks for symlinks ending with .so. These are a typical trait of -dev packages and kills a lot of false positives. This was authored by ross and was taken from the poky svn repository.
2007-02-19classes/insane.bbclass: Remove whitespaceHolger Freyther1
2007-02-19insane.bbclass: fix some more ',' vs '%' issuesKoen Kooi1
2007-02-19insane.bbclass: fixesKoen Kooi1
* change "," to "%" so python doesn't die if an error occurs * spell architecture correctly * add arm/eabi tupple that works for stripped binaries, but fails for -dbg binaries (abiversion 0 vs 97)
2007-02-19insane.bbclass: added ia64, alpha, hppa, m68k, mips, s390, sparc based on ↵Marcin Juszkiewicz1
Debian packages
2007-02-19insane.bbclass: added dict entries for mipsel, i386, x86_64Marcin Juszkiewicz1
x86_64 can not be detected properly with this code - needed change: - ELFFile.my_assert(self.data[ELFFile.EI_CLASS], chr(ELFFile.ELFCLASS32)) # only 32 bits + ELFFile.my_assert(self.data[ELFFile.EI_CLASS], chr(ELFFile.ELFCLASS64))
2007-02-18classes/insane.bbclass: Be less verboseHolger Freyther1
2007-02-18classes/insane.bbclass: Add a small elf reader and check ABI,ARCH and EndianHolger Freyther1
Add a small ELF parser and read OSABI, ABIVERSION, ENDIAN and MACHINE. This code compares TARGET_OS and TARGET_ARCH to a list of known versions. Currently we have values for linux and linux-uclibc for arm, armeb and powerpc. mips, i386, amd64, ia64 are missing. ABI wise ARM EABI is missing as well, but koen is likely to enter the values into the documented dict
2007-02-18classes/insane.bbclass: Allow errors to be ignoredHolger Freyther1
Add a method to implement koen's skipping of errors of type .so in non dev package. This will turn into a list of known and acked issues which we decided to ignore. I do not yet know how to maintain such a list properly though Split the .so in non-dev package and the .debug in non-dbg package into two different packages
2007-02-18classes/insane.bbclass: Print the actual error, write a log fileHolger Freyther1
-Print all errors of the built packages and if we have printed any errors fail -Log the errors to a log file, so we can see them afterwards -Print the path (- the TMPDIR) of the package in question
2007-02-16classes/insane.bbclass: Grep through config.log to check for CROSS Compile ↵Holger Freyther1
errors -Inspired by doku's work on mpd's buildsystem grep through the config.log and find broken autotools tests -Make errors fatal so we will notice these things more quickly.
2006-11-29Introduce STAGING_BINDIR_CROSS and STAGING_BINDIR_NATIVE as discussed on the ↵Richard Purdie1
mailing list. There should be no functionality changes yet.
2006-11-06insane.bbclass: update message for -dbg packagesKoen Kooi1
2006-10-26classes/insane.class: Make workdir known, remove whitespaceHolger Freyther1
2006-10-26insane.bbclass: import bbKoen Kooi1
2006-10-25classes/insane.bbclass: Check if packages RDEPENDS on -dbg packagesHolger Freyther1
Untested check inspired by Richard to check if non debug packages depends on -dbg packages.
2006-10-24insane.bbclass: fix some python stuff and make error message a bit more helpfullKoen Kooi1
2006-10-22insane.bbclass: update to current -dbg handling, as indicated by QA meister ↵Koen Kooi1
Holger F.
2006-09-12classes/insanity.bbclass: Check for possible insecure RPATH, make it work ↵Holger Freyther1
with the funy BitBake scope The def methods are in a different scope that the PACKAGEFUNC and the result is only the packagefunc is able to use 'd' so we need to make this a parameter for the other methods. Use the installed scanelf to check for the RPATH of the files
2006-09-11classes/insane.bbclass: Run the first test of the insanity.bbclassHolger Freyther1
2006-07-28classes/insane.bbclass: Add skeleton for the testsHolger Freyther1
Run each test from within the PACKAGEFUNC, add a special task for checking .la and .pc files from within staging.
2006-07-28classes/insane.bbclass: Remove GPL text, add more planned checksHolger Freyther1
The initial idea was to use the shell magic from ebuild, but I do not plan this anymore and will do it using python. This is why I'm removing the GPL license. Add some more planned checks and assume they are already implemented.
2006-04-30classes/insane.bbclass:Holger Freyther1
Use the PACKAGE_DEPENDS hack to avoid circular dependencies for pax-utils-native
2006-04-29classes/insane.bbclass:Holger Freyther1
inherit package.bbclass instead of the nonexistant packages one
2006-02-12org.openembedded.dev/classes/insane.bbclass:Holger Freyther1
-Add the skeleton for the QA bbclass