summaryrefslogtreecommitdiff
path: root/meta
AgeCommit message (Collapse)AuthorFiles
2012-05-25utils.bbclass: remove the unused oe_systemRobert Yang1
The following functions in meta/classes/utils.bbclass were not used by anyone, and they didn't work when I tried to use them: def oe_popen_env(d): def oe_run(d, cmd, **kwargs): def oe_popen(d, cmd, **kwargs): def oe_system(d, cmd, **kwargs): There error was: AttributeError: type object 'str' has no attribute 'getVar' We have bitbake/lib/bb/process.py to instead, so remove them. [YOCTO #2489] Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2012-05-25opkg-nogpg: add file pathPaul Eggleton1
There was no explicit path in FILESPATH for this recipe to allow it to find files referred to in SRC_URI (files shared with the standard opkg recipe). This problem may have been masked by the fetcher behaviour of looking for files last in DL_DIR, thus if opkg has been fetched beforehand there would have been no error. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-05-25sudo: fixed wrong `chmod` pathMihai Lindner1
Placed $D between braces ${D} to be correctly expanded to the workdir path, instead of a path relative to host rootfs. Currently, bitbake sudo fails on host systems where sudo is not installed. Signed-off-by: Mihai Lindner <mihaix.lindner@linux.intel.com>
2012-05-25bitbake.conf: add EXTERNAL_TOOLCHAIN to BB_HASHBASE_WHITELISTChristopher Larson1
Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-25bitbake.conf: Improve wget timeoutsRichard Purdie1
The wget default is a 900 second timeout and 20 retries. This is way too long for most of our usecases so this patch changes it to a 30 second timeout and reduces retries from 5 to 2. We have good mirror infrastructure, this will let us fall back to it easier. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-24qemu: disable vnc-jpeg compressionSaul Wold2
This is disabled by default to ensure a deterministic build, qemu configure would sometimes detect the libjpeg and then enable this. Since mostly qemu is used locally disable by default. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-24qemu.inc: Remove mesa-xlib as PREFERRED_PROVIDERSaul Wold1
The xserver-xorg uses and depends on mesa-dri, so we should use the default PREFERRED_PROVIDER of libgl as mesa-dri. This resolves the following: ERROR: Multiple .bb files are due to be built which each provide virtual/libgl (/intel/poky/distro/meta/recipes-graphics/mesa/mesa-dri_7.11.bb /intel/poky/distro/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb). This usually means one provides something the other doesn't and should. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-24xserver-xf86-config: Add xorg.conf for arm,mips,ppc,sh qemu machinesKhem Raj6
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-24qemumachines: Enable xserver-xorg as default xserverKhem Raj3
For qemux86 and qemux86-64 include qemu.inc after defining XSERVER XSERVER variable is also weakly defined in task-core-x11.bb which means we can not use ??= otherwise when building any qemu image that uses task-core-x11.bb will get the wrong definition So we define the XSERVER common set for qemu in qemu.inc and as we know x86 and x86-64 qemu overrides the default we include qemu.inc after that definition which means that qemux86 and qemux86-64 get their own definitions and other qemus get the definitions from qemu.inc. other non-qemu machine will get their defintion from task which points to kdrive as of now. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-24Update to distro_tracking_fields.incLaurentiu Palcu1
The fields for the following packages were updated: libdrm xf86-video-vmware xf86-input-mouse xf86-video-vesa xf86-video-intel xf86-input-synaptics mdadm xextproto xcmiscproto scrnsaverproto recordproto xproto kbproto fontsproto libxt xtrans libpciaccess fontconfig xcb-proto Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-05-24xf86-input-synaptics: upgrade to 1.6.1Laurentiu Palcu1
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-05-24xf86-video-intel: upgrade to 2.19.0Laurentiu Palcu1
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-05-24xf86-video-vesa: upgrade to 2.3.1Laurentiu Palcu1
Also, licence checksum has changed because a new copyright line from Red Hat has been added. The rest of licence file, however, is unchanged. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-05-24xf86-input-mouse: upgrade to 1.7.2Laurentiu Palcu1
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-05-24xtrans: upgrade to 1.2.7Laurentiu Palcu1
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-05-24libxt: upgrade to 1.1.3Laurentiu Palcu1
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-05-24xcb-proto: upgrade to 1.7.1Laurentiu Palcu1
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-05-24recordproto: upgrade to 1.14.2Laurentiu Palcu1
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-05-24scrnsaverproto: upgrade to 1.2.2Laurentiu Palcu1
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-05-24xcmiscproto: upgrade to 1.2.2Laurentiu Palcu1
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-05-24xextproto: upgrade to 7.2.1Laurentiu Palcu1
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-05-24kbproto: upgrade to 1.0.6Laurentiu Palcu1
Also, shifted up one line the start and end lines for licence checksum computation. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-05-24xproto: upgrade to 7.0.23Laurentiu Palcu1
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-05-24libdrm: upgrade to 2.4.34Laurentiu Palcu1
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-05-24mdadm: upgrade to 3.2.5Laurentiu Palcu1
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-05-24valgrind: Enable valgrind for armv7Samuel Stirtzel1
Valgrind supports the armv7 architecture, this patch allows armv7 users to build and use Valgrind This patch was run-tested on a Gumstix Overo (armv7a cortex-a8) * The test consisted of running valgrinds memcheck (memory leakage detection), * and callgrind (profiling) on a Qt 4 application Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com>
2012-05-24gawk: update to 4.0.1Radu Moisan1
Signed-off-by: Radu Moisan <radu.moisan@intel.com>
2012-05-24jpeg: update to upstream version 8dMarko Lindqvist3
* fix_for_automake_1.11.2.patch removed as issue resolved upstream * Have README as license file instead of several source files that just refer to it Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
2012-05-24glib-2.0: upgrade to 2.32.3Martin Jansa2
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-05-24sanity.bbclass: check sanity at BuildStarted rather than ConfigParsedJoshua Lock1
This enables a user to use bitbake -e even when the sanity checks are failing. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2012-05-24sanity.bbclass: catch an extra exception in check_create_long_filenameJoshua Lock1
The call to bb.mkdirhier() in check_create_long_filename() can fail with an OSError, explicitly catch this and report something useful to the user. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2012-05-24sanity.bbclass: add extra information when SSTATE_CACHE unusableJoshua Lock1
If the user does not have write permissions to SSTATE_CACHE, detected by the check_create_long_filename() test failing with a "Permission denied" value in strerror, then suggest they might want to use the location as an entry in SSTATE_MIRRORS. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2012-05-24sanity.bbclass: add newline to check_create_long_filename failure messageJoshua Lock1
Each failure in the sanity message should be reported on a new line. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2012-05-24sanity.bbclass: data.getVar(VAR, obj, exp) -> obj.getVar(VAR, exp)Joshua Lock1
Replace calls to data.getVar(VARIABLE, data_object, expand) to direct calls to the getVar method the the data_object. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2012-05-24sanity.bbclass: copy the data store and finalise before running checksJoshua Lock1
At the ConfigParsed event the datastore has yet to be finalised and thus appends and overrides have not been set. To ensure the sanity check is being run against the configuration values the user has set call finalize() on a copy of the datastore and pass that for all sanity checks. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2012-05-24Revert "sanity.bbclass: check user can read and write to SSTATE_DIR"Joshua Lock1
This has caused problems for several users, including the Yocto Project autobuilder. Since the message was added in order to be more user friendly revert the change. This reverts commit 0c0c4efbf92bcf0f8942f17c18525a4b4ed1798c.
2012-05-24python: bump PR of packages after update of distutils.bbclassAndreas Oberritter6
* Bump every recipe inheriting distutils or setuptools and not overriding do_install without calling distutils_do_install. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2012-05-24distutils.bbclass: don't delete .pyo filesAndreas Oberritter1
* Deleting .pyo files causes them to get compiled on the target. * First boot gets *really* slow for python based projects. * No space gets saved on the target. * The package manager doesn't know about the files and therefore fails to uninstall them, occupying space and causing uninstalled python scripts to remain executable. * It's inconsistent, because python itself and autotools based projects already ship .pyo files. * Probably .pyo files were deleted because .pyc files were available earlier, but this has changed and OE-Core's python now only generates optimized .pyo files. Deletion of .pyo was introduced in 2008, python/04-default-is-optimized.patch was introduced in 2009. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2012-05-24netbase: merge init script updates from upstreamAndreas Oberritter2
* Read /proc/mounts only once. * Support many more network filesystem types. * Remaining differences to netbase 4.47: - Uses the mountvirtfs keyword instead of mountkernfs - Doesn't use lsb functions - Doesn't print a warning if /etc/network/options exists - Doesn't use --exclude parameter for ifup, because busybox doesn't support it. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2012-05-24wpa-supplicant: fix packaging error since last commitAndreas Oberritter2
* wpa-passphrase has its own package, but commit 4a4c568e25a08e9f222d723f9819582c9f895c58 broke it. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2012-05-24libnss-mdns: fix postinst scriptsAndreas Oberritter1
* On upgrade, postinst ocassionally returned 1, so use a conditional instead of &&. * Use sed patterns in order to make it work more generally. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2012-05-24ppp: avoid host contaminationAndreas Oberritter2
* Import patch from OE-Classic commit f7c547ede1bfc94c24f6315a23ff48a4c5b9ffaf. * Fixes linking with libpcap (ppp filter). Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2012-05-24libtool: fixed parallel build related raceEnrico Scholz1
While building libtool, the libtool script itself will be regenerated because OE modifies a dependency[1]. With -jX, this operation (--> removal, creation of non-x file, 'chmod a+x') can happen at a time when the script is going to be executed. This can cause errors like: | arm-linux-gnueabi-libtool: compile: ccache arm-linux-gnueabi-gcc ... | ... | /bin/sh ./config.status libtool | ... | arm-linux-gnueabi-libtool: compile: ccache arm-linux-gnueabi-gcc ... | /bin/sh: ./arm-linux-gnueabi-libtool: Permission denied | make[2]: *** [libltdl/libltdl_libltdl_la-lt__alloc.lo] Error 126 I am not sure whether the custom do_compile_prepend() is still needed. For now only the issue above will be fixed by executing ./config.status yet again. [1] see 648290d5bf4d6ff50d3643bb7ad902dfc23aa702 Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
2012-05-24ncurses: Avoid occasional builling failure when having parallel processable taskXiaofeng Yan1
ncurses failure non-gplv3 build (race issue) like the following \ error information: | tic: error while loading shared libraries: /srv/home/pokybuild \ /yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/\ work/x86_64-linux/ncurses-native-5.9-r8.1/ncurses-5.9/narrowc/lib\ /libtinfo.so.5: file too short | ? tic could not build /srv/home/pokybuild/yocto-autobuilder/\ yocto-slave/nightly-non-gpl3/build/build/tmp/work/x86_64-linux/\ ncurses-native-5.9-r8.1/image/srv/home/pokybuild/yocto-autobuilder\ /yocto-slave/nightly-non-gpl3/build/build/tmp/sysroots/x86_64-linux\ /usr/share/terminfo | make[1]: *** [install.data] Error 1 This is a race issue which is caused by install.libs and install.data: 1) install.data needs run tic 2) tic needs libtinfo.so 3) install.libs would regenerate libtinfo.so 4) but install.data doesn't depend on install.libs, and they can run parallelly So there would be errors in a very critical condition: tic is begining to run at the same time when install.libs is generating libtinfo.so, and this libtinfo.so is not integrity, then there would be the above error. Let task install.libs run before install.data for fixing this bug. [YOCTO #2298] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
2012-05-24eglibc: package mtrace separatelyNitin A Kamble3
add libc-mtrace as dependency for task-core-tools-debug now eglibc-mtrace gets included in an sdk image and not in a non-sdk image. This does not affect builds with uclibc. This fixes bug: [YOCTO# 2374] Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2012-05-24rpm 5.4.0: respect to the arch when choose the alternativesRobert Yang2
There is a bug if we: 1) bitbake diffutils with MACHINE=crownbay 2) bitbake diffutils with MACHINE=qemux86 3) bitbake core-image-sato with MACHINE=crownbay Then the diffutils.i586 would be installed to the crownbay's image, this is because diffutils.i586 is newer than diffutils.core2, and rpm doesn't respect to the arch priorities: We have put the archs in order in _solve_dbpath: crownbay/solvedb:core2/solvedb:i586/solvedb:all/solvedb Fix rpm to respect to the order, for example, if it finds a pkg in both core2/ and i586/, and the core2/ comes first, it should not use the one in i586/ even if it's build time is newer. Note: Don't worry about the _free(*ptr), it can check whether ptr is NULL or not. This is for the denzil branch, and the master branch also needs it. [YOCTO #2360] Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2012-05-24package_rpm.bbclass: Fix incremental rpm image generationRobert Yang1
Fix the incremental rpm image generation, it didn't work since the code has been changed. The btmanifest should have a ".manifest" suffix, so that it can be moved to ${T} by rootfs_rpm.bbclass: mv ${IMAGE_ROOTFS}/install/*.manifest ${T}/ Note: The locale pkgs would always be re-installed. [YOCTO #2440] Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2012-05-24classes/base: add checksum file list at parse timePaul Eggleton1
Connect the new fetcher file checksum code so that we get a list of the files to be checksummed at parse time. The file-checksums flag will not be read unless we are using a version of BitBake that supports the function we call within it, so it is safe to include this change even when the metadata will still be used with older versions of BitBake. Implements [YOCTO #2044]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-05-24external-sourcery-toolchain: ignore GNU_HASH issues with its packagesChristopher Larson1
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2012-05-24Rename 'external-csl' to 'external-sourcery'Christopher Larson4
This is a rename per the purchase of CodeSourcery by Mentor Graphics Corporation, and associated naming change. Signed-off-by: Christopher Larson <kergoth@gmail.com>