summaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* build/conf: move sample conf files to meta/confJoshua Lock2010-08-171-2/+2
| | | | | | | Currently rm -fr build breaks things badly but will work if we move the sample configuration files to meta/conf - this patch does so. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* testlib: Add support for qemumips/qemuppc/qemux86-64, and add support for ↵Jiajun Xu2010-08-131-7/+72
| | | | | | testing with images from autobuilder Signed-off-by Jiajun Xu <jiajun.xu@intel.com>
* scripts: add qemux86-64 support to the qemu scriptsJoshua Lock2010-08-022-9/+53
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* meta/classes/rootfs_rpm.bbclass: re implement base on rpm5Mark Hatle2010-07-241-0/+11
| | | | | | | | | | | Re implement the rootfs generation using rpm5. This also gets rid of the need for yum, and handles all dep resolving internal to the script itself. The new file scripts/rootfs_rpm-extract-postinst.awk comes from the original yum integration work. It has been unchanged, but since yum is no longer used we needed to move the script somewhere else. Signed-off-by: Mark Hatle <mhatle@windriver.com>
* poky-env-internal: re-add OEROOT to the whitelisted environment variablesJoshua Lock2010-07-231-1/+1
| | | | | | | We don't want Bitbake to clean OEROOT from the environment as users may have old layer configurations which require it set. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* scripts/poky-env-internal: preserve the git proxy env varNitin A Kamble2010-07-221-1/+1
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* poky-env-internal: Print some further information for the userRichard Purdie2010-07-221-1/+7
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* poky-env-internal: Cleanup after the recent layer improvementsRichard Purdie2010-07-221-40/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* poky-env-internal/runqemu: Move BUILD_SYS handling which is runqemu specific ↵Richard Purdie2010-07-222-6/+6
| | | | | | into runqemu Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* stagemanager: Move functionality into the scripts directoryRichard Purdie2010-07-223-0/+1588
| | | | | | | | Since scripts is now in PATH thanks to the layer functionality there is no longer any need to have this recipe full of special cases, the scripts can just be placed there. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* poky-env-internal: unbreak existing build setupsJoshua Lock2010-07-221-1/+1
| | | | | | | Many users have an existing build confifured using OEROOT, re-enable exporting of this variable to unbreak their builds. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* scripts/runqemu: Path fixesSaul Wold2010-07-211-14/+14
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Enable build dir outside of the poky directoryJoshua Lock2010-07-215-45/+78
| | | | | | | | | | | | | | | | | | You need to first set up the build directory by sourcing the poky build script, after that builds can be run in that directory so long as bitbake is in $PATH removing the need to source the init script for each build. i.e: $ . poky-init-build-env ~/my-build $ bitbake some-image <<later, in a different shell>> $ cd ~/my-build $ export PATH=/path/to/bitbake/bin:$PATH $ bitbake an-image This patch also removes use of OEROOT in recipes, etc. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* qemu/mips: arrange for vmlinux to be bootableBruce Ashfield2010-07-191-1/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* test: add automation framework and sanitytestJiajun Xu2010-07-153-0/+273
| | | | | | | | | | | | | | Automation test is disabled by default. User need set TESTCLASS to qemu in conf/local.conf and run bitbake command "bitbake poky-image-xxx" or "bitbake poky-image-xxx -c qemuimagetest" to trigger it. Currently only the sanity test with two testcases are added. To run the test, user need prepare a testing environment: 1) "expect" should be installed on system 2) NOPASSWD should be set for user to run bitbake Signed-off-by Jiajun Xu <jiajun.xu@intel.com>
* poky-qemu-internal: Use 128MB memory for qemumips/qemuppcRichard Purdie2010-07-151-1/+7
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* qemu-scripts: Add support for mips and powerpc machines, update qemuarmBruce Ashfield2010-07-152-1/+56
| | | | | | | | | | | | For mips, the malta platform emulates a cirrus chipset. With the udpated 2.6.34 kernel options, we can now enable framebuffer boot for the qemumips platform. We need to pass a valid cpu (603e) and do a -nographic boot to make it all the way to a prompt so graphics is disabled for now for ppc. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* scripts/create_pull_request fix a typoNitin A Kamble2010-06-101-1/+1
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* update create_pull_request for distro/masterNitin A Kamble2010-06-101-16/+61
| | | | | | | | | With this change the create_pull_request will be able to generate pull requests to master as well as distro/master branch. Some documentation is added in the Usage messange of the script. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* poky-env-internal: fix a typoJoshua Lock2010-06-101-1/+1
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* poky-evn-internal: Add some documentation about the config file and commonly ↵Richard Purdie2010-06-101-1/+13
| | | | | | used build targets Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* scripts: Fix setting up links to cc and gcc in runqemuJoshua Lock2010-06-091-3/+13
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* Fixes for Qemu to use VGA and Touch ScreenSaul Wold2010-06-071-4/+7
| | | | | | | Added usb tablet options to poky-qemu-internal script, and adjusted the xorg.conf script for x86 to use VGA screen and tablet input device Signed-off-by: Saul Wold <saul.wold@intel.com>
* Drop vm_mmap_min_addr checks from scripts and sanity classJoshua Lock2010-05-281-7/+0
| | | | | | | QEMU 0.12.x is relocatable so we no longer need these tests, which is good because it doesn't work reliably with modern kernels. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* add a new scripts create-pull-requestNitin A Kamble2010-05-171-0/+41
| | | | | | | | | | | | | This is the 1st version of create-pull-request script. Using specified local commit-id or branch-name it generates a short description of the changes; and using poky-contrib branch-name it generates the URL where these changes are already pushed and are available for review and git-pull. I prepared this script as per the input from Richard Purdie. Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
* poky-qemu-internal Add -show-cursor to qemux86Nitin A Kamble2010-05-141-2/+2
| | | | | | | Without this option the need to do the blind guesswork about the position of the pointer. Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
* Merge branch 'tk/head' of ssh://git.pokylinux.org/poky-contribRichard Purdie2010-05-141-0/+4
|\
| * poky-env-internal: unset variables to avoid disturbing new GIT cloneKevin Tian2010-05-131-0/+4
| | | | | | | | Signed-off-by Kevin Tian <kevin.tian@intel.com>
* | Revert "poky-env-internal: Disable automatic adding of meta environments to ↵Richard Purdie2010-05-131-1/+1
|/ | | | | | | BBPATH" This reverts commit ba804d1729640a0587db8ba94bde6018570a8b0c which is a valid change but isn't working for some reason which needs further investigation.
* poky-env-internal: Disable automatic adding of meta environments to BBPATHRichard Purdie2010-05-121-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Fix references to CROSS_DIR now that it has been removedJoshua Lock2010-04-281-2/+2
| | | | | | | CROSS_DIR is no longer removed so fix up classes, packages and documentation which refer to it. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* scripts/pstage-scanner: new script to sanity test the contents of pstageJoshua Lock2010-04-271-0/+127
| | | | | | | | | | Currently the script will scan all packages in the pstage directory and log packages which contain destinations outside of the native sysroot. The script currently ignores pkgdata, stamps and deploy but does trigger the work dir for packages with a package-split file, this may well be a false positive. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* Switch to bblayers configurationRichard Purdie2010-03-221-1/+7
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* scripts/runqemu: Fix some typosJoshua Lock2010-01-141-2/+2
| | | | | | | Fix typo in help message (we default to ext3 not ext2 now) and a typo whereby moblin-image-sdk wouldn't be autofound. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* scripts: preserve BB_NUMBER_THREADS when sanitising environmentJoshua Lock2009-12-141-1/+1
| | | | | | | | It's pretty useful to be able to define BB_NUMBER_THREADS on the cli when executing bitbake. Add it to the extra whitelist defined in the poky-env-internal script. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* scripts/poky-qemu-internal: Make sure qemuarm cursor is visibleRichard Purdie2009-11-261-3/+3
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* runqemu: staging -> sysrootsRichard Purdie2009-11-251-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Add SDKMACHINE to simplify SDK control and add to CACHE paths to allow ↵Richard Purdie2009-09-181-1/+1
| | | | | | environmental variable control Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Add poky-trim-schemas post install script to remove unneeded schema locale ↵Richard Purdie2009-08-281-0/+49
| | | | | | translations from images (credit to Ross Burton for the initial script) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* scripts: Update qemux86 to use the vmmouse driver, not wacom and find moblin ↵Richard Purdie2009-06-102-3/+3
| | | | | | images Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* scripts/poky-env-internal: Add BB_SRCREV_POLICY to BB_ENV_WHITELISTRichard Purdie2009-05-271-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* scripts: Remove autobuilder scriptsRichard Purdie2009-05-095-677/+0
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* scripts/poky-qemu-internal: Add support for GL passthrough in qemux86 imagesRichard Purdie2009-01-211-2/+2
|
* scripts/runqemu: Factor image location code into a shell functionRichard Purdie2009-01-211-16/+25
|
* scripts/poky-autobuild-moblin: Add moblin-uricheck target supportRichard Purdie2009-01-061-0/+2
|
* scripts: Update qemu scripts with changes in recent qemu calling conventions ↵Richard Purdie2009-01-053-20/+20
| | | | and the switch to ext3 images
* scripts/poky-autobuild-postprocess-moblin: Share toolchain/sdk outputRichard Purdie2008-12-191-1/+2
|
* scripts/poky-autobuild-moblin: Update to share moblin-incremental imagesRichard Purdie2008-12-182-15/+47
|
* scripts/poky-autobuild-moblin: Add rm_workRichard Purdie2008-12-181-0/+1
|
* scripts/autobuild-moblin: Configuration fixupsRichard Purdie2008-12-171-9/+9
|