summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* package_(deb|rpm): Update to use packaged-staging2Joshua Lock2010-08-192-10/+30
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* package_ipk.bbclass: Convert to new task based stagingRichard Purdie2010-08-191-2/+15
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Start sstateRichard Purdie2010-08-192-1/+298
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* bitbake: Initial scenequeue implementation (needs major fixes)Richard Purdie2010-08-191-24/+262
| | | | | | | 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>
* gcc_4.5.0: fix for arm kernel failureNitin A Kamble2010-08-1910-10/+10
| | | | | | | | | | | | | 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>
* elfutils: Add GNU_HASH support to elf*_xlatetofMark Hatle2010-08-192-1/+39
| | | | | | 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>
* net-tools: add new recipe (1.60-23)Kevin Tian2010-08-193-0/+188
| | | | | | | | | | | | | 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>
* pax: add 3.4 as new recipeZhai Edwin2010-08-191-0/+16
| | | | Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* gzip: Add 1.3.12(GPLv2) as new recipeZhai Edwin2010-08-193-0/+137
| | | | | | | 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>
* distr-tracking: add MAINTAINER and version info for rest recipesKevin Tian2010-08-1912-208/+1116
| | | | | | | | | | 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>
* xinetd: Drop INHIBIT_AUTO_STAGE, this does nothing in PokyRichard Purdie2010-08-191-2/+0
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* xinetd: add xinetdYu Ke2010-08-196-0/+386
| | | | | | | | | 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>
* autotools.bbclass: Drop a number of legacy functions that shouldn't be (and ↵Richard Purdie2010-08-191-33/+1
| | | | | | aren't) used in poky now Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* mktemp: add mktemp packageYu Ke2010-08-192-0/+39
| | | | | | | | | | 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>
* cracklib: add new packageYu Ke2010-08-191-0/+12
| | | | | | | cracklib is a pro-active password checker library this commit add cracklib from scratch. Signed-off-by: Yu Ke <ke.yu@intel.com>
* ed: add GPLv2 version.Dongxiao Xu2010-08-191-0/+11
| | | | | | Add the latest GPLv2 of ed (0.5) into poky system Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* eglibc: recipe cleanupNitin A Kamble2010-08-192-18/+12
| | | | | | | This removes unneccesary dependancys. And avoids glibc being built when eglibc is configured. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* distro_tracking: update maitanier for toolchain/devel recipesNitin A Kamble2010-08-191-3/+47
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* rsync: explicitly disable xattr and aclQing He2010-08-191-1/+3
| | | | Signed-off-by: Qing He <qing.he@intel.com>
* gamin: add glib-2.0 as dependencyQing He2010-08-191-1/+2
| | | | Signed-off-by: Qing He <qing.he@intel.com>
* bitbake/runqueue.py: Factor task skipping code into a functionRichard Purdie2010-08-191-5/+8
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>