summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* rpm: use rpm-5.1.10 from SNAPSHOT URI.Jeff Johnson2010-08-232-13/+1
| | | | | | | | | rpm-5.1.10 snapshot adds support for multiple aid databases revert slashDepth patch, now included in 5.1.10 Signed-off-by: Jeff Johnson <n3npq@mac.com> Signed-off-by: Mark Hatle <mhatle@windriver.com>
* Ensure all packages which should have x86_64 in COMPATIBLE_HOSTJoshua Lock2010-08-236-8/+6
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* package.bbclass: Fix shlibs raceRichard Purdie2010-08-231-2/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake.conf: Add DESCRIPTION for -dev, -dbg and -doc packagesRichard Purdie2010-08-231-0/+3
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* insane.bbclass: Update to match the packaging classes when handling OVERRIDESRichard Purdie2010-08-231-5/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package.bbclass: Fix do_shlibsMark Hatle2010-08-231-4/+5
| | | | | | | | | The current packages shlibs processing is written to a local temporary file. This file is not consulted when evaluting the provider of the dependency, instead we need to cache the local values into the dictionary while we write the temp file. Signed-off-by: Mark Hatle <mhatle@windriver.com>
* devshell.bbclass: export the FAKEROOTENV so it can be accessed within the ↵Richard Purdie2010-08-231-0/+1
| | | | | | devshell task Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* utils.py: Fix bb.copyfile to change the permissions of the file back correctlyRichard Purdie2010-08-231-2/+4
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package.bbclass: If files are unreadable, add read access for strippingRichard Purdie2010-08-221-2/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* lib/oe/path: Use bb.utils.copyfile as shutils can't cope with copying ↵Richard Purdie2010-08-221-1/+1
| | | | | | unreadable files Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* utils.py: Add a new extend_deps() to easily merge two dependency listsMark Hatle2010-08-201-0/+11
| | | | | | | | Add a new extend_deps function to more easily merge two dependency lists. This avoids adding duplicates, unless the value of the dependency is different. Signed-off-by: Mark Hatle <mhatle@windriver.com>
* package.bbclass: Add perfile dependency identificationMark Hatle2010-08-201-5/+77
| | | | | | | | | Using the rpmdeps commands, we enable the discovery of per-file dependencies. These dependencies are generated for all packages, and may or may not be used by any given packaging mechanism. Currently RPROVIDES and RDEPENDS are generated in this process. Signed-off-by: Mark Hatle <mhatle@windriver.com>
* bitbake.conf: Add shared/pkgconfig files to standard -dev globMark Hatle2010-08-202-3/+4
| | | | | | | | | | Add the pkgconfig files that may appear into the shared directory into the -dev globbing. Also change the udev integration to remove the manual instance of the shared directory .pc file. Signed-off-by: Mark Hatle <mhatle@windriver.com>
* 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>