summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2010-08-23utils.py: Fix bb.copyfile to change the permissions of the file back correctlyRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-22package.bbclass: If files are unreadable, add read access for strippingRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-22lib/oe/path: Use bb.utils.copyfile as shutils can't cope with copying ↵Richard Purdie1
unreadable files Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-20utils.py: Add a new extend_deps() to easily merge two dependency listsMark Hatle1
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>
2010-08-20package.bbclass: Add perfile dependency identificationMark Hatle1
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>
2010-08-20bitbake.conf: Add shared/pkgconfig files to standard -dev globMark Hatle2
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>
2010-08-20rpm: Update the rpm integration to support per-file dependenciesMark Hatle3
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>
2010-08-20glibc: bring back needed patches from older recipesNitin A Kamble9
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>
2010-08-20base.bbclass: Initial work to add GPLv2 Only Build with Whitelist for GPLv3 ↵Saul Wold2
Native tools [tweaks from Richard Purdie] Signed-off-by: Saul Wold <Saul.Wold@intel.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-20linux-wrs: allow packed refs to be presentBruce Ashfield1
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>
2010-08-20kernel: update branch revisions for 2.6.34.4Bruce Ashfield1
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-08-20guilt: import guilt for kernel patch managementBruce Ashfield13
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>
2010-08-20distro-tracking: add info for watchdogDexuan Cui1
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2010-08-20watchdog: add the latest version 5.9Dexuan Cui1
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2010-08-20poky-qemu-internal: fix the echo of KERNCMDLINEDexuan Cui1
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>
2010-08-20distro tracking: Add info for paxZhai Edwin1
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-08-20distro tracking: Updated version info for owl-video, matchbox-desktop, ↵Zhai Edwin2
webkit-gtk... Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-08-20poky-qemu-internal: fix broken call to poky-qemu-ifupScott Garman2
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>
2010-08-20python-pycairo: upgrade to 1.8.10Yu Ke1
Signed-off-by: Yu Ke <ke.yu@intel.com>
2010-08-20iputils: add iputils packageYu Ke7
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>
2010-08-20runqemu-nfs: boot QEMU using nfsroot and local unfs exportScott Garman2
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>
2010-08-20poky-export-rootfs: script for exporting userspace nfsrootsScott Garman2
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>
2010-08-20poky-extract-sdk: script for extracting sdk images using pseudoScott Garman2
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>
2010-08-20poky-qemu-internal: fixes for userspace NFS bootingScott Garman1
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>
2010-08-20poky-qemu-internal: Support use of a preconfigured tap deviceJeff Dike1
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>
2010-08-20poky-qemu-internal: Support NFS boots betterJeff Dike2
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>
2010-08-20poky-qemu-[ifup|ifdown]: Use native tunctlJeff Dike2
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>
2010-08-20poky-find-native-sysroot: helper script for locating the native sysroot pathScott Garman2
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>
2010-08-20tunctl: Added an tunctl which supports TUNSETGROUPJeff Dike3
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>
2010-08-20poky-qemu-ifup: allow multiple tap devicesJeff Dike1
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>
2010-08-20qemu: Use a TAP device instead of slirp for networkingJeff Dike3
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>
2010-08-20unfs-server: new userspace nfs recipeScott Garman29
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>
2010-08-20glibc: remove all old recipesNitin A Kamble68
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-08-20valgrind: upgrade for eglibc 2.12Nitin A Kamble4
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>
2010-08-20gdb: disable installation of bfd/iberty/opcodesKevin Tian4
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>
2010-08-20bitbake/utils.py: Allow copyfile to copy files which aren't readableRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-20bitbake/utils.py: Improve better_exec debug outputRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-20bitbake: Correctly route events from the worker to the serverRichard Purdie5
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-20bitbake/knotty: Exiting as soon as a fatal is seen is not desirable as the ↵Richard Purdie1
stacktrace won't be seen Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-20bitbake/cooker.py: Don't init the fetcher in the worker caseRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-20bitbake/persist_data: Attempt to fix locking issuesRichard Purdie1
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>
2010-08-20bitbake/data.py: Handle exceptions in export_bars in the same way as emit_var()Richard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-20bitbake/server: Raise a shutdown event if we're seeing exceptionsRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19bitbake/runqueue.py: Ensure the flush happens as late as possible to avoid ↵Richard Purdie1
data mixups Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19bitbake/utils.py: Give useful debug information when no lineno information ↵Richard Purdie1
is available Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19Rename packaged-staging2 -> sstate and remove the old empty classRichard Purdie3
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19Revert "base.bbclass: Temporarily disable fakeroot for install/package until ↵Richard Purdie1
other fixes get merged" This reverts commit 2225e1214285f0e9a3c0ee2962b3d678c5c05292 and reenables the functionality now its safe to do so.
2010-08-19classes: Disable setscene tasks for initial testingRichard Purdie6
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19sanity.bbclass: Don't run the handler in worker contextRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19package_*.bbclass: Always run these tasks under fakerootRichard Purdie4
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>