summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
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>
2010-08-19bitbake/runqueue.py: Fix runqueue UI issuesRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19bitbake: Switch to use subprocess for forking tasks and FAKEROOTENV to run ↵Richard Purdie7
shell and python under a fakeroot environment Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19Remove packaged-staging.bbclassRichard Purdie2
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19deploy.bbclass: use new style staging for deploy tasksJoshua Lock11
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>
2010-08-19package.bbclass: Implement packaged-staging2Richard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19staging.bbclass: Convert to packaged-stagingRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19package_(deb|rpm): Update to use packaged-staging2Joshua Lock2
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-08-19package_ipk.bbclass: Convert to new task based stagingRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19Start sstateRichard Purdie2
Add pre clean hook Add sstate_installpkg sstate: Tie all pieces together with a setscene function Use pythonic functions rather than os.system() Implement sstate_clean function package_ipk: clean shared state in prestate packaged-staging2: implement fetching packages from mirror Copy add staging_fetch() from packaged-staging.bbclass packaged-staging2: make the output slightly friendlier packaged-staging2: handle directories in the shared state Add directories to the manifest when installing and remove them if empty when cleaning. Move most of the sstate code into the class itself removing the need for heavy boilderplate packaged-staging2: Programatically ensure directories are last in the manifest packaged-staging2: add cleanall packaged-staging2.bbclass: Connect in cleanall function to do_clean We want to ensure that directories appear at the end of the manifest so that when we test to see if they should be deleted any contents added by the task will have been removed first. pstage2: Use oe.path.copytree packaged-staging2: support lockfiles and plaindirs Signed-off-by: Richard Purdie <rpurdie@linux.intel.com> Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-08-19bitbake: Initial scenequeue implementation (needs major fixes)Richard Purdie1
bitbake: scenequeue: Skip setscene if the underlying task already ran bitbake/setscene: Make sure uneeded dependencies are removed recursively Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19gcc_4.5.0: fix for arm kernel failureNitin A Kamble10
From this bugzilla: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44129 gcc 4.5.0 has target space optimization issues on arm also. Added a fix similar to ppc. This should fix [BUGID #212] Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-08-19elfutils: Add GNU_HASH support to elf*_xlatetofMark Hatle2
Add GNU_HASH and LIB types to the size table used by elf*_xlatetof in order to avoid a divide by zero error. Signed-off-by: Mark Hatle <mhatle@windriver.com>
2010-08-19net-tools: add new recipe (1.60-23)Kevin Tian3
Borrow from OpenEmbedded with below difference: - use Debian as the SRC_URI - instead of copying all Debian locally, handle it in recipe automatically which eases our maintenance effort in the future - enable gettext It's said the net-tools is deprecated by iproute2. However not all utilities are replaced yet, such as hostname, domainname, netstat, slattach, ... Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-08-19pax: add 3.4 as new recipeZhai Edwin1
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-08-19gzip: Add 1.3.12(GPLv2) as new recipeZhai Edwin3
Remove AC_USE_SYSTEM_EXTENSIONS to fix autoconf error, and rename a function to avoid duplicated defination between gblic and gunlib Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-08-19distr-tracking: add MAINTAINER and version info for rest recipesKevin Tian12
This commit add basic distro-tracking fields (status/maintainer/latest_ver) for rest recipes in world target. There may still have some missing, but most have been made up this time In total 279 pacakges are touched Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-08-19xinetd: Drop INHIBIT_AUTO_STAGE, this does nothing in PokyRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19xinetd: add xinetdYu Ke6
xinetd is highly configurable, modular and secure inetd. this commmit add xinetd 2.3.14. The receipts is borrowed from OE, with following changes: - upgrade the version from 2.3.13 to 2.3.14 - pick three patches from debian xinetd 2.3.14-7. Signed-off-by: Yu Ke <ke.yu@intel.com>
2010-08-19autotools.bbclass: Drop a number of legacy functions that shouldn't be (and ↵Richard Purdie1
aren't) used in poky now Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19mktemp: add mktemp packageYu Ke2
Mktemp is a small program to allow safe temporary file creation from shell scripts. this commit add mktemp 1.7. it is borrowed from open embedded with following changes: - upgrade from 1.6 to 1.7 - remove the patch add_destdir.patch, since this patch is already included in 1.7. Signed-off-by: Yu Ke <ke.yu@intel.com>
2010-08-19cracklib: add new packageYu Ke1
cracklib is a pro-active password checker library this commit add cracklib from scratch. Signed-off-by: Yu Ke <ke.yu@intel.com>
2010-08-19ed: add GPLv2 version.Dongxiao Xu1
Add the latest GPLv2 of ed (0.5) into poky system Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>