]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
14 years agooprofileui: upgrade to the latest version maintained by the Yocto project
Dexuan Cui [Wed, 9 Mar 2011 10:28:22 +0000 (18:28 +0800)]
oprofileui: upgrade to the latest version maintained by the Yocto project

Oprofileui at http://labs.o-hand.com/oprofileui/ is not maintained now, so
we should change SRC_URI to the one maintained by the Yocto project. This
one includes new bugfixes.

This fixes [YOCTO #820]

[sgw: merged oprofile-git.inc back into .bb as suggested by Joshua]
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agogcc-configure-runtime.inc: Add immediate evaluation otherwise it ends in circular...
Khem Raj [Wed, 9 Mar 2011 05:40:48 +0000 (21:40 -0800)]
gcc-configure-runtime.inc: Add immediate evaluation otherwise it ends in circular dependency

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agodistutils-base: Only RDEPEND python-core on target packages
Martin Jansa [Sat, 5 Mar 2011 06:15:52 +0000 (06:15 +0000)]
distutils-base: Only RDEPEND python-core on target packages

* fixes ie setuptools, without this patch it RDEPENDs on python-core-native, which is not RPROVIDED by anything
* imported from OE 8377b8ec57f35b9e5b81a74c77f68fd6e02949c8

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agodebian.bbclass: call auto_libname in reverse sorted AUTO_LIBNAME_PKGS
Martin Jansa [Thu, 3 Mar 2011 22:46:09 +0000 (22:46 +0000)]
debian.bbclass: call auto_libname in reverse sorted AUTO_LIBNAME_PKGS

* see comment for reason why we need this
* more info:
  http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-February/029877.html

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agopython: add generate-manifest-2.6.py script and regen python-2.6-manifest.inc
Martin Jansa [Sat, 5 Mar 2011 17:01:47 +0000 (17:01 +0000)]
python: add generate-manifest-2.6.py script and regen python-2.6-manifest.inc

* imported from OE with sorted entries etc

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agogcc-runtime: fix LSB library checks for libstdc++.so.6
Nitin A Kamble [Wed, 9 Mar 2011 09:26:13 +0000 (09:26 +0000)]
gcc-runtime: fix LSB library checks for libstdc++.so.6

[YOCTO #795]

When we run library check of LSB on qemux86 and qemuppc, we got some failures
about 'libstdc++.so.6'.

Test environment:
Platform: Qemu-x86, Qemu-ppc
lsb image: poky-image-lsb-qemux86-test.ext3(Feb 26th, auto-build server)
Library check of LSB: 4.1.0-1

The error log:
Did not find _ZNKSt5ctypeIcE8do_widenEPKcS2_Pc (GLIBCXX_3.4) in libstdc++.so.6
Unmangled symbol name: std::ctype<char>::do_widen(char const*, char const*,
char*) const
...

 found that some weak symbols ('W') change into local ('t') during link time
and be stripped. According to compiling log, the option
"-fvisibility-inlines-hidden" is used for gcc. And this option caused some weak
symbols change into local.

see http://bugzilla.pokylinux.org/show_bug.cgi?id=795 for more information on the bug.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agoquilt: add autotools inheritance
Saul Wold [Wed, 9 Mar 2011 00:38:48 +0000 (16:38 -0800)]
quilt: add autotools inheritance

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoutil-macros: fix DEPENDS for nativesdk
Joshua Lock [Tue, 8 Mar 2011 18:20:27 +0000 (10:20 -0800)]
util-macros: fix DEPENDS for nativesdk

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agosstate: Ensure the SRCURI fetcher cache is not used for sstate
Richard Purdie [Tue, 8 Mar 2011 19:07:24 +0000 (11:07 -0800)]
sstate: Ensure the SRCURI fetcher cache is not used for sstate

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agosanity.bbclass: Check for /proc/sys/vm/mmap_min_addr to be >= 65536
Khem Raj [Tue, 8 Mar 2011 06:46:08 +0000 (22:46 -0800)]
sanity.bbclass: Check for /proc/sys/vm/mmap_min_addr to be >= 65536

* Now qemu can handle lower values we can chnage this sanity test
  to check of values if less than 65536

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agosanity.bbclass: some multilib systems have symlink /lib -> /lib64
Martin Jansa [Thu, 3 Mar 2011 09:39:16 +0000 (10:39 +0100)]
sanity.bbclass: some multilib systems have symlink /lib -> /lib64

* ie gentoo has /lib -> /lib64
* old test assumed only /lib64 -> /lib

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agopoky-default.inc: Change LINUXLIBCVERSION "2.6.36" -> "2.6.37.2"
Khem Raj [Thu, 3 Mar 2011 06:52:46 +0000 (22:52 -0800)]
poky-default.inc: Change LINUXLIBCVERSION "2.6.36" -> "2.6.37.2"

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoadt: removed unused repo source and opkg options
Liping Ke [Tue, 8 Mar 2011 04:55:08 +0000 (12:55 +0800)]
adt: removed unused repo source and opkg options

opgk option --force-overwrite is only a workaround for bug #547.
Now this bug is gone, so remove this option.

and also, the first opkg repo source is not useful, remove it.

Signed-off-by: Liping Ke <liping.ke@intel.com>
14 years agocpio: Fix the SHA256 Checksum for the src tarball
Saul Wold [Tue, 8 Mar 2011 17:22:34 +0000 (09:22 -0800)]
cpio: Fix the SHA256 Checksum for the src tarball

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoconnman: add xuser to the dbus permission list
Dongxiao Xu [Fri, 4 Mar 2011 16:02:14 +0000 (00:02 +0800)]
connman: add xuser to the dbus permission list

Some platform (like atom-pc) enables rootless X,
thus the connman frontend run on it need the
permission to connect with connman by dbus.
This commit grants permission to xuser.

This fixes [YOCTO #779]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agoadt: Update to svn r596 to fix symbolic link issues
Liping Ke [Mon, 7 Mar 2011 05:10:42 +0000 (13:10 +0800)]
adt: Update to svn r596 to fix symbolic link issues

See the longlinksfix patch for details but symlinks over 100 chars long
were broken in sdk tarballs and its due to problems in the inbuilt tar in
libbb in opkg. svn r596 has already fixed the problem.

Signed-off-by: Liping Ke <liping.ke@intel.com>
14 years agolsb-live image: add lsb-live and lsb-sdk-live image types
Saul Wold [Mon, 7 Mar 2011 17:52:41 +0000 (09:52 -0800)]
lsb-live image: add lsb-live and lsb-sdk-live image types

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoattr: Added ncurses to depends
Saul Wold [Sun, 6 Mar 2011 17:12:04 +0000 (09:12 -0800)]
attr: Added ncurses to depends

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agogst-plugins: Added hal to DEPENDS
Saul Wold [Sun, 6 Mar 2011 17:12:25 +0000 (09:12 -0800)]
gst-plugins: Added hal to DEPENDS

Fixes [YOCTO #810]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoutil-macros: add libgpg-error to DEPENDS list
Saul Wold [Sat, 5 Mar 2011 19:49:41 +0000 (11:49 -0800)]
util-macros: add libgpg-error to DEPENDS list

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agolsbsetup: Fix LIC_FILE_CHKSUM
Saul Wold [Sat, 5 Mar 2011 02:13:50 +0000 (18:13 -0800)]
lsbsetup: Fix LIC_FILE_CHKSUM

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoelfutils: add bzip2 to DEPENDS
Saul Wold [Sat, 5 Mar 2011 19:49:00 +0000 (11:49 -0800)]
elfutils: add bzip2 to DEPENDS

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agolinuxdoc-tools-native: Fix build error with txt documentation
Scott Garman [Sat, 5 Mar 2011 14:20:53 +0000 (14:20 +0000)]
linuxdoc-tools-native: Fix build error with txt documentation

Disable building txt documentation. This is a temporary workaround,
as I have found an Ubuntu 10.10 system which throws errors during
building this that I'd like to ultimately fix. The error manifests
itself from the end of LinuxDocTools.pm with the following messages
during do_install:

| - Building txt docs
| Processing file ./guide
| troff: fatal error: can't find macro file s
|  fmt_txt::postASP: Empty output file, error when calling groff. Aborting...

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agotoolchain-script.bbclass: Added --sysroot to LDFLAGS.
Lianhao Lu [Sat, 5 Mar 2011 14:20:52 +0000 (14:20 +0000)]
toolchain-script.bbclass: Added --sysroot to LDFLAGS.

[YOCTO #808] Added --sysroot to LDFALGS in environment files.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agotask-poky-lsb: Remove new eglibc-* packages
Saul Wold [Sat, 5 Mar 2011 14:20:52 +0000 (14:20 +0000)]
task-poky-lsb: Remove new eglibc-* packages

Remove the new eglibc packages that were part of another
patch and did not get cleanup here.

(From OE-Core rev: bddd9012d2a6393afceef752389d0006f2e47681)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agolinux-yocto: update machine configurations
Bruce Ashfield [Fri, 4 Mar 2011 21:47:12 +0000 (16:47 -0500)]
linux-yocto: update machine configurations

Fixes [YOCTO #733, YOCTO #766, YOCTO: #801]

Updating the configuration for the routerstation pro and
mpc8315e-rdb to 2.6.37 variants of the RTC, USB and VFAT
filesystem types.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agotask-poky-lsb: Add packges needed by LSB Test Suite
Xiaofeng Yan [Fri, 4 Mar 2011 09:38:13 +0000 (17:38 +0800)]
task-poky-lsb: Add packges needed by LSB Test Suite

These packages added into task-poky-lsb.bb are absent in lsb-image during lsb test

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agocreat-lsb-image: Add some functions for creating a appropriate image to make lsb...
Xiaofeng Yan [Fri, 4 Mar 2011 10:42:17 +0000 (18:42 +0800)]
creat-lsb-image: Add some functions for creating a appropriate image to make lsb test

Add all pakcages from LSB Test Suite from linux foundation web.

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agodocumentation/kernel-manual: Kernel manual Style changes
Scott Rifenbark [Thu, 3 Mar 2011 15:19:39 +0000 (09:19 -0600)]
documentation/kernel-manual:  Kernel manual Style changes

Modifications to the figure image (figures/kernel-title.png),
the heading styles (style.css), and the numbering system with
TOC display (yocto-project-kernel-manual-customization.xsl).

I updated the title image to display the manual title using
color #00557D, which coordinates with the Yocto Project website
color scheme.  I also updated the style sheet to use this same
color for the section headings.  This helps to set them off better
from the text.  Finally, I flipped the switch back on for this
manual to create chapter-specific table of contents sections
prior to each chapter and to include a all-inclusive TOC at the
beginning of the book.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/kernel-manual/figures/kernel-title.png: Updated title graphic
Scott Rifenbark [Tue, 1 Mar 2011 20:48:04 +0000 (14:48 -0600)]
documentation/kernel-manual/figures/kernel-title.png: Updated title graphic

I changed the font to Arial Narrow and inserted a better logo.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agox11vnc: fix the endian issue in mips for bug 782
Yu Ke [Fri, 4 Mar 2011 13:11:37 +0000 (21:11 +0800)]
x11vnc: fix the endian issue in mips for bug 782

x11vnc use LIBVNCSERVER_WORDS_BIGENDIAN to handle the endian, however
it is not set correctly when cross-compile for mips, thus x11vnc mips
does not work correctly.

meanwhile, x11vnc has the autconf macro AC_C_BIGENDIAN which can
handle the endian correctly. so this patch replace the
LIBVNCSERVER_WORDS_BIGENDIAN with WORDS_BIGENDIAN (generated by
AC_C_BIGENDIAN) to fix this issue.

this patch fix the bug [YOCTO #782]

this appraoch is suggested by Khem Raj

CC: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agoqemu-script: Remove mmap_min_addr check
Zhai Edwin [Fri, 4 Mar 2011 11:32:18 +0000 (19:32 +0800)]
qemu-script: Remove mmap_min_addr check

qemu 0.13.0 can handle mmap_min_addr well, and patch to remove checks in
sanity.bbclass has already in oe-core mailinglist by Raj. This patch does
the same thing for qemu-script.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agotask-poky-lsb: add python-misc
Jingdong Lu [Fri, 4 Mar 2011 02:00:40 +0000 (10:00 +0800)]
task-poky-lsb: add python-misc

python-misc also needed by python-runtime test of LSB.

Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
14 years agohello-mod: add a module for testing module.bbclass
Darren Hart [Tue, 1 Mar 2011 22:18:32 +0000 (14:18 -0800)]
hello-mod: add a module for testing module.bbclass

The following patch creates a hello-mod recipe for building a trivial
out-of-tree kernel module, hello-mod.ko. This demonstrates the hostprogs
build modifications added to module.bbclass. When loaded and unloaded,
the module prints a simple string to the console to demonstrate it was
compiled correctly.

Tested on qemux86 poky-image-sato and beagleboard poky-image-minimal
(after adding hello-mod to the images).

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Gary Thomas <gary@mlbassoc.com>
14 years agomodule: build hostprogs for each module
Darren Hart [Tue, 1 Mar 2011 22:17:55 +0000 (14:17 -0800)]
module: build hostprogs for each module

This fixes [BUGID #241]

The kernel hostprogs are built for the host architecture. They should not be
deployed to the target, and they should not be included in an sstate package
which might get reused on a host of a different architecture.

As we don't build many out-of-tree modules, this patch takes the approach of
building the hostprogs as part of the module compile process with a
do_compile_prepend() routine in module.bbclass.

We don't have to clean the hostprogs as modules depend on the kernel being
populate_staging, so its done with the staging directory by the time we run.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Gary Thomas <gary@mlbassoc.com>
14 years agoLSB_Setup.sh:Install LSB Test Suite and set lsb test environment
Xiaofeng Yan [Fri, 4 Mar 2011 11:04:16 +0000 (19:04 +0800)]
LSB_Setup.sh:Install LSB Test Suite and set lsb test environment

Perfect some funtions for lsb test in yocto 1.0

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
14 years agodistrodata.bbclass: Get git repo tag information
Mei Lei [Fri, 4 Mar 2011 09:17:05 +0000 (17:17 +0800)]
distrodata.bbclass: Get git repo tag information

For those recipes which use git repo and have tag information, we can use tag to trace the version change. For other no tag recipes, we still use their
commit checksum to trace their version change.

Signed-off-by: Mei Lei <lei.mei@intel.com>
14 years agodistro tracking: Updates to Tracking infor for clutter and other changes
Saul Wold [Fri, 4 Mar 2011 17:14:48 +0000 (09:14 -0800)]
distro tracking: Updates to Tracking infor for clutter and other changes

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoFixup merge error and apply cleanups
Richard Purdie [Thu, 3 Mar 2011 23:45:25 +0000 (23:45 +0000)]
Fixup merge error and apply cleanups

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agorpm: Fix linking error encountered in rpm-native
Khem Raj [Thu, 3 Mar 2011 16:09:06 +0000 (08:09 -0800)]
rpm: Fix linking error encountered in rpm-native

* This patch passes the correct LDFLAGS to account for
  additional dependencies of librpmio on libbeecrypt and libsyck
  and hence fixes the build error.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoqa.py: Fix a typo when evaluating bitsize
Mark Hatle [Thu, 3 Mar 2011 16:37:05 +0000 (10:37 -0600)]
qa.py: Fix a typo when evaluating bitsize

This should be setting a variable, not performing a comparison.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agopoky-env-internal: Add FETCH2 enablement
Mark Hatle [Thu, 3 Mar 2011 16:36:01 +0000 (10:36 -0600)]
poky-env-internal: Add FETCH2 enablement

We need to enable the new fetch2 implementation out of bitbake.  Otherwise
we get various errors about SRCPV issues.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agotask-poky-lsb: add chkconfig
Saul Wold [Thu, 3 Mar 2011 19:04:37 +0000 (11:04 -0800)]
task-poky-lsb: add chkconfig

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agorecipe: add slang from OE
Kang Kai [Thu, 3 Mar 2011 04:34:36 +0000 (12:34 +0800)]
recipe: add slang from OE

slang is the shared library for the S-Lang extension language,
and required by newt because of LSB command check

Signed-off-by: Kang Kai <kai.kang@windriver.com>
14 years agorecipe: add newt from OE
Kang Kai [Thu, 3 Mar 2011 04:32:01 +0000 (12:32 +0800)]
recipe: add newt from OE

newt is a library for text mode user interfaces, and required by
chkconfig because of LSB command test.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
14 years agorecipe: add chkconfig for LSB command test
Kang Kai [Thu, 3 Mar 2011 02:24:37 +0000 (10:24 +0800)]
recipe: add chkconfig for LSB command test

chkconfig is a system tool for maintaining the /etc/rc*.d hierarchy,
and LSB command test will check 2 links point to command  chkconfig

Signed-off-by: Kang Kai <kai.kang@windriver.com>
14 years agoADT: Bug fix for Suse Linux
Liping Ke [Wed, 2 Mar 2011 19:18:38 +0000 (03:18 +0800)]
ADT: Bug fix for Suse Linux

On Suse linux11.2, we found when using sudo, we must add -E opts
to preserver some network proxy environment settings. Otherwise,
opkg-cl can't access files behind firewall. [bug #785]
Also, we need to add absolute path when sourcing files.
Fix for [bug #786]

Signed-off-by: Liping Ke <liping.ke@intel.com>
14 years agoAdd libtool-nativesdk for ADT
Liping Ke [Thu, 3 Mar 2011 02:10:49 +0000 (10:10 +0800)]
Add libtool-nativesdk for ADT

We need to add libtool native sdk support in ADT installer.
This patch fix #bug  791

Signed-off-by: Liping Ke <liping.ke@intel.com>
14 years agogstreamer: install the sound card driver of es1370
Zhai Edwin [Thu, 3 Mar 2011 11:54:09 +0000 (19:54 +0800)]
gstreamer: install the sound card driver of es1370

When append "audio" to poky-qemu, emulated sound card like es1370 is
exported to guest. This patch install the kernel driver in the
poky-image-qemux86/x86_64 to use them.

[BUGID #751]

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agosato-icon-theme: Explictly use "Sato" as gtk icon theme
Zhai Edwin [Thu, 3 Mar 2011 11:54:09 +0000 (19:54 +0800)]
sato-icon-theme: Explictly use "Sato" as gtk icon theme

There is a tricky race condition that "Sato" icons got missing on
matchbox-desktop as low priority "hicolor" theme was chosen. Explictly
settting "Sato" in gtk config file to avoid this.

[BUGID #456] got fixed.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agox11vnc: Fix the start failure
Zhai Edwin [Thu, 3 Mar 2011 11:54:09 +0000 (19:54 +0800)]
x11vnc: Fix the start failure

Default parameter "-gui" and "-rfbport" make x11vnc failed to start if no
"wish" installed.

[BUGID #781] got fixed.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agolibpcre: fix the name collision with libc
Qing He [Thu, 3 Mar 2011 11:20:25 +0000 (19:20 +0800)]
libpcre: fix the name collision with libc

fixes [YOCTO #721] [YOCTO #722]

[sgw: added patch comment, bump PR, and changed BUGID -> YOCTO]
Signed-off-by: Qing He <qing.he@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agosqlite3: Update version 3.7.3 -> 3.7.5
Khem Raj [Thu, 3 Mar 2011 06:52:42 +0000 (22:52 -0800)]
sqlite3: Update version 3.7.3 -> 3.7.5

* Imported from OE commit a2c3af2d608b1b713018d688b00e03873a538993
* native version of 3.7.3 does not build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoinsane.bbclass: Fix ELF bitsize comparison
Mark Hatle [Tue, 1 Mar 2011 18:42:28 +0000 (12:42 -0600)]
insane.bbclass: Fix ELF bitsize comparison

Fix the way the ELF size is compared to ensure that incorrectly
sized ELF binaries are captured during the file scan.

lib/oe/qa.py is changed to accept a bitsize as a parameter.  Instead
of previously defining true/false, it now takes "0" undefined, "32"
32-bit, and "64" 64-bit as the size argument.  This allows us to
preserve existing behavior of only loading one ELF type, while
allowing the function to be able to discover the size on it's own.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agokernel: remove explicit bash call in do_menuconfig
Bruce Ashfield [Tue, 1 Mar 2011 21:11:12 +0000 (16:11 -0500)]
kernel: remove explicit bash call in do_menuconfig

Fixes [BUGID #598]

The explicit addition of "bash" before "make menuconfig"
is clearing variables that are required for pseudo. The
end result is that menuconfig often fails silently with:

ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: ignored.

Removing bash from the menuconfig SHELLCMDS variable fixes
the psudo problem.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agoscreenshot: change the order of LDADD arguments
Scott Garman [Tue, 1 Mar 2011 19:12:58 +0000 (11:12 -0800)]
screenshot: change the order of LDADD arguments

Rather than setting linker flags explicitly in LDADD as the
previous patch did, simply put libshot.la before GTK_LIBS.

This fixes [BUGID #664]

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agogcc: take out libiberty files from gcc packages
Nitin A Kamble [Tue, 1 Mar 2011 14:44:12 +0000 (06:44 -0800)]
gcc: take out libiberty files from gcc packages

this Fixes [BUGID #754]

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agozypper: add util-linux-uuidgen to RRECOMMENDS
Paul Eggleton [Tue, 1 Mar 2011 18:34:53 +0000 (18:34 +0000)]
zypper: add util-linux-uuidgen to RRECOMMENDS

zypper complains if uuidgen is not available, so add it to RRECOMMENDS
for the zypper package.

Addresses [BUGID #749]

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
14 years agoutil-linux: split out uuidgen to a separate package
Paul Eggleton [Tue, 1 Mar 2011 18:33:05 +0000 (18:33 +0000)]
util-linux: split out uuidgen to a separate package

uuidgen is needed by zypper and we don't want to drag in everything else
in util-linux, so split it out to a separate package.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
14 years agodocumentation/bsp-guide/bsp-guide.xml: Updated revision history on title page.
Scott Rifenbark [Tue, 1 Mar 2011 14:59:13 +0000 (08:59 -0600)]
documentation/bsp-guide/bsp-guide.xml: Updated revision history on title page.

I updated the revision history on the title page to reflect the upcoming
Release 1.0.  I will likely have to change this as we get nearer the
release so I can be sure of the number and also add meaning release
remarks to the entry.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/bsp-guide/bsp-guide.xml: Updated RP email address
Scott Rifenbark [Tue, 1 Mar 2011 14:44:36 +0000 (08:44 -0600)]
documentation/bsp-guide/bsp-guide.xml: Updated RP email address

Changed the email address for Richard Purdie in the author title
page to richard.purdie@linuxfoundation.org.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years ago[BUGID# 695] - documentation/bsp-guide/figures/bsp-title.png: Updated title graphic
Scott Rifenbark [Tue, 1 Mar 2011 14:34:24 +0000 (08:34 -0600)]
[BUGID# 695] - documentation/bsp-guide/figures/bsp-title.png: Updated title graphic

[BUGID# 695] - I updated the title to use a less bold and intrusive
font and one that is still common for systems.  Also removed the
"s" in the title so it now reads "Board Support Package (BSP)
Developer's Guide."  I also put a better looking Yocto logo in.

Once this commit is merged bug #695 can be marked resolved.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years ago[BUGID# 553] - documentation/bsp-guide/bsp.xml: Re-write of click-through
Scott Rifenbark [Tue, 1 Mar 2011 13:44:04 +0000 (07:44 -0600)]
[BUGID# 553] - documentation/bsp-guide/bsp.xml: Re-write of click-through

[BUGID# 553] - In the 'BSP Click-Through Licensing Procedure'
section, which is shared between the BSP Guide and the Poky
Reference Manual, there were three links to 'pokylinux.org'
sites.  These links were intended to help a user get a license
for encumbered BSPs.  However, the links never did work.  The
section also had some wording that described a propsed naming
convention for BSP tarballs that were encumbered and non-encumbered.
The naming convention is a good idea but has not been followed
so far.

I removed the links and replaced them with general instructions
on how to get through the licensing situation.  Also removed the
hard-line naming rules and replaces with a more general explanation
of how we are naming BSP (e.g. Crown Bay).

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years ago[BUGID# 553] - documentation/poky-ref-manual/resources.xml: Fixed pokylinux URL
Scott Rifenbark [Fri, 25 Feb 2011 23:01:33 +0000 (17:01 -0600)]
[BUGID# 553] - documentation/poky-ref-manual/resources.xml:  Fixed pokylinux URL

[BUGID# 553] - In appendix I in the Contributions section (I.6) there is
mention of a Poky contributions tree and the URL
git://git.pokylinux.org/poky-contrib.git is given.  I changed this
URL to git://git.yoctoproject.org/poky-contrib.git.

This is a partial fix for but 553.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/poky-ref-manual/resources.xml: Text addtions in Links section in Appendix I
Scott Rifenbark [Fri, 25 Feb 2011 22:52:58 +0000 (16:52 -0600)]
documentation/poky-ref-manual/resources.xml: Text addtions in Links section in Appendix I

I added text after the bulleted items "The Poky website" and "BitBake Uer Manual."
These were blank and it was not consistent with the rest of the list.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years ago[BUGID# 553] - documentation/poky-ref-manual/resources.xml: Fixed pokylinux URL
Scott Rifenbark [Fri, 25 Feb 2011 22:37:57 +0000 (16:37 -0600)]
[BUGID# 553] - documentation/poky-ref-manual/resources.xml: Fixed pokylinux URL

[BUGID# 553] - In the "Bugtracker" section (appendix I - I.2) there is
a reference to the bugtracker.  The text shows just the string
"bug tracker" but the hidden URL was http://bugzilla.pokylinux.org.
I updated the text to say to report problems by using the Bugzilla
application and then gave the URL http://bugzilla.yoctoproject.org
as the reference.

This is a partial fix for bug 553.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years ago[BUGID# 553] - documentation/poky-ref-manual/faq.xml: Fixed pokylinux.org reference
Scott Rifenbark [Fri, 25 Feb 2011 22:16:32 +0000 (16:16 -0600)]
[BUGID# 553] - documentation/poky-ref-manual/faq.xml: Fixed pokylinux.org reference

[BUGID# 553] - In the FAQ appendix item H.12 there was a reference
to http://pokylinux.org/sources/* in the question portion.  The
reference should really be http://autobuilder.yoctoproject.org/sources/*.
I made the change.

This is a partial fix for bug 553.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years ago[BUGID# 553] - documentation/poky-ref-manual/development.xml: Fixed pokylinux.org URL
Scott Rifenbark [Fri, 25 Feb 2011 22:08:07 +0000 (16:08 -0600)]
[BUGID# 553] - documentation/poky-ref-manual/development.xml: Fixed pokylinux.org URL

[BUGID# 553] - In "The Anjuta Plug-in" section (5.1.2.2) there was
an URL to the source for the Anjuta Plug-in.  The URL had the
pokylinux.org string in it and pointed to the old area.  I changed
the URL to http://git.yoctoproject.org and directed the user to
look under IDE Plugins.

This is a partial fix to bug 553.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years ago[BUGID# 553] - documentation/poky-ref-manual/development.xml: Fixed pokylinux URLs
Scott Rifenbark [Fri, 25 Feb 2011 21:54:58 +0000 (15:54 -0600)]
[BUGID# 553] - documentation/poky-ref-manual/development.xml: Fixed pokylinux URLs

[BUGID# 553] - In "The Eclipse Plug-in" section (5.1.2.1) there were two
URLs referencing the place to get the Eclipse plug-in.  One specified
the URL to put into the HTTP:// field in the Eclipse IDE when installing
the software.  This URL was incorrect.  I replaced it with the correct
URL, which was http://www.yoctoproject.org/downloads/eclipse-plugin/.

The second URL that was fixed was referencing the source code for the
plug-in.  It had the old pokylinux.org string.  I changed it to
http://git.yoctoproject.org.

These fixes partially address bug 553.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years ago[BUGID# 553] - documentation/poky-ref-manual/introduction.xml: fixed pokylinux.org URL
Scott Rifenbark [Fri, 25 Feb 2011 20:52:04 +0000 (14:52 -0600)]
[BUGID# 553] - documentation/poky-ref-manual/introduction.xml: fixed pokylinux.org URL

[BUGID# 553] - In the Development Checkouts section (1.5.3) there was a
reference to our git repository located at git://git.pokylinux.org/poky.git.
I changed this to git://git.yoctoproject.org/poky.git.  This is a
partial fix to Bug 553.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years ago[BUGID# 553] - documentation/poky-ref-manual/introduction.xml: Fixed pokylinux.org URL
Scott Rifenbark [Fri, 25 Feb 2011 20:42:56 +0000 (14:42 -0600)]
[BUGID# 553] - documentation/poky-ref-manual/introduction.xml: Fixed pokylinux.org URL

[BUGID# 553] - In the Releases section (1.5.1) there was an URL to
http://pokylinux.org/releases.  This URL was old and I replaced it
with http://yoctoproject.org/downloads/poky.  This partially fixes
bug 553.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/poky-ref-manual/introduction.xml: [BUGID# 553] - Fixed pokylinux URL
Scott Rifenbark [Fri, 25 Feb 2011 19:54:07 +0000 (13:54 -0600)]
documentation/poky-ref-manual/introduction.xml: [BUGID# 553] - Fixed pokylinux URL

    [BUGID# 553] - In the Development Checkouts section (1.5.3)
    there is a reference to
    http://git.pokylinux.org/.  This URL resolves to an older looking
    source area.  I determined that the URL
    http://git.yoctoproject.org/ resolves to the newer Yocto source
    web interface so I changed the URL to that.
    This is a partial fix
    to Bug 553.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/poky-ref-manual/introduction.xml: [BUGID# 553] - Fixed pokylinux.org...
Scott Rifenbark [Fri, 25 Feb 2011 19:37:17 +0000 (13:37 -0600)]
documentation/poky-ref-manual/introduction.xml: [BUGID# 553] - Fixed pokylinux.org link in Nightly Build section

[BUGID# 553] - In the nightly build section (1.5.2) there is a reference to
http://autobuilder.pokylinux.org/.  This URL resolves to an autobuilder
page that has a bunch of pokylinux links.  I determined that the URL
http://autobuilder.yoctoproject.org/ also resolves to the autobuilder
page so I updated the URL to use the YP link.  This is a partial fix
to Bug 553.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/poky-ref-manual/ref-images.xml: Update to Images Appendix
Scott Rifenbark [Fri, 25 Feb 2011 18:47:12 +0000 (12:47 -0600)]
documentation/poky-ref-manual/ref-images.xml:  Update to Images Appendix

Added command 'ls meta*/recipes*/images/*.bb' as the command to see the
supported images.  Also added poky-image-lsb as an image and noted
that poky-image-sdk has becom poky-image-sato-dev.

These fixes are in response to alpha testing for release 1.0 Yocto.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agou-boot: remove do_install from u-boot.inc
Bruce Ashfield [Tue, 1 Mar 2011 17:32:55 +0000 (12:32 -0500)]
u-boot: remove do_install from u-boot.inc

Fixes [BUGID #777]

The do_install rule in u-boot.inc was installing a host
tool into the target ${bindir}, which is subsequently
stripped with target strip during packaging, and the
obvious error ensues.

The native u-boot recipe has its own install rule, and
the machine specific u-boot doesn't require mkimage or
anything else in the do_install function. So we remove
it completely until it is needed again.

[sgw: PR bump]
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoADT: Fix several bugs for adt installer
Liping Ke [Tue, 1 Mar 2011 17:24:22 +0000 (01:24 +0800)]
ADT: Fix several bugs for adt installer

Two bugs are found
1) image download file path is not correct. So even if file is downloaded
   already, it can't be detected.
2) several images now are renamed, such as sato-dev, sato-sdk, we need to change the name
   accordingly.

Signed-off-by: Liping Ke <liping.ke@intel.com>
14 years agoshadow: upgrade to 4.1.4.3 to fix security vulnerability
Yu Ke [Mon, 28 Feb 2011 11:34:45 +0000 (19:34 +0800)]
shadow: upgrade to 4.1.4.3 to fix security vulnerability

For CVE-2011-0721: http://lists.debian.org/debian-security-announce/2011/msg00030.html

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agoncurses: Change ncurses patch SRC_URI location
Dongxiao Xu [Mon, 28 Feb 2011 08:46:38 +0000 (16:46 +0800)]
ncurses: Change ncurses patch SRC_URI location

One of ncurses's patch has been removed from its original repo
location, use autobuilder cache location instead.

Comment out the original patch address instead of removing it
since we may still need that address when upgrade the recipe later.

This fixes [BUGID #709].

[sgw: fixed having comment embedded in SRC_URI]
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoattr: Change SRC_URI to a correct location
Dongxiao Xu [Mon, 28 Feb 2011 08:46:18 +0000 (16:46 +0800)]
attr: Change SRC_URI to a correct location

attr has changed its download link, thus change accordingly.

This fixes [BUGID #710]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agoqemu-0.13.0: Add patch to avoid mmap_min_addr
Khem Raj [Wed, 2 Mar 2011 08:37:23 +0000 (00:37 -0800)]
qemu-0.13.0: Add patch to avoid mmap_min_addr

* This patch is taken from OE commit 40e293342ca76921904a43b03b635d9219432edf

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agolinux-libc-headers_2.6.37.2.bb: Add checksums
Khem Raj [Wed, 2 Mar 2011 08:37:21 +0000 (00:37 -0800)]
linux-libc-headers_2.6.37.2.bb: Add checksums

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agolib/oe/path.py: Use bb.utils.mkdirhier instead of bb.mkdirhier
Khem Raj [Wed, 2 Mar 2011 08:37:20 +0000 (00:37 -0800)]
lib/oe/path.py: Use bb.utils.mkdirhier instead of bb.mkdirhier

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake: Remove the remaining files that came in with merge from yocto
Khem Raj [Tue, 1 Mar 2011 21:38:54 +0000 (13:38 -0800)]
bitbake: Remove the remaining files that came in with merge from yocto

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agobase.bbclass: add support for SOC_FAMILY in COMPATIBLE_MACHINES
Koen Kooi [Tue, 1 Mar 2011 03:21:07 +0000 (03:21 +0000)]
base.bbclass: add support for SOC_FAMILY in COMPATIBLE_MACHINES

* Add support for using SOC_FAMILY in the COMPATIBLE_MACHINES
  setting for a recipe.
* This will allow recipes to work for entire families of
  devices without having to maintain/update the compatible
  devices as new devices are added into a family

Based on 07076390358f211bd96779bec2d6eb5eaa0ad699 by Chase Maupin <chase.maupin@ti.com>

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agoremove non-qemu machines
Koen Kooi [Thu, 24 Feb 2011 16:01:05 +0000 (16:01 +0000)]
remove non-qemu machines

As per TSC decision OE-core will only have qemu machines. This leaves the conf/machine/include file intact

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agobase/utility-tasks.bbclass: Drop do_setscene and do_rebuild
Richard Purdie [Tue, 1 Mar 2011 00:06:58 +0000 (00:06 +0000)]
base/utility-tasks.bbclass: Drop do_setscene and do_rebuild

The do_setscene task only exists for rebuild support now as all its other
functionality has been superceeded. The rebuild task currently crashes due
to removal of the working directory and therefore isn't working for anyone.
It also interacts extremely badly with the newer sstate technology to the
point of being dangerous.

Summary, if we want rebuild support it needs a reimplementation so remove
this version and all its remnants and hacks.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agodistro_tracking_fields.inc: add transfig and linuxdoc-tools recipes
Scott Garman [Mon, 28 Feb 2011 21:47:14 +0000 (13:47 -0800)]
distro_tracking_fields.inc: add transfig and linuxdoc-tools recipes

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agodistro_tracking: update for newer packages added
Saul Wold [Mon, 28 Feb 2011 22:37:10 +0000 (14:37 -0800)]
distro_tracking: update for newer packages added

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agopopulate_sdk_rpm.bbclass: Add the necessary solvedb lock
Mark Hatle [Mon, 28 Feb 2011 19:40:37 +0000 (13:40 -0600)]
populate_sdk_rpm.bbclass: Add the necessary solvedb lock

[BUG #776]

When using the RPM solve databases, we have to lock our operations
to avoid removing it while it's in use.

The same lock is shared by the rootfs_rpm.bbclass

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agotask-poky-lsb: libqtopenqgl4 should be for qemux86 and atom-pc only
Saul Wold [Sat, 26 Feb 2011 18:50:15 +0000 (10:50 -0800)]
task-poky-lsb: libqtopenqgl4 should be for qemux86 and atom-pc only

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agolinux-yocto: add crownbay BSP infrastructure
Bruce Ashfield [Sat, 26 Feb 2011 03:26:14 +0000 (22:26 -0500)]
linux-yocto: add crownbay BSP infrastructure

Updating the meta SRCREV to grab this linux-yocto commit:

    meta: add crownbay BSP infrastructure

    Import the 2.6.34 crownbay infrastructure and update for the
    2.6.37 kernel. This also brings in the feature/drm-emgd that
    the crownbay requires.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agoFixing type: license.bbclass
Beth Flanagan [Sat, 26 Feb 2011 22:15:50 +0000 (14:15 -0800)]
Fixing type: license.bbclass

Munged a tab. Fixing

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
14 years agoFix to the libtool LICENSE field: libtool.inc
Beth Flanagan [Sat, 26 Feb 2011 22:07:18 +0000 (14:07 -0800)]
Fix to the libtool LICENSE field: libtool.inc

License parser should use & not ,

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
14 years agoFixing my bad license parsing: license.bbclass
Beth Flanagan [Sat, 26 Feb 2011 22:04:41 +0000 (14:04 -0800)]
Fixing my bad license parsing: license.bbclass

Fix to my bad license parsing. Also added the MIT generic license
files.

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
14 years agolibxml-parser-perl: remove FILES_${PN}
Jingdong Lu [Wed, 23 Feb 2011 08:24:15 +0000 (16:24 +0800)]
libxml-parser-perl: remove FILES_${PN}

Because of the error path in FILES_${PN} we got nothing in libxml-parser-perl package.
Romove "FILES_${PN}"

[sgw Bump PR]
Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agotask-poky-lsb: add necessary packages name
Jingdong Lu [Wed, 23 Feb 2011 08:29:44 +0000 (16:29 +0800)]
task-poky-lsb: add necessary packages name

In order to install and run LSB test cases we should add some necessary packages name
into task-poky-lsb for lsb image.

[sgw: modified the perl and python lists to use the core -modules, removed mesa-dri]
Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoprelink: Add missing macro.prelink file
Mark Hatle [Sat, 26 Feb 2011 00:23:43 +0000 (18:23 -0600)]
prelink: Add missing macro.prelink file

Add the missing macro.prelink file...

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years ago[BUG:650] Fix LICENSE parsing: license.bblcass
Beth Flanagan [Fri, 25 Feb 2011 23:41:09 +0000 (15:41 -0800)]
[BUG:650] Fix LICENSE parsing: license.bblcass

LICENSE parsing was missing some cases. Fixed

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
14 years agolinuxdoc-tools-native: disable doc builds requriing latex and dvips
Scott Garman [Fri, 25 Feb 2011 23:39:16 +0000 (15:39 -0800)]
linuxdoc-tools-native: disable doc builds requriing latex and dvips

This fixes the following errors during do_install on hosts which have
latex and/or dvips installed:

fmt_latex2e::postASP: LaTeX first run problem. Aborting ...

dvips: ! DVI file can't be opened.

Our goal is to have native versions of these tools eventually. Until
then, disable these parts of the documentation install process.

This fixes [BUGID #774].

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agofile: add wrapper to file-native
Saul Wold [Sat, 26 Feb 2011 00:18:50 +0000 (16:18 -0800)]
file: add wrapper to file-native

file-native needs a wrapper to pass the correct path to the magic.mgc file
This was found to be the case when sstate-cache is used because file hardcodes
the path to the magic.mgc file.

[BUGID #775]

Signed-off-by: Saul Wold <sgw@linux.intel.com>