summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* buildhistory-collect-srcrevs: match new buildhistory-diff command line parsingPaul Eggleton2013-08-161-6/+11
| | | | | | | | | | | * Default buildhistory directory to buildhistory/ under the current directory and require an option to set it * Show a description in the help output (From OE-Core rev: 64aa7d0b53f6ad45ab1a2121e917d7a512097407) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildhistory-diff: improve command-line handlingPaul Eggleton2013-08-161-15/+39
| | | | | | | | | | | | | | | | | | | Improve command-line argument handling of buildhistory-diff to make it easier to use. * Default buildhistory directory to buildhistory/ under the current directory and require an option to set it (since most users will likely run buildhistory-diff from the build directory and keep BUILDHISTORY_DIR at its default location) * Default from-revision to "build-minus-1" to get the difference from the previous build with no arguments * Allow from/to revisions to be specified by from..to (since git accepts this form). (From OE-Core rev: 5e2be70e89820ffc74208d225fe4414fe5182050) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/buildhistory: avoid mangling names in dot graphs for imagesPaul Eggleton2013-08-161-6/+6
| | | | | | | | | | | We were mangling names here to avoid characters that are invalid for dot node names, but if you just quote all names that isn't necessary and we retain the original naming, allowing easy searching of the graph files. (From OE-Core rev: 99efdad886aa5063a68912846c00a46ba9b15536) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/buildhistory: tag last 3 build revisionsPaul Eggleton2013-08-161-0/+4
| | | | | | | | | | | | This makes it easier to obtain the difference from the last three builds particularly where a single build might account for more than one commit in the buildhistory git repository (e.g. if package and image changes occurred). (From OE-Core rev: 9512f3787295d662678c2943da31197c8df39e99) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/buildhistory: show command line in commit messagePaul Eggleton2013-08-161-2/+11
| | | | | | | | | | Record the bitbake command line in the commit message as a further context indication. (From OE-Core rev: 34fb802b2170f0fe208e54e7a4d18f663db72f90) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/buildhistory: record size of installed package not compressed archiveMartin Jansa2013-08-167-17/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | * usually it's more important to know how much space will each package take on target device then size of compressed package * example for libewebkit0 with 4 different architectures, interesting that om_gta02 .ipk is bigger but it's smaller when installed before: MACHINE DEFAULTTUNE SIZE (.ipk file) om_gta04 cortexa8t-neon 15996 KiB libewebkit0 qemux86_64 x86-64 16992 KiB libewebkit0 spitz xscale 16148 KiB libewebkit0 om_gta02 arm920t 16260 KiB libewebkit0 after: MACHINE DEFAULTTUNE SIZE (installed) om_gta04 cortexa8t-neon 60544 KiB libewebkit0 qemux86_64 x86-64 63720 KiB libewebkit0 spitz xscale 60588 KiB libewebkit0 om_gta02 arm920t 56268 KiB libewebkit0 (From OE-Core rev: 85e4a77138381a6086d5ebd3a28cb5a94bc26a19) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/buildhistory: remove default of BUILDHISTORY_CHECKVERBACKWARDSPaul Eggleton2013-08-161-1/+0
| | | | | | | | | | Since this variable is no longer used, we don't need to set a default for it. (From OE-Core rev: a5230835c539781b5b035dc6d0be3cac5a5bd305) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cronie: upgrade to 1.4.11Cristiana Voicu2013-08-161-5/+3
| | | | | | | | | | LIC_FILES_CHKSUM changed because cron.h doesn't exist anymore. Replaced it with cron.c. (From OE-Core rev: c1f3eabece0bb998c46367c06e3433696f97225c) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: upgrade to 1.8.7Cristiana Voicu2013-08-163-49/+4
| | | | | | | | | | Removed a patch because the changes were merged upstream. Also, the license had some modifications in two files. (From OE-Core rev: 13ba4490f6422109f934ed36809bd52d44577574) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* maintainers.inc: add entries for libav, x264 and yasmPaul Eggleton2013-08-161-0/+3
| | | | | | | | | | These were recently added by me and I'm prepared to continue maintaining them. (From meta-yocto rev: c31d43ba3799bd54e143505db38910574e6233ec) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_regex.inc: Add regex for atkCristiana Voicu2013-08-161-0/+1
| | | | | | | | | This is GNOME, 2.[odd] are development releases. (From meta-yocto rev: 4aeaf195e10ecf053acae768ff800c0245f4e15f) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/retrieveimagedialog: change labelsCristiana Voicu2013-08-161-1/+3
| | | | | | | | | | Some labels needed to be changed in order to respect the convention. [YOCTO #4999] (Bitbake rev: 110b485eac6adea242297b7942da8710403c465a) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: taskdata: report close matches with NoProvider errorsPaul Eggleton2013-08-164-6/+29
| | | | | | | | | | | Assuming there is no known reason why an item is not provided, show close matches on the assumption that it might have been a typo or other mistake. (Bitbake rev: ed81b0856b4a3892b53d39871eaaa6273390ea75) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: runqueue: report close matches for an invalid task namePaul Eggleton2013-08-161-1/+7
| | | | | | | | | | Help to pick up mistakes such as "bitbake -c cleanstate xyz" (instead of "bitbake -c cleansstate xyz".) (Bitbake rev: 15c3db1cffdffd85641c6b12e77f19ce7a553472) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* texinfo: add perl RDEPENDS and fix up packagingSaul Wold2013-08-161-2/+3
| | | | | | | | | | | | | This new version of texinfo uses perl for the conversion process. The perl modules are installed in ${datadir}/texinfo which was getting pulled into the -doc package, since FILE_${PN} is a full override, add it back. (From OE-Core rev: f0b6734182a5505fad7d26bc67a2141e51bc7a9d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssh: fix for read-only rootfsChen Qi2013-08-163-8/+35
| | | | | | | | | | | | | | | | | | | | | | | | If the rootfs is read-only and the ssh keys are not available at system start-up, the init script will generate ssh keys into /etc/ssh, thus causing a 'read-only file system' error. In order for Yocto based image to work correctly for read-only rootfs, we use the following logic for openssh. If the rootfs is read-only and there are pre-generated keys under /etc/ssh, we use the pre-generated keys. Note the pre-generated keys are mainly for debugging or development purpose. If the rootfs is read-only and there are no pre-generated keys under /etc/ssh, we use /var/run/ssh as the location for ssh keys. That is, at system boot-up, the generated ssh keys will put into /var/run/ssh. [YOCTO #4887] (From OE-Core rev: 2ed44745024f04aa4e00ddba3009153c6b47c8e9) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* irda-utils: fix for read-only rootfsChen Qi2013-08-161-11/+2
| | | | | | | | | | | | | | | | | | The init script for irda writes configuration items to /etc/sysconfig/irda if that file is not available in system. But it's actually not necessary, the behavior doesn't change whether the init script writes to the file or not. Considering it issues error messages in case of a read-only rootfs, I delete the writing process. [YOCTO #4103] [YOCTO #4886] (From OE-Core rev: f88a101bc0caa7b486527f0d337406651cbaeb0d) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* populate-volatile.sh: use 'cp -a' to avoid potential problemChen Qi2013-08-161-1/+2
| | | | | | | | | | | | Previously, dead links in target directory will not be copied. This is incorrect as dead links are not uncommon in our rootfs. So we use '-a' option instead. (From OE-Core rev: 742440441222e0627abbdd3eb2ee16401e8f4adf) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqemu-internal: fix to start X correctly in live imagesChen Qi2013-08-161-1/+1
| | | | | | | | | | | | | | | | The QEMUOPTIONS for ISOFS was not complete, leading to failures when trying to start X in live images. This patch fixes this problem. [YOCTO #4103] [YOCTO #4884] (From OE-Core rev: 08947869917dc5a9dfff05b0ee19279f60cf6d2b) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* populate-volatile.sh: don't spawn background process at rootfs timeChen Qi2013-08-161-3/+3
| | | | | | | | | | | | | | | | | | | If we're building a read-only rootfs, we'll get the following error now and then. tar: .: file changed as we read it The root cause is that we spawn background process at rootfs time. When the tar command is running, it's possible that files under rootfs are changed by background processes, thus this error. [YOCTO #4937] (From OE-Core rev: 4bd419f95868d5b8707a45cee5f6c5c6a840a65b) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* populate-volatile.sh: use $ROOT_DIR/var/volatile/tmp as TMPDIRChen Qi2013-08-161-1/+1
| | | | | | | | | | | | | | | | | | It's possible that a 'No such directory' error occurs when doing check_requirement in populate-volatile.sh at rootfs time. This is because the $ROOT_DIR/var/tmp might be a dead link. Use $ROOT_DIR/var/volatile/tmp as the TMPDIR instead to avoid this error. [YOCTO #4883] [YOCTO #4103] (From OE-Core rev: 7c2c36a97bab46c73a3a1fb743ad3ec67a4c072e) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: remove implicit dependency on initscriptsChen Qi2013-08-161-4/+12
| | | | | | | | | | | | | | | | | | At some point, the udev was modified to source the functions from initscripts or lsbinitscripts. This dependency is actually not needed. If we use udev in a system where initscripts from oe-core is not available, there will be errors. This patch fixes this problem by removing the implicit dependency. [YOCTO #4882] [YOCTO #4103] (From OE-Core rev: 72d6825c24f4c3e4a7a907cf0a09e2e8f7720ae8) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* init-live.sh: make $ROOT_MOUNT/media writable when necessaryChen Qi2013-08-161-0/+2
| | | | | | | | | | | | | | | | | | | If the live image is mounted as read-only, we cannot make necessary directories under $ROOT_MOUNT/media, so trying to move the mount points lead to errors. So in case that no unification filesystem mechanism is available in kernel and the rootfs is mounted as read-only, we mount tmpfs on $ROOT_MOUNT/media so that it's possible to make necessary directories under it. [YOCTO #4881] [YOCTO #4103] (From OE-Core rev: aeeb3418ff08dfd29edc0ce8a41cb6887d4e11fe) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* device_table-minimal.txt: use user/group names instead of uid/gidChen Qi2013-08-161-21/+21
| | | | | | | | | | | | | | | Instead of hard coding the uid/gid, we prefer the way of using user/group names. Note the way of using uid/gid is still supported. [YOCTO #1159] (From OE-Core rev: c5ef0294a9b8d178896a47c9f5d6e3dd6797e343) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image.bbclass: create device table after package installationChen Qi2013-08-161-5/+3
| | | | | | | | | | | | | | | | | | | | | | Now that the makedevs supports using user/group names in the devcie table files, and it uses passwd and group files under the rootfs which is provided by the base-passwd package, we should let package installation finish first, so that makedevs can get a correct mapping from user/group names to uid/gid. The check for existence of ${IMAGE_ROOTFS}/dev is removed. This is because do_rootfs doesn't have 'nostamp' flag any more, so the do_rootfs task will not be rerun for every build. Checking for the existence of ${IMAGE_ROOTFS}/dev is not necessary any more. Besides, as base-files package also installs the /dev directory, this checking does not serve as a good criteria. [YOCTO #1159] (From OE-Core rev: d073ca77ba886c7912abd3ec0640881c00aea3bb) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* makedevs: support using user/group names in device table filesChen Qi2013-08-161-29/+178
| | | | | | | | | | | | | | | | | | | Compared to hard coding the numeric group and user ids in the device table files, the way of using user/group names is preferred. This patch adds the ability to makedevs to correctly deal with device table files with user/group names in them. To maintain backward compatibility, the way of using uid/gid is still supported. [YOCTO #1159] (From OE-Core rev: 1fcf718e3a1e50446ab61972069566e5016bc625) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wipe-sysroots: don't assume TMPDIR is under BUILDDIRRoss Burton2013-08-161-7/+17
| | | | | | | | | | | | The previous code used the environment variable BUILDDIR and assumed that TMPDIR was a subdirectory. This often isn't the case, so instead ask bitbake where the directories we're about to delete are. (From OE-Core rev: 29491a72acac81ebb7e9ecfbc9392fbeb9a7ea26) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu, default-providers: Add mesa as default virtual/eglMartin Jansa2013-08-162-0/+2
| | | | | | | | | | * it's safer to select it consistently with virtual/libgl* providers (From OE-Core rev: d9321da1bf01175a9e3721607df31055e3765bc6) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake.bbclass: Don't use packages from the native build machineStefan Herbrechtsmeier2013-08-161-0/+1
| | | | | | | | (From OE-Core rev: 044037d8add3556a90ac4da5991e1e5975d62e25) Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* matchbox-wm: fix icon handling on 64-bit hostsRoss Burton2013-08-161-2/+1
| | | | | | | | | | | | | | | | Xlib has a historical quirk where 32-bit values are returned in longs (but always hidden through a cast). On 32-bit machines this doesn't matter but on 64-bit this leads to problems. Bump SRCREV to integrate a fix from upstream. Also, drop the conditional configure_fix.patch, it was integrated long ago. [ YOCTO #4917 ] (From OE-Core rev: 09c609afbfb6e9a2504166d0fe8c7ae3d8ae9ebd) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libmatchbox: upgrade to 1.11Ross Burton2013-08-162-145/+3
| | | | | | | | | | Remove check.m4 as libmatchbox uses the check.pc instead of a m4 file now. (From OE-Core rev: 4f51bf23346947cd47e7ac9e1290e799f3c20708) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xrestop: add dependency on ncursesMartin Jansa2013-08-161-1/+1
| | | | | | | | | | | | | | * fails without it | xrestop.c:50:20: fatal error: curses.h: No such file or directory | #include <curses.h> | ^ | compilation terminated. (From OE-Core rev: c709fcd7e5f81707ece5f7d085c8c43eed165f7e) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xeyes: add dependency on libxrenderMartin Jansa2013-08-161-1/+1
| | | | | | | | | | | | * fails without: | configure:10604: error: Package requirements (xrender >= 0.4) were not met: | No package 'xrender' found (From OE-Core rev: ceb69dce2cff26153c6e17614a934b9fa8f9f2a5) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gst-plugins-gl: add dependency on glewMartin Jansa2013-08-161-1/+1
| | | | | | | | | | | * fails without: | ./gstglshader.h:30:21: fatal error: GL/glew.h: No such file or directory (From OE-Core rev: a3c58aaeb84c711431e78458afabed2f7054d937) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* at-spi2-core: add intltool-native dependencyMartin Jansa2013-08-161-1/+1
| | | | | | | | | | | * configure fails without it at-spi2-core/2.8.0-r0/temp/run.do_configure.372: intltoolize: not found (From OE-Core rev: 483abbe91c1320d6c6e3e7a5824de80e427aa50e) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nfs-utils: Replace spaces with tabs in shell functionMuhammad Shakeel2013-08-161-1/+1
| | | | | | | | | | As per OE-Core convention, indentation should be TAB for shell. (From OE-Core rev: 91b6d2cf08c5c6ad58f0f9a85a3536a9034342b8) Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: Replace spaces with tabs in shell functionMuhammad Shakeel2013-08-161-6/+6
| | | | | | | | | | As per OE-Core convention, indentation should be TAB for shell. (From OE-Core rev: a92376f2daf10baf45d99a3de9502b52cbce8b7e) Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lighttpd: Replace spaces with tabs in shell functionMuhammad Shakeel2013-08-161-4/+4
| | | | | | | | | | As per OE-Core convention, indentation should be TAB for shell. (From OE-Core rev: d73a0d00554cc197d2eb7e95432252af267d7bca) Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg.inc: remove the obsolete POSTLOG variableChen Qi2013-08-161-2/+0
| | | | | | | | | | | | | With the current implementation of postinst logging mechanism, the location for log file is configured via the POSTINST_LOGFILE variable. The POSTLOG variable is obsolete now, thus removing it. (From OE-Core rev: 6aaf2d5c51eb4ee6acbb85fd4aa5f44406907bc2) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cogl: GL/GLX feature cleanupRoss Burton2013-08-161-8/+9
| | | | | | | | | | | | | | Separate GL and GLX flags don't make sense, as on Linux GL means GLX and GLX means GL. So, default to GLESv2 and GLX if X11 is enabled. EGL on X11 doesn't have feature parity yet so leave it disabled by default. (From OE-Core rev: e5f8f6c6191505d731c4672353e811d6729d424a) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-dtb: Use kernel build system to generate the dtb filesOtavio Salvador2013-08-161-32/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As the Linux kernel, unconditionally, builds the dtc application and it is the compatible version with the DeviceTree files shipped within the kernel it is better to use it and the kernel build system to generate the dtb files. Some DeviceTree files rely on CPP and kernel headers to be able to generate the dtb binary contents and it is harder to replicate it outside of Linux kernel build system so we /use/ it. To comply with these assumptions we need to use the dtb file when calling 'make' instead of pointing to the DeviceTree source file; the code has been made backward compatible but it is advised to move to the new definition to avoid warnings as: ,----[ Original definition ] | KERNEL_DEVICETREE = "${S}/arch/arm/boot/dts/imx6q-sabresd.dts" `---- Becomes: ,----[ New definition ] | KERNEL_DEVICETREE = "imx6q-sabresd.dtb" `---- (From OE-Core rev: 72980d5bb465f0640ed451d1ebb9c5d2a210ad0c) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: upgrade to 2.3Cristiana Voicu2013-08-162-5/+5
| | | | | | | | | | Disabled javac and jar. (From OE-Core rev: 0308bf2619734f07814f55c0adae17937f77afbd) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-skeleton: layer.conf Should also have .bbappend in exampleSaul Wold2013-08-161-1/+1
| | | | | | | | | | This will allow for an example recipe with a .bbappend, such as busybox or kernel configure fragments. (From OE-Core rev: 2a2a2540b37880cdd866f01d8e4077cbd0378749) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-skeleton: Add busybox config fragment exampleSaul Wold2013-08-132-0/+13
| | | | | | | | | | | | | | | | | | | This shows an example of the config fragment support that both the linux-yocto and busybox recipes use. This example is specific to busybox. By adding busybox CONFIG options into a .cfg file and then adding that .cfg file to SRC_URI the merge_config.sh script will correctly handle these CONFIG options during the do_configure task. The merge_config.sh script uses a last-in wins method. For more details about this, see the Kernel Development Manual Section 2.2.3 http://www.yoctoproject.org/docs/current/kernel-dev/kernel-dev.html#changing-the-configuration (From OE-Core rev: 57662d4f813d5795cac1529633db80a09efdb089) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Skip it for mips64 targetKhem Raj2013-08-133-2/+3
| | | | | | | | | | | We should not skip it always since same recipes provide qemu-native too so user class-target override to make it only skip for target recipes (From OE-Core rev: 23d633cc65cf31486263f120c71df82186cfdd22) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: fix include header caused compile errorKai Kang2013-08-132-0/+41
| | | | | | | | | | | | | | | | | | | | | | Build dpkg-native on Fedora 19, it fails with: /usr/include/c++/4.8.1/cstdlib: In function ‘long long int std::abs(long long int)’: /usr/include/c++/4.8.1/cstdlib:174:20: error: declaration of C function ‘long long int std::abs(long long int)’ conflicts with abs(long long __x) { return __builtin_llabs (__x); } ^ /usr/include/c++/4.8.1/cstdlib:166:3: error: previous declaration ‘long int std::abs(long int)’ here abs(long __i) { return __builtin_labs(__i); } ^ That because header cstdlib is included in a 'extern "C"' block that gcc 4.8 doesn't support. Fix it by move the header file out of the 'extern "C"' block. (From OE-Core rev: 7de61ecc3efc43c625dde9a66f5c05e980a82e34) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oe-setup-builddir: substitute ##OEROOT## when using templatesRoss Burton2013-08-131-1/+4
| | | | | | | | | | | | | | | | | | oe-setup-builddir substitutes ##COREBASE## which seems like it should have the same value as the variable ${COREBASE}. In reality it doesn't as ##COREBASE## is substituted with the value of $OEROOT (the location of the oe-init-build-env script), whereas ${COREBASE} is set by oe-core to the parent directory of meta/. If oe-core's meta/ isn't a top-level directory then ##COREBASE## and ${COREBASE} have different values, which can lead to confusion. To resolve this, deprecate (but still substitute) ##COREBASE## and substitute ##OEROOT# for $OEROOT. (From OE-Core rev: 1890783928dd1c73105fae32fb6c588afc287ff6) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* procps: Add cgroup supportJukka Rissanen2013-08-132-0/+83
| | | | | | | | (From OE-Core rev: 767383ac80bd52a51d52655f95bb503cd0bb827b) Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* blacklist.bbclass: Avoid blacklist specific handle in base.bbclassOtavio Salvador2013-08-132-10/+25
| | | | | | | | | | | | base.bbclass had code which handled the PNBLACKLIST in case of multilib use. This is better to be done in the blacklist.bbclass so it has all logic in a single place. (From OE-Core rev: 04f0fefeccc1e7e3af8a1f741350492ae3f171fc) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: Fix possible installation of GPLv3 headerPaul Barker2013-08-132-19/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | opkg is GPLv2+ licensed but it has optional support for sha256 checksums which was GPLv3+ licensed. This code is not built unless '--enable-sha256' is passed to the configure script, the default is equivalent to '--disable-sha256'. However, the header 'sha256.h', which is GPLv3+ licensed, is in the list of header files to be installed and thus could end up in the libopkg-dev package. As this header is installed to '/usr/include/libopkg' it is very unlikely that it will ever be used. However, if you're uncomfortable with GPLv3 code going anywhere near your target filesystem you won't want this to happen. The simplest solution is to replace the sha256 implementation in opkg with the implementation from coreutils-6.9 which is licensed under GPLv2+. This is committed to the opkg subversion repository as r652/r653. The only intervening commit between r650 (previous SRCREV) and this is r651, which integrates 'obsolete_automake_macros.patch' into the opkg sources. Thus this patch isn't needed in oe-core anymore. (Note: Before 873689bbabba25e7be5c12317c04519a7bc8d0ef, this header is only installed if opkg is built in its source tree (ie. ${B}=${S}). After that commit the header will always be installed) (From OE-Core rev: 3c6a8a39d820f14f9eb3df3d719cef2c469769da) Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>