]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
13 years agoapt: Fix a latent bug exposed by gcc 4.7
Khem Raj [Fri, 30 Mar 2012 19:07:38 +0000 (12:07 -0700)]
apt: Fix a latent bug exposed by gcc 4.7

Further Details are in patch itself

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotiny: Update linux-yocto-tiny to 3.2
Darren Hart [Sun, 1 Apr 2012 07:19:58 +0000 (00:19 -0700)]
tiny: Update linux-yocto-tiny to 3.2

Migrate linux-yocto-tiny from 3.0 to 3.2. The 3.0 recipe was
based entirely on recipe-space fragments and was only a proof of concept.
The 3.2 linux-yocto meta-data now has a proper tiny KTYPE defined.

By default this recipe supports only the qemux86 machine, which builds the
common-pc support (including networking, sound, USB, VGA and serial consoles,
etc.). New machines can be added and will use the tiny KTYPE, but will need to
add any desired hardware support as the base config is very minimal.

No filesystems are supported by default, only the initramfs.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: update tiny meta and configuration for kernel 3.2
Bruce Ashfield [Sun, 1 Apr 2012 03:54:41 +0000 (23:54 -0400)]
linux-yocto: update tiny meta and configuration for kernel 3.2

Updating the META SRCREV to pickup these commits:

  59f350e meta: Add common-pc-tiny.scc
  0996ca9 tiny: Minimize the tiny config
  d6b57bb meta: common-pc add dependencies to cfg

Which update the configuration for the tiny profile of the kernel
for the 3.2 release.

cc: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoself-hosted-image: fix indentation: 8 spaces --> Tab
Dexuan Cui [Sun, 1 Apr 2012 14:11:16 +0000 (22:11 +0800)]
self-hosted-image: fix indentation: 8 spaces --> Tab

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agobuilder: uncomment the settings for BB_NUMBER_THREADS and PARALLEL_MAKE
Dexuan Cui [Sun, 1 Apr 2012 13:46:02 +0000 (21:46 +0800)]
builder: uncomment the settings for BB_NUMBER_THREADS and PARALLEL_MAKE

We use sed to enable the 2 settingis in conf/local.conf.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agoself-hosted-image: renew the poky src's SRCREV that's installed into the target
Dexuan Cui [Sun, 1 Apr 2012 09:35:39 +0000 (17:35 +0800)]
self-hosted-image: renew the poky src's SRCREV that's installed into the target

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agoself-hosted-image: improve do_populate_poky_src
Dexuan Cui [Fri, 30 Mar 2012 09:31:39 +0000 (17:31 +0800)]
self-hosted-image: improve do_populate_poky_src

1) remove the assumption ${DL_DIR} ends with downloads/.
Thanks Paul Eggleton for pointing this out.

2) remove downloads/git2_* tarballs to speed up the rootfs creation.
This is ok since we still have the git2/.
Thanks Richard Purdie for suggesting this.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agogenext2fs: support large files and filesystems without using large amounts of memory
Dexuan Cui [Wed, 28 Mar 2012 16:35:09 +0000 (00:35 +0800)]
genext2fs: support large files and  filesystems without using large amounts of memory

update_to_1.95.patch was generated by making a diff bewteen the 1.4.1 release
and the latest 1.9.5 version in the cvs repo:
http://genext2fs.cvs.sourceforge.net/viewvc/genext2fs/genext2fs/genext2fs.c?revision=1.95

The patches 0001-0019 come from mailing list of genext2fs-devel
http://sourceforge.net/mailarchive/forum.php?forum_name=genext2fs-devel&max_rows=100&style=flat&viewmonth=201106

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agoqemugl: Fix GL apps failure on Ubuntu 11 host with nVidia GLX driver
Zhai Edwin [Sun, 1 Apr 2012 02:24:28 +0000 (10:24 +0800)]
qemugl: Fix GL apps failure on Ubuntu 11 host with nVidia GLX driver

Previous version of nVidia GLX driver in Ubuntu 10 cause qemu segfault, so we
fall back to Mesa GLX driver if detecting nVidia driver installed. From Ubuntu
11, nVidia GLX driver works well, while previous work around cause GL apps
failure. So this work around is limited in Ubuntu 10 only, and will be removed
in future.

[YOCTO #1886] got fixed.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobuildhistory: make seperate commits for every changed top level entry in the buildhis...
Koen Kooi [Sat, 31 Mar 2012 22:06:44 +0000 (00:06 +0200)]
buildhistory: make seperate commits for every changed top level entry in the buildhistory dir

This seperates out image changes from package changes making the image diffs a lot easier to read.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobuildhistory: record all builds
Koen Kooi [Sat, 31 Mar 2012 22:06:43 +0000 (00:06 +0200)]
buildhistory: record all builds

When nothing has changed an empty commit prefixed with "No changes" will get generated so that the commit log of the buildhistory repo provides a complete log of all builds performed, not just those that resulted in changes.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobuildhistory: remove duplicate entries from dot graph
Koen Kooi [Sat, 31 Mar 2012 22:06:42 +0000 (00:06 +0200)]
buildhistory: remove duplicate entries from dot graph

There are various conditions that lead to duplicate entries in the dot graph which need to get fixed, but this patch is a catchall. A previous attempt to address this only works on rpm which gives a \n seperated output, opkg doesn't.

Another benefit is that the sort order is now know, leading to less spurious diffs in buildhistory commits.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocross-canadian.bbclass: fix rpath for sdk executables
Nitin A Kamble [Fri, 30 Mar 2012 22:28:23 +0000 (15:28 -0700)]
cross-canadian.bbclass: fix rpath for sdk executables

This makes the libraries located in places like this findable:
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib

Which avoids linking cross canadian sdk executables with host libraries like this:

$ ldd /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/x86_64-oe-linux/x86_64-oe-linux-gdb
        linux-vdso.so.1 =>  (0x00007fffb7fff000)
        libreadline.so.6 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/x86_64-oe-linux/../libreadline.so.6 (0x00007fbfb5511000)
        libdl.so.2 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/libdl.so.2 (0x00007fbfb530c000)
        libncurses.so.5 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/libncurses.so.5 (0x00007fbfb50e9000)
        libtinfo.so.5 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/libtinfo.so.5 (0x00007fbfb4ec2000)
        libz.so.1 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/x86_64-oe-linux/../libz.so.1 (0x00007fbfb4cac000)
        libm.so.6 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/libm.so.6 (0x00007fbfb4a2a000)
        libpthread.so.0 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/libpthread.so.0 (0x00007fbfb480d000)
        libutil.so.1 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/libutil.so.1 (0x00007fbfb4609000)
        libexpat.so.1 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/x86_64-oe-linux/../libexpat.so.1 (0x00007fbfb43e0000)
        libc.so.6 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/libc.so.6 (0x00007fbfb4059000)
        /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x0000003f05000000)

[RP: Whitespace tweaks]
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotune-cortexa8/9: fix PACKAGE tunes being all armv7at even for non-Thumb ones
Denys Dmytriyenko [Fri, 30 Mar 2012 23:31:42 +0000 (19:31 -0400)]
tune-cortexa8/9: fix PACKAGE tunes being all armv7at even for non-Thumb ones

All PACKAGE_EXTRA_ARCHS for cortexa8, cortexa8t and cortexa8-neon have typo in
referencing tune-armv7at even for non-Thumb modes. Probably a copy/paste error.
That's not the case for recently-added hard-fp tunes.

Same for cortexa9.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts/bitbake: add/fix some comments
Paul Eggleton [Mon, 26 Mar 2012 12:56:26 +0000 (13:56 +0100)]
scripts/bitbake: add/fix some comments

Add some comments explaining what this script does, fix one grammatical
error in a comment and make the tar-replacement-native comment give the
full reason why it is needed.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoscripts/bitbake: allow switching between build directories
Paul Eggleton [Mon, 26 Mar 2012 14:22:01 +0000 (15:22 +0100)]
scripts/bitbake: allow switching between build directories

The recent addition of the check to ensure the user was in their build
directory disabled the ability to switch between build directories
without re-running the build environment setup script. We can rely
upon checking for conf/bblayers.conf instead, so use this check.

This does allow BUILDDIR (which is normally set by the environment
script) to be unset; however if it is set then it is assumed to be the
correct build directory and will be used in the error message that is
shown when we can't find conf/bblayers.conf.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoscripts/bitbake: try harder to check if pseudo exists
Paul Eggleton [Mon, 26 Mar 2012 12:44:28 +0000 (13:44 +0100)]
scripts/bitbake: try harder to check if pseudo exists

If pseudodone doesn't exist, we can get STAGING_BINDIR_NATIVE by calling
bitbake -e and use that as the path to check for pseudo before we give
up and try to build it explicitly first.

This is useful for people who share TMPDIR between multiple build
directories.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agonasm: fix issue with repeat configure
Nitin A Kamble [Fri, 30 Mar 2012 22:52:04 +0000 (15:52 -0700)]
nasm: fix issue with repeat configure

This Fixes bug: [YOCTO #2176]

This fixes the following issue as mentioned in the bug:
If nasm-native has to be rebuilt (due to a signature change) it will fail:

| checking for a BSD-compatible install... /usr/bin/install -c
| /media/large/tmp/work/x86_64-linux/nasm-native-2.07-r1/nasm-2.07/configure:
line 4261: syntax error near unexpected token `-W'
| /media/large/tmp/work/x86_64-linux/nasm-native-2.07-r1/nasm-2.07/configure:
line 4261: `PA_ADD_CFLAGS(-W)'
| ERROR: oe_runconf failed
NOTE: package nasm-native-2.07-r1: task do_configure: Failed

The failure appears to be caused by do_patch_fixaclocal being run a second time

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopkgconfig.bbclass: corrected dependency for -nativesdk.
Lianhao Lu [Sat, 31 Mar 2012 06:49:25 +0000 (14:49 +0800)]
pkgconfig.bbclass: corrected dependency for -nativesdk.

For -nativesdk, the dependency should be pkgconfig-nativesdk instead of
pkgconfig.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoautotools.bbclass: Drop -nativesdk dependency to lib-cross.
Lianhao Lu [Sat, 31 Mar 2012 06:49:23 +0000 (14:49 +0800)]
autotools.bbclass: Drop -nativesdk dependency to lib-cross.

-nativesdk recipes should not have dependency to lib-cross, which is
never used. This unnecessary dependency would result different task hash
values in sstate for different MACHINE settings.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocrosssdk.bbclass: Set TUNE_PKGARCH to SDK_PKGARCH.
Lianhao Lu [Sat, 31 Mar 2012 06:49:22 +0000 (14:49 +0800)]
crosssdk.bbclass: Set TUNE_PKGARCH to SDK_PKGARCH.

The TUNE_PKGARCH of crosssdk should be set to SDK_ARCH, not the one
from target machine's configuration.

Fixed bug [YOCTO #2206]

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agonativesdk.bbclass: Set PACKAGE_ARCHS to SDK_PACKAGE_ARCHS.
Lianhao Lu [Sat, 31 Mar 2012 06:49:21 +0000 (14:49 +0800)]
nativesdk.bbclass: Set PACKAGE_ARCHS to SDK_PACKAGE_ARCHS.

This patch fixed the issue of reading incorrect pkgdata files. Previous
appending '-nativesdk' suffix to PACKAGE_ARCHS would result the
i686-nativesdk recipes reading in x86_64-nativesdk pkgdata files if the
MACHINE is set to qemux86-64.

Fixed bug [YOCTO #2203].

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocbook-utils-native: fix syntax problem in jw.in
Steffen Sledz [Fri, 30 Mar 2012 09:45:47 +0000 (11:45 +0200)]
docbook-utils-native: fix syntax problem in jw.in

Fix runtime error occurred e.g. with docbook-to-man calls:

  grep: character class syntax is [[:space:]], not [:space:]
  grep: character class syntax is [[:space:]], not [:space:]
  jw: There is no frontend called "/docbook/utils-0.6.14/frontends/docbook".

See also:

   <https://qa.mandriva.com/show_bug.cgi?id=61127>

Signed-off-by: Steffen Sledz <sledz@dresearch-fe.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agovirtual/libgl: use mesa-xlib for qemuarm/qemumips/qemuppc
Zhai Edwin [Fri, 30 Mar 2012 03:43:10 +0000 (11:43 +0800)]
virtual/libgl: use mesa-xlib for qemuarm/qemumips/qemuppc

Still need mesa-xlib for emulation of GLX interface on qemuarm/mips/ppc, where
mesa-dri doesn't work for pure qemu emulator.

[YOCTO #2066] fixed.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoadt-installer: Adapted environment file name for powerpc.
Lianhao Lu [Fri, 30 Mar 2012 06:06:11 +0000 (14:06 +0800)]
adt-installer: Adapted environment file name for powerpc.

Adpated to the new environment file name for powerpc, due to the oe-core
commit c2d96179.

Fixed bug [YOCTO #2055].

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoarch-armv7a.inc: fix PACKAGE_EXTRA_ARCHS after armv7.inc was removed
Martin Jansa [Fri, 30 Mar 2012 13:26:27 +0000 (15:26 +0200)]
arch-armv7a.inc: fix PACKAGE_EXTRA_ARCHS after armv7.inc was removed

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogdk-pixbuf: Fix checksum warning issue
Richard Purdie [Fri, 30 Mar 2012 13:19:07 +0000 (14:19 +0100)]
gdk-pixbuf: Fix checksum warning issue

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosstate-cache-management.sh: fixes and enhancement
Robert Yang [Fri, 30 Mar 2012 06:44:31 +0000 (14:44 +0800)]
sstate-cache-management.sh: fixes and enhancement

Fix a few problems and enhance its functions, it shoud be more useful
than before.

* Search in meta and meta-* for archs, and grep AVAILTUNES for archs,
  (only search meta, and grep DEFAULTTUNE before), add the host arch.
  and also can search in extra layers with --extra-layer.

* Reduce the analyzing time when remove duplicated files. It would cost
  more than 10 minutes to analyze 11,000 files before, now only needs
  about 50 seconds.

* Check the access time rather than create time.

* Need the user's confirm before really remove the file, or use --yes to
  assume yes.

* Add --stamps-dir to keep sstate files which are used by the build
  directory, and remove others this can make the sstate cache dir clean,
  it is faster and should be useful than the --remove-duplicated.

* Add --verbose to explain what is being done.

* Add "-d" which is short for --remove-duplicated

[YOCTO #2198]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agorootfs_ipk: don't echo opkg-cl output to log.do_rootfs
Martin Jansa [Fri, 30 Mar 2012 10:55:39 +0000 (12:55 +0200)]
rootfs_ipk: don't echo opkg-cl output to log.do_rootfs

* log_check can find some files with ERR or Fail substring e.g. in "Source: " field

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibc-packgae.bbclass: Add i686 support in locale_arch_options
Noor Ahsan [Thu, 29 Mar 2012 06:48:35 +0000 (11:48 +0500)]
libc-packgae.bbclass: Add i686 support in locale_arch_options

* While building for i686 architecture an error was coming that
locale_arch_options does not have support for i686. Add missing support.
* Verified on intel architecture.

Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobc: use update-alternatives to make dc play nice with busybox
Denys Dmytriyenko [Wed, 28 Mar 2012 23:52:50 +0000 (19:52 -0400)]
bc: use update-alternatives to make dc play nice with busybox

busybox' default configuration enables dc app, which bc also provides,
setup update-alternatives to resolve the conflict.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogstreamer: Provide easy way to enable runtime debugging
Gary Thomas [Thu, 29 Mar 2012 14:40:04 +0000 (08:40 -0600)]
gstreamer: Provide easy way to enable runtime debugging

The gstreamer framework has a very useful debugging setup which is
essential for debugging pipelines and plugins.  This patch makes
it simple to enable this (disabled by default).  To enable debugging,
just add this line to local.conf
  GSTREAMER_DEBUG = "--enable-debug"

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agorunqemu: set console=ttyS0 when running with nographic option
Scott Garman [Thu, 29 Mar 2012 15:57:37 +0000 (08:57 -0700)]
runqemu: set console=ttyS0 when running with nographic option

When passing the nograhic option to the runqemu script, set
console=ttyS0 in the kernel options so the user can view
the kernel boot messages.

This fixes [YOCTO #1475]

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqemu.inc: Use '+=' for IMAGE_FSTYPES
Tom Rini [Thu, 29 Mar 2012 17:19:28 +0000 (10:19 -0700)]
qemu.inc: Use '+=' for IMAGE_FSTYPES

As per
http://lists.linuxtogo.org/pipermail/openembedded-core/2012-March/020053.html
a machine conf file should use '+=' to set IMAGE_FSTYPES.

Signed-off-by: Tom Rini <trini@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolicense.bbclass: remove existing license.manifest before appending new data
Eric Bénard [Thu, 29 Mar 2012 12:22:29 +0000 (14:22 +0200)]
license.bbclass: remove existing license.manifest before appending new data

without this fix, we append license each time we build again the same image,
ending with a large not up to date file.

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoghostscript: Fix remaining CP_ prallel make races
Richard Purdie [Thu, 29 Mar 2012 08:43:21 +0000 (08:43 +0000)]
ghostscript: Fix remaining CP_ prallel make races

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agorpm: Ensure we depend on file
Richard Purdie [Wed, 28 Mar 2012 17:01:43 +0000 (17:01 +0000)]
rpm: Ensure we depend on file

rpm links to libmagic from file so it needs to be listed in DEPENDS else we
can have race conditions causing build failures such as those seen on the
autobuilder recently.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc-2.15: Update SRCREV
Khem Raj [Fri, 23 Mar 2012 02:56:57 +0000 (19:56 -0700)]
eglibc-2.15: Update SRCREV

Get new patches and remove the one that got merged upstream

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoclutter: clutter_git is really clutter-1.8_git, rename
Richard Purdie [Wed, 28 Mar 2012 11:28:00 +0000 (11:28 +0000)]
clutter: clutter_git is really clutter-1.8_git, rename

Both these clutter recipes provide 1.8. With different PN namespace, a world
build cna build both causing the clutter libraries to "disappear" at certain
points of the build. In particular, this causes issues for mx.

This patch puts then into the same PN namespace so only one can be built.

[YOCTO #2158]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotiff: Make builds deterministic
Richard Purdie [Wed, 28 Mar 2012 11:16:48 +0000 (11:16 +0000)]
tiff: Make builds deterministic

libtiff now depends on lzma which can be obtained from xz and doesn't use lzo.
Previously, libtiff would detect and use lzma if it was present leading to
a number of race conditions including failures in things linking to libtiff
such as ghostscript since lzma could be removed while being rebuild leading
to failures in linking.

This patch corrects the dependency.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc-cross-intermediate: Ensure we move the libraries from the correct location
Richard Purdie [Wed, 28 Mar 2012 11:13:23 +0000 (11:13 +0000)]
gcc-cross-intermediate: Ensure we move the libraries from the correct location

This fixes multilib issues if you try for example to use a BASELIB of /lib32
which wouldn't work without this change since the compiler install location
is taken from gcc -print-multi-os-directory which can still turn out to be
"/lib".

The reason is that a 32 bit gcc has no multilib code enabled and will always
return "." as that value rather than "../${base_libdir}" which our changes
to gcc enable and return in 64 bit mode.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoghostscript: Fixes for parallel_make
Richard Purdie [Wed, 28 Mar 2012 11:12:31 +0000 (11:12 +0000)]
ghostscript: Fixes for parallel_make

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoprocps: don't print error message with kernel 3.0+
Andreas Oberritter [Tue, 27 Mar 2012 21:33:24 +0000 (23:33 +0200)]
procps: don't print error message with kernel 3.0+

* All procps tools print a message like this when the kernel
  version consists of only two numbers:

| Non-standard uts for running kernel:
| release ... gives version code ...

* Import a patch from Debian to quieten this message.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopowerpc e500: set -mfloat-gprs=double
Christopher Larson [Tue, 27 Mar 2012 19:51:08 +0000 (14:51 -0500)]
powerpc e500: set -mfloat-gprs=double

Use of FPRs instead of GPRs is incompatible with e500/SPE, so let's be
explicit about the use of GPRs to avoid potential errors. For example, with
the Sourcery G++ toolchain, one can hit: conftest.c:1:0: error: E500 and FPRs
not supported.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoexternal-csl: add mapping for powerpc-nf
Christopher Larson [Tue, 27 Mar 2012 19:51:07 +0000 (14:51 -0500)]
external-csl: add mapping for powerpc-nf

This ensures we get the files from the correct multilib dir in the external
toolchain when using powerpc with soft-float.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts/bitbake: Update to help rebuild pseudo-native
Mark Hatle [Tue, 27 Mar 2012 21:57:31 +0000 (16:57 -0500)]
scripts/bitbake: Update to help rebuild pseudo-native

Attempt to detect when pseudo-native has been updated.  If it has been updated,
or if the user is attempting an operation with pseudo-native in the name, force
a build of pseudo-native, prior to running the main build.

Note: This causes a build, then clean in the case of
   bitbake -c cleansstate pseudo-native

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoPseudo: Update to 1.3
Peter Seebach [Tue, 27 Mar 2012 21:57:30 +0000 (16:57 -0500)]
Pseudo: Update to 1.3

The various local patches have made it into upstream, so we update
the build files and jump to pseudo 1.3.  This also includes a popen()
fix which fixes some edge cases that caused failures trying to check
git branches and the like.

[Yocto bug #2181]

Signed-off-by: Seebs <peter.seebach@windriver.com>
Updated the pseudo_git.bb to match.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolocal.conf.sample.extended: Add documentation of archive source code configuration
Richard Purdie [Wed, 28 Mar 2012 08:31:19 +0000 (09:31 +0100)]
local.conf.sample.extended: Add documentation of archive source code configuration

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agozypper: Fix build with gcc 4.7
Khem Raj [Wed, 28 Mar 2012 02:41:05 +0000 (19:41 -0700)]
zypper: Fix build with gcc 4.7

More details in patch header

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: support externalsrc builds
Bruce Ashfield [Wed, 28 Mar 2012 02:31:14 +0000 (22:31 -0400)]
linux-yocto: support externalsrc builds

There are a few extra task that modify the source tree that should
be removed when externalsrc is inherited by a recipe that uses a
linux-yocto tree.

Adding those tasks to SRCTREECOVEREDTASKS means that they are skipped
and externalsrc works as intended.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotune/armv7: Delete
Khem Raj [Wed, 28 Mar 2012 01:37:45 +0000 (18:37 -0700)]
tune/armv7: Delete

armv7 is least common denominator of armv7-a
armv7-m and armv7-r and armv7-m does not support
ARM instructions but only thumb2 instruction set
which means armv7 when chosen will complain if
code is compiled in arm mode which is default
in OE if not specified other wise

if we chose this tuning errors like below pop up

error: target CPU does not support ARM mode

This tuning seems theoretical and base tune
for armv7 would be one of armv7-a,  armv7-m or
armv7-r

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agonspr 4.8.9: failed to build on x86_64 board
Robert Yang [Tue, 27 Mar 2012 09:37:17 +0000 (17:37 +0800)]
nspr 4.8.9: failed to build on x86_64 board

nspr failed to build on x86_64 board(e.g., qemux86-64):

x86_64-poky-linux-gcc    -m64 ... -m32 ...
...
fatal error: gnu/stubs-32.h: No such file or directory

This is because there are both '-m64' and '-m32' in gcc's options, and
the later one is used, but what we need is '-m64' since it is x86_64,
this is caused by an incorrect logic in configure.in, we should assume
that the pkg uses 64bit when target_cpu is x86_64 (it has two options:
--enable-n32 and --enable-64bit, both of them are not set by default),
we only can assume that the pkg uses 32bit when USE_N32 is set. But
what it did was that assumed 32bit when target_cpu was x86_64 unless
--enable-64bit was set, this seems unreasonable and caused the "gcc -m64
-m32" error.

Some had noticed this error before:
https://lists.yoctoproject.org/pipermail/poky/2011-May/005799.html

NOTE:
* Both fix configure and configure.in since we can't run the
  "autoreconf" for nsrp, please see more explanation in
  trickly-fix-build-on-x86_64.patch.

* Also fixed powerpc64, this is just fixed by conclusion since we don't
  suport ppc64.

[YOCTO #2179]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocontacts.inc: conditionally install shema
Robert Yang [Tue, 27 Mar 2012 07:01:42 +0000 (15:01 +0800)]
contacts.inc: conditionally install shema

Install schema should respect to GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL,
If GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL is set, the schema should not
be installed, but it always installed shema before, this was incorrect
and it would cause host contamination since it would read
$HOME/gconf/.gconf.

[YOCTO #2178]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocontacts 0.9: failed to build
Robert Yang [Tue, 27 Mar 2012 07:01:41 +0000 (15:01 +0800)]
contacts 0.9: failed to build

contacts_0.9.bb failed to build since lacks of:

* SRC_URI[md5sum] or SRC_URI[sha256sum]
* LIC_FILES_CHKSUM

And an indent error in Makefile.am.

Fix these problems at the moment, maybe we should remove this old
version recipe since there is a contacts_git.bb

[YOCTO #2178]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage_types: remove duplicate setting of -i for inode count
Saul Wold [Tue, 27 Mar 2012 05:43:00 +0000 (22:43 -0700)]
image_types: remove duplicate setting of -i for inode count

inode count is already set in the EXTRA_IMAGECMD definition

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobuilder: Enable auto starting of Hob
Saul Wold [Tue, 27 Mar 2012 05:42:59 +0000 (22:42 -0700)]
builder: Enable auto starting of Hob

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agovmdk: Update for direstdisk
Saul Wold [Tue, 27 Mar 2012 05:42:58 +0000 (22:42 -0700)]
vmdk: Update for direstdisk

The conversion to directdisk is necessary due to the limitation
in the mkdosfs version we carry and larger filesystems.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoboot-directdisk: Fix Block Calcuation
Saul Wold [Tue, 27 Mar 2012 05:42:57 +0000 (22:42 -0700)]
boot-directdisk: Fix Block Calcuation

This also changes the timeout to be settable

The block calcuation was not correctly rounding, see comment

Thanks to Darren Hart for fixing this.

Cc: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage-vmdk: Add symbolic link for a short named vmdk image
Saul Wold [Tue, 27 Mar 2012 05:42:56 +0000 (22:42 -0700)]
image-vmdk: Add symbolic link for a short named vmdk image

This adds a link from the date stamped vmdk image to a shortened
name file.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoself-hosted-image: pre-populate the builder user with poky source
Dexuan Cui [Tue, 27 Mar 2012 05:42:55 +0000 (22:42 -0700)]
self-hosted-image: pre-populate the builder user with poky source

This patch installs the poky source into the /home/builder/poky/ of the
self-hosted-image.
This makes the user of self-hosted-image easier to start a build.

I think the recent poky master is stable enough, so I specify
a commit number by SRCREV -- we may want to update this number before
releasing 1.2.

This patch fixes [YOCTO #2065]

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Added code for supporting target based pseudo
fixed indentation

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc-cross-canadian: Clean non shipped empty directories.
Lianhao Lu [Tue, 27 Mar 2012 04:38:29 +0000 (12:38 +0800)]
gcc-cross-canadian: Clean non shipped empty directories.

Cleaning up non shipped empty directories.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoguile: Deal with hardcoded path issues
Richard Purdie [Mon, 26 Mar 2012 23:22:27 +0000 (23:22 +0000)]
guile: Deal with hardcoded path issues

Without this build of autogen-native break if the guile-native package has been
recloated.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agorootfs_ipk: replace 3 opkg-cl calls with one in get_package_filename
Martin Jansa [Fri, 23 Mar 2012 22:30:49 +0000 (23:30 +0100)]
rootfs_ipk: replace 3 opkg-cl calls with one in get_package_filename

* || true is needed for cases where grep doesn't find anything
* and quotes around info are needed to keep line breaks

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoclasses: scons: add EXTRA_OESCONS
Denis 'GNUtoo' Carikli [Fri, 23 Mar 2012 22:30:42 +0000 (23:30 +0100)]
classes: scons: add EXTRA_OESCONS

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoarchive-configured-source.bbclass: Archive configured source
Xiaofeng Yan [Mon, 26 Mar 2012 10:49:36 +0000 (18:49 +0800)]
archive-configured-source.bbclass: Archive configured source

This bbclass prepares for archiving configured source.

[YOCTO #1977]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoarchive-original-source.bbclass: Archive original source
Xiaofeng Yan [Mon, 26 Mar 2012 10:49:29 +0000 (18:49 +0800)]
archive-original-source.bbclass: Archive original source

This bbclass prepares for archiving original source.
If original source is tarball, then copy this tarball to
${DEPLOY_DIR}/sources.
If original source is dirctory, then archive this directory to
tarball

[YOCTO #1977]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoarchiver.bbclass:
Xiaofeng Yan [Mon, 26 Mar 2012 10:49:26 +0000 (18:49 +0800)]
archiver.bbclass:

1 Archive sources in ${S} in the different stage
  (do_unpack,do_patch,do_configure).
2 Archive patches including series
3 Archive logs including scripts (.bb and .inc files)
4 dump environment resources which show all variable and functions
  used to xxx.showdata.dump when running a task
5 dump all content in 's' including patches to file xxx.diff.gz

All archiving packages  will be deployed to ${DEPLOY_DIR}/sources/

[YOCTO #1977]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage_rpm: Add srpm function to this bbclass
Xiaofeng Yan [Mon, 26 Mar 2012 10:49:23 +0000 (18:49 +0800)]
package_rpm: Add srpm function to this bbclass

Add a new function to archive source, patches and logs to a source rpm
package. Every source rpm package will be deployed to
${DEPLOY_DIR}/sources/deploy-srpm

[YOCTO #1977]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosrc_distributelocal.bbclass: Remove src_distribute_local.bbclass
Xiaofeng Yan [Mon, 26 Mar 2012 10:49:20 +0000 (18:49 +0800)]
src_distributelocal.bbclass: Remove src_distribute_local.bbclass

This bbclass has been merged into archiver.bbclass

[#YOCTO 1977]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosrc_distribute.bbclass: Remove src__distribute.bbclass
Xiaofeng Yan [Mon, 26 Mar 2012 10:49:17 +0000 (18:49 +0800)]
src_distribute.bbclass: Remove src__distribute.bbclass

This bbclass has been merged into archiver.bbclass

[#YOCTO 1977]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosourcepkg.bbclass: Remove sourcepkg.bbclass
Xiaofeng Yan [Mon, 26 Mar 2012 10:49:14 +0000 (18:49 +0800)]
sourcepkg.bbclass: Remove sourcepkg.bbclass

This bbclass has been merged into archiver.bbclass.

[YOCTO #1977]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: common-pc: Add PCNET32 to the config
Bruce Ashfield [Mon, 26 Mar 2012 13:57:58 +0000 (09:57 -0400)]
linux-yocto: common-pc: Add PCNET32 to the config

Updating the meta SRCREV to pick up this commit:

[
    common-pc: Add PCNET32 to the config

    Qemu and VM Ware both support PCNET32 and the latter requires it for
    32 bit images.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
]

Signed-off-by: Darren Hart <dvhart@linux.intel.com>5A
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel.bbclass: touch .scmversion also in ${S}
Martin Jansa [Mon, 26 Mar 2012 17:29:48 +0000 (19:29 +0200)]
kernel.bbclass: touch .scmversion also in ${S}

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoFix empty file case that caused build error at do_rootfs
Jessica Zhang [Mon, 26 Mar 2012 21:31:12 +0000 (14:31 -0700)]
Fix empty file case that caused build error at do_rootfs

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agospeex: fix FILES variables
Eric Bénard [Wed, 21 Mar 2012 11:08:21 +0000 (12:08 +0100)]
speex: fix FILES variables

actually FILES_${PN} and FILES_${PN}-dev match the same files.
these files are supposed to go into ${PN} so remove the other entry.

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopython: fix packaging dependencies on minimal systems
Gary Thomas [Fri, 23 Mar 2012 19:28:16 +0000 (13:28 -0600)]
python: fix packaging dependencies on minimal systems

If you install the top-level python package only on a minimal
system which has no other python packages installed then python
is not functional at all.  Without any extra packages installed
this error is seen:
  # python
  Traceback (most recent call last):
    File "/usr/lib/python2.7/site.py", line 64, in <module>
      import traceback
  ImportError: No module named traceback

Installing python-lang only partly fixes the problem as this
error still exists:
  # python
  Traceback (most recent call last):
    File "/usr/lib/python2.7/site.py", line 569, in <module>
      main()
    File "/usr/lib/python2.7/site.py", line 551, in main
      known_paths = addusersitepackages(known_paths)
    File "/usr/lib/python2.7/site.py", line 278, in addusersitepackages
      user_site = getusersitepackages()
    File "/usr/lib/python2.7/site.py", line 253, in getusersitepackages
      user_base = getuserbase() # this will also set USER_BASE
    File "/usr/lib/python2.7/site.py", line 243, in getuserbase
      USER_BASE = get_config_var('userbase')
    File "/usr/lib/python2.7/sysconfig.py", line 520, in get_config_var
      return get_config_vars().get(name)
    File "/usr/lib/python2.7/sysconfig.py", line 400, in get_config_vars
      import re
  ImportError: No module named re

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage_types.bbclass: Define runnable and deployable pattern
Dongxiao Xu [Sat, 24 Mar 2012 02:31:14 +0000 (10:31 +0800)]
image_types.bbclass: Define runnable and deployable pattern

Define runnable image type and machine pattern.
Define deployable image type.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoVarious typoes fixed, all comments or output strings.
Robert P. J. Day [Sun, 25 Mar 2012 11:46:15 +0000 (07:46 -0400)]
Various typoes fixed, all comments or output strings.

Typoes fixed: "enviroment", "editted", "spliting", "scheulder".

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobusybox: move watch to /usr/bin for compatibility with procps
Andreas Oberritter [Sat, 24 Mar 2012 19:46:47 +0000 (20:46 +0100)]
busybox: move watch to /usr/bin for compatibility with procps

Commit 68dc2a3fa30c03a196d650de34d0c657a7b85454 broke opkg upgrade:

| update-alternatives: Error: cannot register alternative watch to
| /usr/bin/watch since it is already registered to /bin/watch

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqemu: add fedora pkg names when build failed
Robert Yang [Mon, 26 Mar 2012 06:49:38 +0000 (14:49 +0800)]
qemu: add fedora pkg names when build failed

When qemu build failed, we can see such messages:

You need libGL.so and libGLU.so to exist in your library path and the
development headers for SDL installed to build qemu-native.

Ubuntu package names are: libgl1-mesa-dev, libglu1-mesa-dev and
libsdl1.2-dev

These pkgs have different names on Fedora distributions, and Fedora is
one the
main linux distributions, so add Fedora package names.

The following Fedora versions have these pkgs:
Fedora 9 64bit
Fedora 13 32bit
Fedora 13 64bit
Fedora 16 64bit

[YOCTO #2174]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc-cross-canadian: Fixed packaging warnings.
Lianhao Lu [Mon, 26 Mar 2012 07:10:03 +0000 (15:10 +0800)]
gcc-cross-canadian: Fixed packaging warnings.

Removed non-shipped empty directories:
 -${prefix}/${TARGET_SYS}
 -${libdir}/../lib
 -${prefix}/include

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocore-image-minimal-mtdutils.bb: Simple DESCRIPTION grammar fix.
Robert P. J. Day [Sun, 25 Mar 2012 11:22:23 +0000 (07:22 -0400)]
core-image-minimal-mtdutils.bb: Simple DESCRIPTION grammar fix.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosetserial: Correct LICENSE
Elizabeth Flanagan [Fri, 23 Mar 2012 23:51:47 +0000 (16:51 -0700)]
setserial: Correct LICENSE

setserial's license is GPL version 2.0 per:

http://sourceforge.net/projects/setserial/develop

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocommon-license: Add ICU generic
Elizabeth Flanagan [Fri, 23 Mar 2012 23:51:46 +0000 (16:51 -0700)]
common-license: Add ICU generic

Another lone license with no generic available.

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocommon-licenses: Adding GPL-2.0-with-OpenSSL-exception
Elizabeth Flanagan [Fri, 23 Mar 2012 23:51:45 +0000 (16:51 -0700)]
common-licenses: Adding GPL-2.0-with-OpenSSL-exception

socat uses this. There is no good standardized text for this,
but as socat is the only one who utilizes this, it should do
for now although this package has some licensing issues according
to debian. See:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632481

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolicense.bbclass: Style guide compliance
Elizabeth Flanagan [Fri, 23 Mar 2012 23:51:44 +0000 (16:51 -0700)]
license.bbclass: Style guide compliance

4 spaces. Correcting some bash whitespace in license to comply
with the style guide.

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoutil-linux: Example of pkg level INCOMPATIBLE_LICENSE
Elizabeth Flanagan [Fri, 23 Mar 2012 23:51:43 +0000 (16:51 -0700)]
util-linux: Example of pkg level INCOMPATIBLE_LICENSE

util-linux-lscpu provides an example of pkg level incompatible
license. In this instance, we've set the license for this specific
package as GPLv3. The other packages inherit the recipe LICENSE.

What this allows is the package to not be included on install to
the image.

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoINCOMPATIBLE_LICENSE: support for spdx and pkg licenses
Elizabeth Flanagan [Fri, 23 Mar 2012 23:51:42 +0000 (16:51 -0700)]
INCOMPATIBLE_LICENSE: support for spdx and pkg licenses

This adds a few things to the incompatible license functionality

1. INCOMPATIBLE_LICENSE was unable to distinguish any variation
within LICENSE (e.g. GPLv3 v. GPLv3.0). This now utilizes the
SPDXLICENSEMAP of the license indicated as INCOMPATIBLE_LICENSE

2. Given a recipe where the main LICENSE was incompatible but
a package of the recipe was compatible, the entire recipe would
be excluded. This allows us some finer grained control over what
exactly gets excluded.

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolicense.bbclass: Whitespace standardization
Elizabeth Flanagan [Fri, 23 Mar 2012 23:51:41 +0000 (16:51 -0700)]
license.bbclass: Whitespace standardization

Removing tabs within check_license_flags to standardize to
4 space tabbing

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolicense.bbclass: Add spdx mapping to GPL-1.0
Elizabeth Flanagan [Fri, 23 Mar 2012 23:51:40 +0000 (16:51 -0700)]
license.bbclass: Add spdx mapping to GPL-1.0

Perl is GPL-1.0. For consistency sake, adding an spdx map for
GPLv1

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoPPP: Remove leftover reference to "nylon" distro from PPP recipe.
Robert P. J. Day [Sat, 24 Mar 2012 13:07:38 +0000 (09:07 -0400)]
PPP: Remove leftover reference to "nylon" distro from PPP recipe.

Delete reference to what is apparently a remnant from the OE-core
split, according to Paul Eggleton.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoiptables: fix build error against 3.2+ kernel headers
Bruce Ashfield [Fri, 23 Mar 2012 18:36:04 +0000 (14:36 -0400)]
iptables: fix build error against 3.2+ kernel headers

The iptables local linux/types.h overrides the kernel/sysroot
types.h. As such, we need to provide some defines that are required
to build against 3.2+ kernel headers.

ifndef protection is provided for the defines to ensure that
configuration that already have these defines are still buildable.

This commit is temporary until a new version of iptables can be
used that contains the defines.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agotaglib: Refresh patch after recent accidental breakage
Richard Purdie [Fri, 23 Mar 2012 18:29:29 +0000 (18:29 +0000)]
taglib: Refresh patch after recent accidental breakage

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibzypp: Fix buiild with gcc 4.7
Khem Raj [Fri, 23 Mar 2012 15:37:50 +0000 (08:37 -0700)]
libzypp: Fix buiild with gcc 4.7

it needs protype of close() before using it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel.bbclass: don't create /etc/modutils/*
Martin Jansa [Fri, 23 Mar 2012 12:56:31 +0000 (13:56 +0100)]
kernel.bbclass: don't create /etc/modutils/*

* update-modules was updated to read /etc/modules-load.d/*.conf

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoupdate-modules: update script to read /etc/modules-load.d/ directory
Martin Jansa [Fri, 23 Mar 2012 14:37:23 +0000 (15:37 +0100)]
update-modules: update script to read /etc/modules-load.d/ directory

* show warning for old /etc/modutils/* files without .conf extension
* v2: keep adding modules also from old /etc/modutils/* after showing
  warning, this way update-modules will be backward compatible also on
  images without kernel upgrade

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel.bbclass: fix extra + in kernelrelease
Martin Jansa [Fri, 23 Mar 2012 12:56:29 +0000 (13:56 +0100)]
kernel.bbclass: fix extra + in kernelrelease

* see http://lists.linuxtogo.org/pipermail/openembedded-core/2011-December/014308.html

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel.bbclass: use better number for KERNEL_PRIORITY
Martin Jansa [Fri, 23 Mar 2012 12:56:28 +0000 (13:56 +0100)]
kernel.bbclass: use better number for KERNEL_PRIORITY

* there is no upgrade from 2.6.X to 3.X.Y
  last part of PV is used as kernel priority for u-a, but X is usually
  higher then Y in 3.x.x so use all 3 parts in one bigger number
* and make it weak assignment if this scheme doesn't work for some
  recipe
* if there are just 2 numbers in PV then last one is repeated twice
  (see linux-openmoko_3.2 example) but that should work fine too

  OE qemux86-64@ ~/oe-core $ grep ^KERNEL_PRIO linux-yocto_*
  linux-yocto_2.6.37.e:KERNEL_PRIORITY="20637"
  linux-yocto_3.0.e:KERNEL_PRIORITY="30024"
  linux-yocto_3.2.e:KERNEL_PRIORITY="30211"
  OE qemux86-64@ ~/oe-core $ grep ^PV linux-yocto_*
  linux-yocto_2.6.37.e:PV="2.6.37+git1+aeea99683c7283f1f3320bf2ee7085ee252d4e7e_1+af2bfbe5f757361b5b027a24d67a93bfdfaaf33c"
  linux-yocto_3.0.e:PV="3.0.24+git2+a4ac64fe873f08ef718e2849b88914725dc99c1c_2+aac580659dc0ce083f250fb05abf82e58d7f4531"
  linux-yocto_3.2.e:PV="3.2.11+git2+514847185c78c07f52e02750fbe0a03ca3a31d8f_2+4ca7e2c5d42e755e1b4c3e1478128f047a8ed2a8"

  OE qemux86-64@ ~/shr-core $ grep ^KERNEL_PRIO linux-openmoko_*
  linux-openmoko_2.6.39.e:KERNEL_PRIORITY="20639"
  linux-openmoko_3.2.e:KERNEL_PRIORITY="30202"
  linux-openmoko_git.e:KERNEL_PRIORITY="30299"
  OE qemux86-64@ ~/shr-core $ grep ^PV linux-openmoko_*
  linux-openmoko_2.6.39.e:PV="2.6.39"
  linux-openmoko_3.2.e:PV="3.2"
  linux-openmoko_git.e:PV="3.2.99+3.3.0-rc0+gitr1+7089727d63b17615fb0a652374d79cb7df0835ad"

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel.bbclass: use symlinks for modutils files
Martin Jansa [Fri, 23 Mar 2012 12:56:27 +0000 (13:56 +0100)]
kernel.bbclass: use symlinks for modutils files

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel.bbclass: populate /etc/modules-load.d/ with module_autoload entries too
Martin Jansa [Fri, 23 Mar 2012 12:56:26 +0000 (13:56 +0100)]
kernel.bbclass: populate /etc/modules-load.d/ with module_autoload entries too

* /etc/modules-load.d/foo.conf is used by systemd like /etc/modutils/foo was with sysvinit

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>