insane.bbclass: unbreak it for 64bit targets
Added extra entry into dict to mark 32bit/64bit and use it for manipulating
ELF headers.
Some architectures would need checking (not OE ones).
Holger Freyther [Tue, 20 Feb 2007 13:29:04 +0000 (13:29 +0000)]
classes/insane.bbclass: No use to make it bb.fatal if we return False...
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
Koen Kooi [Tue, 20 Feb 2007 11:36:51 +0000 (11:36 +0000)]
insane.bbclass: we really don't want packages with the wrong architecture, 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
Stelios Koroneos [Tue, 20 Feb 2007 09:39:55 +0000 (09:39 +0000)]
packages/apache2/apache2-2.2.3: Fix wrong assuption about ptr length during configure
To be able to compile you need to add ac_cv_sizeof_long_p in the site file of your arch (if not allready there)
Koen Kooi [Tue, 20 Feb 2007 08:02:34 +0000 (08:02 +0000)]
package_ipk, rootfs_ipk: Add patch from Marcin and Koen to sort ipkgs into per architecture subdirs of deploy/ipk
see: http://lists.linuxtogo.org/pipermail/openembedded-devel/2007-February/001462.html
Holger Freyther [Mon, 19 Feb 2007 16:57:13 +0000 (16:57 +0000)]
classes/insane.bbclass: check stages .pc and .la for sanity
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
Holger Freyther [Mon, 19 Feb 2007 14:56:20 +0000 (14:56 +0000)]
classes/insane.bbclass: Make the .so-check check for symlinks (merge poky 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.
Koen Kooi [Mon, 19 Feb 2007 10:28:48 +0000 (10:28 +0000)]
insane.bbclass: fixes
* 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)
insane.bbclass: added dict entries for mipsel, i386, x86_64
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))
Holger Freyther [Sun, 18 Feb 2007 23:12:19 +0000 (23:12 +0000)]
classes/insane.bbclass: Add a small elf reader and check ABI,ARCH and Endian
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
Paul Sokolovsky [Sun, 18 Feb 2007 18:50:03 +0000 (18:50 +0000)]
task-angstrom-x11: Remove dependency on detect-stylus.
* detect-stylus is no longer used in OE, which adopted convention of
having the touchscreen device at /dev/input/touchscreen0 (for all 2.6
devices being created by udev rule).
Paul Sokolovsky [Sun, 18 Feb 2007 18:38:21 +0000 (18:38 +0000)]
task-base: Make "wifi" belong to COMBINED_FEATURES.
* This is consistent with how "bluetooth" is handled already, and, assuming
that distro supports wifi, essentially allows machine to decide if wifi packages
go into rootfs or would be installed from feed. This is helpful for machines
which don't have wifi and devoid of any means of external card extension, or
for machines with very small ROM (like, for example, h3600 with its 16Mb,
in which wifi packages simply don't fit, so h3600 users with CF sleeve and
wifi card would need to install support manually, after deleting packages they
can sacrifice for this).
* Approved by Marcin Juszkiewicz
Paul Sokolovsky [Sun, 18 Feb 2007 17:48:27 +0000 (17:48 +0000)]
angstrom-2007.1.conf: Ship just en-gb locale by default.
* Ship just basic locale by default. Locales are big (~1Mb uncompr.), so
shipping some adhoc subset will be still useless and size burden for
users of all other languages/countries. Instead, worth to make it easy
to install additional languages: installer/wizard + metapackages which
will RRECOMMEND as much as possible content for a given language
(locales, UI transalations, help, etc. - useless for pros, but really
helpful for common users).
* Approved by Koen Kooi
Holger Freyther [Sun, 18 Feb 2007 17:19:11 +0000 (17:19 +0000)]
classes/insane.bbclass: Allow errors to be ignored
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