summaryrefslogtreecommitdiff
path: root/meta
AgeCommit message (Collapse)AuthorFiles
2012-03-12cmake.bbclass: add ${base_libdir} to CMAKE_LIBRARY_PATHNitin A Kamble1
Some libraries like libcrypto.so are installed at base_libdir instead of libdir. So add the base_libdir to CMAKE_LIBRARY_PATH so that these libraries can be found correctly. This resolves an issues with libzypp, which was not finding the libcrypo library correctly in an x32 build. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-12xorg-xserver: Explictly disable dtrace, its not in DEPENDSRichard Purdie2
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-12mesa-dri-glsl-native: Avoid error when running configure a second timeRichard Purdie1
This avoids the error: ln: creating symbolic link `/media/data1/build1/poky/build/tmp/work/x86_64-linux/mesa-dri-glsl-native-7.11-r0/Mesa-7.11/src/glsl//../../configs/current': File exists Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-12libx11-trim/diet: Ensure libx11-locale doesn't trigger multiple provider issuesRichard Purdie2
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-11package.bbclass: Drop python depends from rpmdepsRichard Purdie2
This python depends is added by rpmdeps every time it finds a python script. This is not necessary since we handle this in otherways. It also breaks things like nativesdk since the dependency is not renamed. The easiest solution is just to ignore this dependency. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-09rpm 5.4.0: Add rpmdeps-oecore to replace rpmdeps for package.bbclassRichard Purdie2
This is a performance enhancement by adding a binary allowing batch processing of individual file dependencies. The second patch in this series uses the binary this patch creates. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08package_ipk.bbclass: Ensure Source is set to something else packaging can failRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08adt-installer: Corrected wrong environment file names.Lianhao Lu2
[YOCTO #2055] 1. Corrected the wrong environment file name for powerpc. 2. Removed unnecessary variables in adt_installer.conf. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08formfactor: use full path to fbsetPaul Eggleton2
When using rootless X, /usr/sbin is not in PATH and thus running "fbset" will fail; so specify /usr/sbin/fbset instead. Fixes [YOCTO #1986] Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08prservice: Added sanity check for prservice connection.Lianhao Lu3
Fixed bug [YOCTO #2052]. Added sanity check for variables of PRSERV_HOST and PRSERV_PORT, also for the connection availabity of prservice. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08bzip2: split into binary and library packagesAndreas Oberritter8
* Create libbz2 (and -dev, -staticdev), which can be installed without the bzip2 executables. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08bitbake.conf: use empty SRC_URI by defaultAndreas Oberritter1
* Otherwise, recipes that only append to SRC_URI instead of overwriting it will get the full path of the recipe written into the Source: field of the package. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08gtk+: Amend upstream status of configure-nm.patchJames Limbouris1
Signed-off-by: James Limbouris <james@digitalmatter.com.au> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08gdk-pixbuf: Pick up ${NM} from the environment.James Limbouris2
Signed-off-by: James Limbouris <james@digitalmatter.com.au> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08kernel.bbclass: Remove warnings for modutils and modprobe.dDarren Hart1
Fixes [Yocto #2036] The source and build directories are unused, remove them. The modutils and modprobe.d directories may be used if modules are built that are either autoloaded or have modprobe.d entries. This isn't known at install time, so check after the package split if these directories are empty and remove them if they are. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08external-csl-toolchain: override PKGV, not PKGV_${PN}Christopher Larson1
This is needed to ensure that the RDEPENDS_${PN}-dev, RDEPENDS_${PN}-staticdev, and RRECOMMENDS_${PN}-dbg are accurate with respect to the PKGV of the ${PN} package, and incidentally fixes an rpm packaging issue, as rpm dislikes the recipe PV as PKGV. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08xz: split out liblzma as seperate packagesKoen Kooi1
As usual, this creates problems for upgrade paths, but splitting out the lib is worth the short term hassle Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08polkit: Fix Upstream-Status tagSaul Wold2
Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08valgrind: Support compilation without X11Mike Crowe1
Only depend on X libraries if the distribution has X support. Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08mime.bbclass: Fix bracket error.Samuel Stirtzel1
This fixes the following error: ERROR: Error executing a python function in ...: AttributeError: 'str' object has no attribute 'append' ERROR: The stack trace of python calls that resulted in this exception/failure was: ERROR: File "populate_packages", line 193, in <module> ERROR: ERROR: File "populate_packages", line 189, in populate_packages ERROR: ERROR: The code that was being executed was: ERROR: 0189: rdepends.append("shared-mime-info-data") ERROR: 0190: d.setVar('RDEPENDS_' + pkg, " " + " ".join(rdepends)) ERROR: 0191: ERROR: 0192: ERROR: *** 0193:populate_packages(d) ERROR: 0194: ERROR: (file: 'populate_packages', lineno: 193, function: <module>) ERROR: 0185: postrm += d.getVar('mime_postrm', True) ERROR: 0186: d.setVar('pkg_postrm_%s' % pkg, postrm) ERROR: 0187: bb.note("adding shared-mime-info-data dependency to %s" % pkg) ERROR: 0188: rdepends = explode_deps(d.getVar('RDEPENDS_' + pkg, False) or d.getVar('RDEPENDS', False)) or "" ERROR: *** 0189: rdepends.append("shared-mime-info-data") ERROR: 0190: d.setVar('RDEPENDS_' + pkg, " " + " ".join(rdepends)) ERROR: 0191: ERROR: 0192: ERROR: 0193:populate_packages(d) Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08shadow-sysroot: Fix for multilibZhai Edwin1
Fix following error in multilib build: "ERROR: Task do_package_setscene depends upon nonexistant task poky/meta/recipes-extended/shadow/shadow-sysroot_4.1.4.3.bb:do_populate_sysroot_setscene" >From richard.purdie@linuxfoundation.org Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08multilib: extend all recipes in multilib.confDongxiao Xu1
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08linux-yocto/rt: udpate SRCREVs to 3.2.9-rt16Bruce Ashfield2
Bumping the -rt kernel to pickup the incremental update to -rt16. No major changes from -rt15, except for a bug fix that we want to pick up. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08linux-yocto/meta: fix incorrect config referencesBruce Ashfield2
Updating the meta SRCREV to pickup the following fixes: a9ffedb meta/fri2/sys940x: fix incorrect cfg includes 3d1a678 meta/sys940x: fix incorrect emgd branch merge During the merge of the 3.0 BSPs forward to 3.2, a few moved config fragments were missed. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08psplash: Add mising commands module import.Peter Tworek1
Python commands module is used in the recipe, but never imported. This leads to build errors like: NameError: global name 'commands' is not defined ERROR: The stack trace of python calls that resulted in this exception/failure was: ERROR: File "do_compile", line 24, in <module> ERROR: ERROR: File "do_compile", line 11, in do_compile ERROR: ERROR: The code that was being executed was: ERROR: 0020: bb.build.exec_func("oe_runmake", d) ERROR: 0021: shutil.copyfile("psplash", outputfile) ERROR: 0022: ERROR: 0023: ERROR: *** 0024:do_compile(d) ERROR: 0025: ERROR: (file: 'do_compile', lineno: 24, function: <module>) ERROR: 0007: localfiles = d.getVar('SPLASH_LOCALPATHS', True).split() ERROR: 0008: outputfiles = d.getVar('SPLASH_INSTALL', True).split() ERROR: 0009: for localfile, outputfile in zip(localfiles, outputfiles): ERROR: 0010: if localfile.endswith(".png"): ERROR: *** 0011: outp = commands.getstatusoutput('./make-image-header.sh %s POKY' % localfile) ERROR: 0012: print(outp[1]) ERROR: 0013: fbase = os.path.splitext(os.path.basename(localfile))[0] ERROR: 0014: shutil.copyfile("%s-img.h" % fbase, destfile) ERROR: 0015: else: Signed-off-by: Peter Tworek <tworaz666@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08gcc: Upgrade to 4.6.3 releaseKhem Raj6
core-image-sato/core-image-minimal builds and boots on all qemu machines Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08logrotate 3.7.9: Allow rotate log across filesystemsRobert Yang2
The logrotate can't save the log across the different filesystems since it used the "rename(const char *oldpath, const char *newpath)" to save the file, fix it to act as the "mv" command(first rename, if failed, read and write) to allow save the log across the different filesystems. * config.c: Remove the check for different filesystems * logrotate.c: Act as the "mv" command when rotate log * logrotate.8: Update the mannual * logrotate.8: Fix a bug in the mannual(\f should be \fR) [YOCTO #718] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08linux-yocto: v3.2.9, v3.0.23 + fixes and updatesBruce Ashfield5
This is an update of the linux-yocto 3.0 and 3.2 SRCREVs to bring in the following updates: - v3.0.23 stable update - v3.2.9 stable update - 3.0/3.2: fri2 updates (pch + configuration changes) from Darren Hart - 3.0: pvr merge from Kishore Bodke - linux-yocto/rt: update to 3.0.23-rt38 - linux-yocto/rt: update to 3.2.9-rt15 These have been built for all qemu targets, and built for the appropriate hardware platforms. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08linux-yocto: use bareclone optionBruce Ashfield6
Instead of specifying nocheckout=1, it provides a better workflow if the linux-yocto recipes use the new bareclone=1 option to get a mirrored copy of the source repository. This allows all local and remote branches to be available during the kernel build and development cycle. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08image_types: add IMAGE_ROOTFS_ALIGNMENTKen Werner1
Introduce a new variable called IMAGE_ROOTFS_ALIGNMENT that allows to control the aligment of the size of the rootfs. Its default value is set to 1KiB so that the existing behaviour is not changed. In case the SD card emulation of a QEMU system emulator gets used you may set the alignment to 2MiB. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08libsdl: add DirectFB supportAndreas Oberritter1
* Use conditional dependencies for DirectFB, like it's already done for OpenGL and X11. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08bluez4: add dependency on libcheck to enable test modulesChase Maupin2
* The later versions of bluez such as 4.98 require libcheck in order to build the test packages as enabled by the --enable-test option passed in EXTRA_OECONF. * Failure to have the libcheck package available results in the configure script ignoring the --enable-test option and not building the test modules. * Adding libcheck, which is greater than the minimum required version of the check library of 0.9.6 allows building the test modules. * Build tested for am335x-evm MACHINE type and run time tested by back porting this fix to the oe-classic and arago setup and booting on am335x-evm. Signed-off-by: Chase Maupin <Chase.Maupin@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08udev-164: don't hardcode path to pidofAndreas Oberritter2
* pidof lives in /bin, search it in $PATH. * Assume pidof's presence. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-05base.bbclass: Fix PACKAGECONFIG handling when no flags are setRichard Purdie1
When the main PACKAGECONFIG variable was empty with no flags set, the options were not being added to explicitly disable features. This patch corrects that problem and ensures the disable fields are correctly parsed and added to variables. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-05polkit: Default to shadow, not none to fix build failuresRichard Purdie1
Without this builds would fail due to an invalid confiuration being selected by the configure script. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-05meta: Replace bb.data.expand(xxx, d) -> d.expand(xxx)Richard Purdie44
sed \ -e 's:bb.data.\(expand([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data.expand *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-05sstate: Remove unecessary bb.data.expand()Richard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-05meta: Convert getVar/getVarFlag(xxx, 1) -> (xxx, True)Richard Purdie83
Using "1" with getVar is bad coding style and "True" is preferred. This patch is a sed over the meta directory of the form: sed \ -e 's:\(\.getVar([^,()]*, \)1 *):\1True):g' \ -e 's:\(\.getVarFlag([^,()]*, [^,()]*, \)1 *):\1True):g' \ -i `grep -ril getVar *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-05meta/classes: Convert to use appendVar and appendVarFlagsRichard Purdie7
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-05libx11: reinstate PE=1 that got lost in the big meta-oe Xorg mergeKoen Kooi2
This prevents package managers 'upgrading' 1.4.4 to 1:1.4.3 Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-05gtk+ 2.24.8: bump PR to force rebuild and feed updateKoen Kooi1
This should errors similar to this one: /usr/libexec/gdm-simple-greeter: symbol lookup error: /usr/lib/libgdk-x11-2.0.so.0: undefined symbol: _XGetRequest Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-05polkit 0.104: add 2 backports from upstream to fix crashes during authKoen Kooi3
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-05polkit 0.104: convert pam code to PACKAGECONFIG and adhere to OE recipe ↵Koen Kooi1
styleguide Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-04soc-family.inc: to be included in machine.conf to add SOC_FAMILY to ↵Denys Dmytriyenko1
MACHINEOVERRIDE Add a soc-family.inc file that can be included in a machine.conf to enable the use of SOC_FAMILY in MACHINEOVERRIDE, which could be useful to group multiple machines with the same common base. Some examples can be seen in meta-ti BSP layer. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-04libx11-trim: Add error information from LSB Test Suite to ↵Xiaofeng Yan1
makekeys_crosscompile.patch Append error information from LSB Test Suite to this patch for an illustrative purpose \ why this patches should be needed. Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-04libx11-1.4.4: Add patch "makekeys_crosscompile.patch"Xiaofeng Yan1
Add patch "makekeys_crosscompile.patch" to libx11-1.4.4 for fixing bug 1970. [YOCTO #1970] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-04libx11-1.4.4: Add patch makekeys_crosscompile.patchXiaofeng Yan1
LSB 4.1 complain a host contamination error from libx11 because of absent patch "makekeys_crosscompile.patch" from libx11-trim-1.4.4. The error from LSB Test Suite is as follow: VSW5TESTSUITE PURPOSE 7 Assertion XStringToKeysym-7.(A) When the string argument is the name of a KeySym in the table with the prefix XK_ removed, then a call to XStringToKeysym returns that KeySym. METH: For each KeySym name in table with code G: METH: Call XStringToKeysym to obtain the KeySym defined for that string. METH: Verify that XStringToKeysym did not return NoSymbol. METH: Verify that the returned string is correct. CHECK: XStringToKeysym-7 1, line 130 CHECK: XStringToKeysym-7 2, line 140 CHECK: XStringToKeysym-7 3, line 150 CHECK: XStringToKeysym-7 4, line 160 CHECK: XStringToKeysym-7 5, line 170 CHECK: XStringToKeysym-7 6, line 180 CHECK: XStringToKeysym-7 7, line 190 CHECK: XStringToKeysym-7 8, line 200 CHECK: XStringToKeysym-7 9, line 210 CHECK: XStringToKeysym-7 10, line 220 CHECK: XStringToKeysym-7 11, line 230 CHECK: XStringToKeysym-7 12, line 240 CHECK: XStringToKeysym-7 13, line 250 CHECK: XStringToKeysym-7 14, line 260 CHECK: XStringToKeysym-7 15, line 270 CHECK: XStringToKeysym-7 16, line 280 CHECK: XStringToKeysym-7 17, line 290 CHECK: XStringToKeysym-7 18, line 300 CHECK: XStringToKeysym-7 19, line 310 CHECK: XStringToKeysym-7 20, line 320 [YOCTO #1970] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-03gcc-cross.inc: Fix cross testing scripts to work with dashKhem Raj1
dash does not like >& so be explicit and say 2>&1 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-03eglibc-testing: Fix testing script to work well with dashKhem Raj1
Dash did not like >& so we do 2 >& 1 > /dev/null Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-02wpa-supplicant: fix breakage during rebuildSteve Sakoman2
Install phase currently edits files in $S with sed. This causes breakage if install is run a second time (due to sstate hash rebuild for example) The result is hidden build breakage, in particular /usr/share/dbus-1/system-services/fi.w1.wpa_supplicant1.service now contains: Exec=/usr/usr/sbin/wpa_supplicant -u rather than: Exec=/usr/sbin/wpa_supplicant -u This patch does the sed edit after the files are copied to $D, which should be safe. Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>