summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* rpm: Update the rpm integration to support per-file dependenciesMark Hatle2010-08-203-5/+103
| | | | | | | | | | Update the RPM package integration to support per-file dependencies This adds additional configuration options to RPM, as well as provides a helper script "perfile_rpmdeps.sh" that the build system can use to gather the dependency information. Signed-off-by: Mark Hatle <mhatle@windriver.com>
* glibc: bring back needed patches from older recipesNitin A Kamble2010-08-209-0/+799
| | | | | | | while removing old glibc recipes some needed patches from older recipes got wiped out. Bringing them back. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* base.bbclass: Initial work to add GPLv2 Only Build with Whitelist for GPLv3 ↵Saul Wold2010-08-202-1/+19
| | | | | | | | | Native tools [tweaks from Richard Purdie] Signed-off-by: Saul Wold <Saul.Wold@intel.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* linux-wrs: allow packed refs to be presentBruce Ashfield2010-08-201-2/+17
| | | | | | | | | | | | | The code which creates a working tree from the source Wind River Linux git repository manipulates the refs to make non-tracking, local branches. packed-refs remove the files from refs, making this code break and the builds fail. To fix this, if we detect the packed refs we simply create the local refs from the remote branches. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* kernel: update branch revisions for 2.6.34.4Bruce Ashfield2010-08-201-5/+5
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* guilt: import guilt for kernel patch managementBruce Ashfield2010-08-2013-0/+1100
| | | | | | | | | | | | | | The Wind River kernel is "patched" via guilt to provide both git integration and quilt like patch management (if that is of interest). This is a modified 0.33 guilt with some changes to streamline interactions with the way that the Wind River kernel is constructed. That being said, the common semantics of guilt are not changed, and it can be used for other purposes. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* distro-tracking: add info for watchdogDexuan Cui2010-08-201-1/+7
| | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* watchdog: add the latest version 5.9Dexuan Cui2010-08-201-0/+16
| | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* poky-qemu-internal: fix the echo of KERNCMDLINEDexuan Cui2010-08-201-1/+1
| | | | | | | | | Without the fix, when the commandline is printed with the "echo" command, it loses the quotes and this confuses people. Thanks Richard for pointing this out. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* distro tracking: Add info for paxZhai Edwin2010-08-201-7/+8
| | | | Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* distro tracking: Updated version info for owl-video, matchbox-desktop, ↵Zhai Edwin2010-08-202-14/+14
| | | | | | webkit-gtk... Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* poky-qemu-internal: fix broken call to poky-qemu-ifupScott Garman2010-08-202-2/+15
| | | | | | | | | | The poky-qemu-ifup script now requires a path to the native sysroot as an argument. This fixes a case where the argument was missing. Also, set up NATIVE_SYSROOT_DIR when running runqemu. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* python-pycairo: upgrade to 1.8.10Yu Ke2010-08-201-1/+1
| | | | Signed-off-by: Yu Ke <ke.yu@intel.com>
* iputils: add iputils packageYu Ke2010-08-207-0/+221
| | | | | | | | | | | iputils are utilities for the IP protocol, including traceroute6, tracepath, tracepath6, ping, ping6 and arping. this commit add iputils 20100418. code is borrowed from open embedded and debian, with following changes: - upgrade from s20071127 to s20100418 - update the do_compile (add VPATH) to make s20100418 pass - disable man since it depends docbook while poky don't have Signed-off-by: Yu Ke <ke.yu@intel.com>
* runqemu-nfs: boot QEMU using nfsroot and local unfs exportScott Garman2010-08-202-0/+88
| | | | | | | | This script automates the booting of QEMU using an nfsroot exported by our userspace NFS tools. The rootfs should be created using poky-extract-sdk. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* poky-export-rootfs: script for exporting userspace nfsrootsScott Garman2010-08-202-0/+184
| | | | | | | | | | This script automates the exporting of a root filesystem (created with the poky-extract-sdk utility) using pseudo and the native userspace NFS server. That filesystem can then be booted using nfsroot with either QEMU or the target hardware using one of our kernels. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* poky-extract-sdk: script for extracting sdk images using pseudoScott Garman2010-08-202-0/+96
| | | | | | | This script automates the creation of a rootfs area using pseudo so it can be used by a QEMU nfsroot boot. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* poky-qemu-internal: fixes for userspace NFS bootingScott Garman2010-08-201-14/+27
| | | | | | | Including a number of cases where the script could exit before releasing a tun/tap lockfile. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* poky-qemu-internal: Support use of a preconfigured tap deviceJeff Dike2010-08-201-4/+28
| | | | | | | | | | | | | This patch makes poky-qemu-internal check for the existence of an available preconfigured tap device before running poky-qemu-ifup to make a new one. Locking is handled with a lockfile in /tmp/qemu-tap-locks/. This uses the lockfile utility, so that needs to be present on the host. On exit, this script removes the lock file so that the tap device may be reused. Signed-off-by: Jeff Dike <jdike@linux.intel.com>
* poky-qemu-internal: Support NFS boots betterJeff Dike2010-08-202-10/+31
| | | | | | | | | The image specification can now be in the form nfs-server:directory. This makes it possible to nfs-boot from servers other than the host. poky-qemu-internal will properly construct the kernel command line given such a specification. Signed-off-by: Jeff Dike <jdike@linux.intel.com>
* poky-qemu-[ifup|ifdown]: Use native tunctlJeff Dike2010-08-202-19/+101
| | | | | | | | | | | | | | | | | poky-qemu-ifup can run standalone by root in order to configure a bank of tap devices for later qemu use. These devices will, if possible, be owned by a specified group to which qemu users must belong. If the kernel is too old to support TUNSETGROUP, then it falls back to setting the tap device to be owned by a particular user, and that user will be the only one allowed to use it. Also overall usability improvements to the scripts, usage() help, etc. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* poky-find-native-sysroot: helper script for locating the native sysroot pathScott Garman2010-08-202-0/+78
| | | | | | | | | | | | Various poky scripts make use of binaries from the native sysroot. This helper script can be used to reduce code duplication, and sets up some environment variables you can use to identify and obtain the correct filesystem path to the native sysroot. It works for both in-tree Poky setups as well as toolchain installations. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* tunctl: Added an tunctl which supports TUNSETGROUPJeff Dike2010-08-203-1/+182
| | | | | | | | | | | TUNSETGROUP is needed in order to preconfigure a set of tap devices that can be used by non-root users. The requirement is that the qemu users be members of whatever group the tap devices are assigned to. Include tunctl in the qemu-helper package, and add a -native version. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* poky-qemu-ifup: allow multiple tap devicesJeff Dike2010-08-201-1/+2
| | | | | | | This patch bases the tap IP address on the device number, providing each device with its own IP address. Signed-off-by: Jeff Dike <jdike@linux.intel.com>
* qemu: Use a TAP device instead of slirp for networkingJeff Dike2010-08-203-10/+25
| | | | | | | | | | | | | | | | With this patch, a persistent TAP device is set up by poky-qemu-ifup, which is now run before qemu. The qemu command line now uses the device that was constructed (rather than the hard-coded tap0) and it is told not to run any networking scripts. When qemu shuts down, poky-qemu-ifdown removes the TAP device. sudo use - sudo is used to run poky-qemu-ifup. sudo is no longer used to run qemu, as qemu no longer needs privileges to set up networking. poky-qemu-ifdown is run without privileges, as you can remove a TAP device which you own. Signed-off-by: Jeff Dike <jdike@linux.intel.com>
* unfs-server: new userspace nfs recipeScott Garman2010-08-2029-4/+4634
| | | | | | | | | | | | | | This is a simple userspace NFS server, derived from one which was previously used in openSUSE 10.x. Wind River contributed many of the patches. This package is not intended for target installations, only -native and -nativesdk use. Enabling nativesdk for readline, sqlite3, and pseudo was required, as well as a few new autoconf siteconfig entries. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* glibc: remove all old recipesNitin A Kamble2010-08-2068-6111/+0
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* valgrind: upgrade for eglibc 2.12Nitin A Kamble2010-08-204-20/+37
| | | | | | | the current version only works with libc upto 2.10 hence upgraded to support eglibc 2.12 Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* gdb: disable installation of bfd/iberty/opcodesKevin Tian2010-08-204-4/+12
| | | | | | | | | | | Those are assumed to be provided by binutils, so we disable installation here. Without doing so, a broken libbfd.la from gdb is installed to sysroot which overrides binutils version and then hurt other packages such as oprofile also fix --with-readline to --with-system-readline Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* bitbake/utils.py: Allow copyfile to copy files which aren't readableRichard Purdie2010-08-201-0/+3
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake/utils.py: Improve better_exec debug outputRichard Purdie2010-08-201-5/+9
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake: Correctly route events from the worker to the serverRichard Purdie2010-08-205-8/+24
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake/knotty: Exiting as soon as a fatal is seen is not desirable as the ↵Richard Purdie2010-08-201-1/+1
| | | | | | stacktrace won't be seen Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake/cooker.py: Don't init the fetcher in the worker caseRichard Purdie2010-08-201-1/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake/persist_data: Attempt to fix locking issuesRichard Purdie2010-08-201-8/+17
| | | | | | | | | It appears the timeout sometimes has no effect and we see database access failures. Combat this by wrapping the execute function in all cases and retrying manually ourselves. Thanks to Kevin Tian for help debugging this. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake/data.py: Handle exceptions in export_bars in the same way as emit_var()Richard Purdie2010-08-201-3/+8
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake/server: Raise a shutdown event if we're seeing exceptionsRichard Purdie2010-08-201-1/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake/runqueue.py: Ensure the flush happens as late as possible to avoid ↵Richard Purdie2010-08-191-3/+3
| | | | | | data mixups Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake/utils.py: Give useful debug information when no lineno information ↵Richard Purdie2010-08-191-7/+10
| | | | | | is available Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Rename packaged-staging2 -> sstate and remove the old empty classRichard Purdie2010-08-193-3/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Revert "base.bbclass: Temporarily disable fakeroot for install/package until ↵Richard Purdie2010-08-191-4/+1
| | | | | | | other fixes get merged" This reverts commit 2225e1214285f0e9a3c0ee2962b3d678c5c05292 and reenables the functionality now its safe to do so.
* classes: Disable setscene tasks for initial testingRichard Purdie2010-08-196-6/+6
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sanity.bbclass: Don't run the handler in worker contextRichard Purdie2010-08-191-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package_*.bbclass: Always run these tasks under fakerootRichard Purdie2010-08-194-0/+4
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake/runqueue.py: Fix runqueue UI issuesRichard Purdie2010-08-191-17/+27
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake: Switch to use subprocess for forking tasks and FAKEROOTENV to run ↵Richard Purdie2010-08-197-112/+201
| | | | | | shell and python under a fakeroot environment Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Remove packaged-staging.bbclassRichard Purdie2010-08-192-474/+0
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* deploy.bbclass: use new style staging for deploy tasksJoshua Lock2010-08-1911-68/+55
| | | | | | | | | | All tasks which implement a do_deploy should inherit this class to have the changes in the deploy task staged. Update recipes which include a do_deploy function to inherit this class and to use DEPLOYDIR rather than DEPLOY_DIR_IMAGE. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* package.bbclass: Implement packaged-staging2Richard Purdie2010-08-191-40/+31
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* staging.bbclass: Convert to packaged-stagingRichard Purdie2010-08-191-5/+10
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>