summaryrefslogtreecommitdiff
path: root/classes
AgeCommit message (Collapse)AuthorFiles
2007-03-10merge of '90a304fce9cf13425fbf98afbbbec3593382bdf4'Paul Sokolovsky4
and 'd51040bef3f49c55b9af42502e1891181802e97a'
2007-03-10opie.bbclass: Allow OPIE_CVS_PV to be overriden.Paul Sokolovsky1
2007-03-10own-mirrors.bbclass: added class which can be used to set PREMIRRORS from configMarcin Juszkiewicz1
- SOURCE_MIRROR_URL is new variable which point to source mirror which will be used before fetching from original SRC_URI location.
2007-03-10classes/seppuku.bbclass: Switch to HTTP post, attach the build logs instead ↵Holger Freyther1
of using comments The limit of comments is too low. Use attachments to work around this issue. Also start using HTTP post to avoid really long URLs. They lead to a pipe error. To post we use a MultiPartPoster which is licensed LGPL and can be freely downloaded. You need to put it into the PYTHONPATH Add a new variable for creating attachments and document it.
2007-03-09classes/insane.bbclass: Use split and make it work with python2.3 againHolger Freyther1
rsplit was introduced in python 2.4 and is like split but starts to split from the right side. The only difference is obviously if you have maxsplit set (which we don't). So it is fine to remove the 'r'
2007-03-07tinderclient.bbclass: Add hacky workaround for bitbake 1.8.x (pending ↵Richard Purdie1
rewrite in 1.9)
2007-03-07classes/seppuku.bbclass: Make it almost workHolger Freyther1
This class can find the broken bug, reopen it, or leave it open. There is some issue with sending the logfile to the server, the url itself is correct, when opened in a browser the right thing happens but not from within python *sigh* need a working tcpdump to look into this (which means I will continue tomorrow)
2007-03-06conf/documentation.conf: Document the keys influencing seppuku.bbclassHolger Freyther1
2007-03-06classes/seppuku.bbclass: This could be feature complete nowHolger Freyther1
It is time to try it
2007-03-06classes/seppuku.bbclass: Add the BugQuery code, add code to post a bugHolger Freyther1
Posting bugs should work (besides typos), now only reopening bugs is missing.
2007-03-06merge of '8a114c24deca9328747f14101e87db8845400833'Holger Freyther1
and 'f02f7da26cf1279907a41d7957e054f42575adbd'
2007-03-06image.bbclass: Add function to turn on autologin for device images we do not ↵Florian Boor1
want to log in at all.
2007-03-06classes/seppuku.bbclass: Add a class which might report build issues to a ↵Holger Freyther1
bugzilla directly Start adding seppuku. It listens to TaskFailed and NoProvider failures logs into a bugzilla and calls empty stubs to find a bug report. We use the urllib2 and cookielib from python2.4 to handle the session cookie for us automatically. This library is sadly not present in python2.3 but it eases my life. The old BugZilla installed at OpenMoko has no support for listing the bug report as csv or xml file, this will force me to parse the HTML which I will do for now. This assumes that only one bug report with the exact name can exist.
2007-03-05image.bbclass: Create symlink to latest image generated. Also add dependency ↵Richard Purdie1
on populate staging for do_rootfs (both from poky)
2007-02-27base.bbclass: Add base_less_or_equal(): perform comparison fo ↵Paul Sokolovsky1
integer/floating point values for <=.
2007-02-27opie.bbclass: Add coomon locations of OPIE .debug dirs to -dbg filelist.Paul Sokolovsky1
* Fixes insane.bbclass QA errors.
2007-02-27classes/kernel-arch.bbclass: Remove powerpc -> ppc conversion. Now both of ↵Stelios Koroneos1
them exist Do some cleanup on the supported arches
2007-02-27package.bbclass: comment out the cleandir since it breaks constructions like ↵Koen Kooi1
"inherit package_ipk package_tar" and seems to interfere with do_split_packages
2007-02-25merge of '0464758766d765866ff65500fed4e9d1669422a1'Paul Sokolovsky1
and '922cf0f28b50dfb43c18e0654db44c32b7d09bc4'
2007-02-25gtk-binver.bbclass: Use PKG_CONFIG_PATH to look for .pc.Paul Sokolovsky1
* Closes #1909.
2007-02-25add base_path_joinPhil Blundell1
2007-02-22merge of '14bb769ab1e989b6a9aa7d4ae16b3217e857be88'OpenEmbedded Project1
and '826367bbd68c19eb406efdb0f5a9c5276fbf3ca8'
2007-02-22insane.bbclass: only check for workdir in .pc files, we already forcefully ↵Koen Kooi1
sed out /usr/include references
2007-02-22classes: package, rm_work - fix bashisms (from Poky)Marcin Juszkiewicz2
2007-02-21classes/insane.bbclass: Do not follow links, fix the issue that made koen ↵Holger Freyther1
add bb.fatal udev has a link to host binaries, do not check the architecture of these binaries. We will skip all links for now for the two reasons: -We either point to a file in our package and then we will check it anyway -It is a file for a another package, which will be checked anyway Make architecture mismatch a fatal/insane error and return False. This should fix the issue koen has seen when he added a bb.fatal the make_fatal_error method returns true if the error should be made fatal, in this case our checks need to set sane to False. The return not makes sure this is happening.
2007-02-20insane.bbclass: fix ERROR: Exception:exceptions.TypeError Message:not enough ↵Koen Kooi1
arguments for format string by removing a spurious '%s'
2007-02-20insane.bbclass: unbreak it for 64bit targetsMarcin Juszkiewicz1
Added extra entry into dict to mark 32bit/64bit and use it for manipulating ELF headers. Some architectures would need checking (not OE ones).
2007-02-20insane.bbclass: remove commented code to unbreak buildsMarcin Juszkiewicz1
2007-02-20insane.bbclass: reformattingMarcin Juszkiewicz1
2007-02-20insane.bbclass: add i{4,5,6}86Marcin Juszkiewicz1
2007-02-20classes/insane.bbclass: No use to make it bb.fatal if we return False...Holger Freyther1
The idea of insane.bbclass is to report all issues found at once. This is why the checks return True if no error was found and False if at least one was found. At the end of all check runs we will see if at least one check failed and call bb.fatal
2007-02-20insane.bbclass: we really don't want packages with the wrong architecture, ↵Koen Kooi1
so do bb.fatal instead if bb.error symptom: ERROR: Architecture did not match (20 to 3) on /work/ppc603e-angstrom-linux/udev-092-r15/install/udev/sbin/scsi_id This means OE detected type 3 (i386) while it expected type 20 (powerpc), most likely caused by some fool hardcoding 'gcc' as compiler
2007-02-20rootfs_ipk/package-index: created function to update deploy dirs and made ↵Marcin Juszkiewicz1
package-index use it
2007-02-20package_ipk, rootfs_ipk: Add patch from Marcin and Koen to sort ipkgs into ↵Koen Kooi2
per architecture subdirs of deploy/ipk see: http://lists.linuxtogo.org/pipermail/openembedded-devel/2007-February/001462.html
2007-02-19insane.bbclass: report, but don't die on broken .la filesKoen Kooi1
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.
2007-02-15autotools.bbclass: merge in patch from openmoko to get intltool working for ↵Koen Kooi1
some packages
2007-02-15merge of '414cac1c77ff9fa2877bf185b1fb201f034ee108'OpenEmbedded Project1
and 'bf8b52c7c7ffdfe7cb88423cc23d4eeb9c573c2f'