Commit Graph

318 Commits

Author SHA1 Message Date
Richard Purdie 897a8b5abc stagemanager: Move functionality into the scripts directory
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>
2010-07-22 11:44:28 +01:00
Joshua Lock 5c63f8a249 poky-env-internal: unbreak existing build setups
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>
2010-07-22 10:42:47 +01:00
Saul Wold 0c3b1aa0a5 scripts/runqemu: Path fixes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-21 21:49:09 +01:00
Joshua Lock 971907567c Enable build dir outside of the poky directory
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>
2010-07-21 15:39:53 +01:00
Bruce Ashfield d39ae18df2 qemu/mips: arrange for vmlinux to be bootable
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-07-19 11:59:51 -04:00
Jiajun Xu fd1d661b39 test: add automation framework and sanitytest
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>
2010-07-15 12:48:25 +01:00
Richard Purdie bd19169a60 poky-qemu-internal: Use 128MB memory for qemumips/qemuppc
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-15 12:29:35 +01:00
Bruce Ashfield 21949128eb qemu-scripts: Add support for mips and powerpc machines, update qemuarm
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>
2010-07-15 11:19:10 +01:00
Nitin A Kamble b43fd541d3 scripts/create_pull_request fix a typo
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-06-10 16:30:32 -07:00
Nitin A Kamble 1d64687d13 update create_pull_request for distro/master
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>
2010-06-10 16:30:32 -07:00
Joshua Lock 453ee8d573 poky-env-internal: fix a typo
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-10 15:59:11 +01:00
Richard Purdie d92a12f761 poky-evn-internal: Add some documentation about the config file and commonly used build targets
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-06-10 15:51:36 +01:00
Joshua Lock 2e0e24e849 scripts: Fix setting up links to cc and gcc in runqemu
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-09 17:32:01 +01:00
Saul Wold cab1009b08 Fixes for Qemu to use VGA and Touch Screen
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>
2010-06-07 16:13:00 +01:00
Joshua Lock 138df217ef Drop vm_mmap_min_addr checks from scripts and sanity class
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>
2010-05-28 15:32:41 +01:00
Nitin A Kamble bad2fe6498 add a new scripts create-pull-request
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>
2010-05-17 13:47:40 -07:00
Nitin A Kamble b2c4aee283 poky-qemu-internal Add -show-cursor to qemux86
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>
2010-05-14 11:57:27 -07:00
Richard Purdie a722741e32 Merge branch 'tk/head' of ssh://git.pokylinux.org/poky-contrib 2010-05-14 06:36:56 +08:00
Richard Purdie ad136ddeef Revert "poky-env-internal: Disable automatic adding of meta environments to BBPATH"
This reverts commit ba804d1729 which is a valid
change but isn't working for some reason which needs further investigation.
2010-05-13 17:07:17 +08:00
Kevin Tian 5a3f17ee6b poky-env-internal: unset variables to avoid disturbing new GIT clone
Signed-off-by Kevin Tian <kevin.tian@intel.com>
2010-05-13 16:27:01 +08:00
Richard Purdie ba804d1729 poky-env-internal: Disable automatic adding of meta environments to BBPATH
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-05-12 15:28:54 +08:00
Joshua Lock 6458da896f Fix references to CROSS_DIR now that it has been removed
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>
2010-04-28 16:47:14 +01:00
Joshua Lock d2c6f3ef36 scripts/pstage-scanner: new script to sanity test the contents of pstage
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>
2010-04-27 16:58:43 +01:00
Richard Purdie 90040ce7b5 Switch to bblayers configuration
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22 18:11:41 +00:00
Joshua Lock 7b41d2b3d1 scripts/runqemu: Fix some typos
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>
2010-01-14 13:42:16 +00:00
Joshua Lock ceb91f7b2b scripts: preserve BB_NUMBER_THREADS when sanitising environment
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>
2009-12-14 17:46:59 +00:00
Richard Purdie 2c1211bab9 scripts/poky-qemu-internal: Make sure qemuarm cursor is visible
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-26 09:18:08 +00:00
Richard Purdie b6b45ca538 runqemu: staging -> sysroots
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-25 14:53:37 +00:00
Richard Purdie 1d4f93e8f6 Add SDKMACHINE to simplify SDK control and add to CACHE paths to allow environmental variable control
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-18 10:01:33 +01:00
Richard Purdie d5341fb796 Add poky-trim-schemas post install script to remove unneeded schema locale translations from images (credit to Ross Burton for the initial script)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-08-28 17:11:57 +01:00
Richard Purdie de687629d8 scripts: Update qemux86 to use the vmmouse driver, not wacom and find moblin images
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-06-10 12:15:48 +01:00
Richard Purdie 05a296b204 scripts/poky-env-internal: Add BB_SRCREV_POLICY to BB_ENV_WHITELIST
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-05-27 23:18:45 +01:00
Richard Purdie 62d3720668 scripts: Remove autobuilder scripts
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-05-09 15:28:17 +01:00
Richard Purdie 072545b111 scripts/poky-qemu-internal: Add support for GL passthrough in qemux86 images 2009-01-21 17:40:51 +00:00
Richard Purdie e121f9eb59 scripts/runqemu: Factor image location code into a shell function 2009-01-21 11:35:01 +00:00
Richard Purdie fa89b73e25 scripts/poky-autobuild-moblin: Add moblin-uricheck target support 2009-01-06 09:30:55 +00:00
Richard Purdie eae7eb5bd5 scripts: Update qemu scripts with changes in recent qemu calling conventions and the switch to ext3 images 2009-01-05 16:00:31 +00:00
Richard Purdie a42718c5b9 scripts/poky-autobuild-postprocess-moblin: Share toolchain/sdk output 2008-12-19 15:47:07 +00:00
Richard Purdie 0f918b445e scripts/poky-autobuild-moblin: Update to share moblin-incremental images 2008-12-18 16:43:03 +00:00
Richard Purdie c3f6d464a1 scripts/poky-autobuild-moblin: Add rm_work 2008-12-18 09:26:52 +00:00
Richard Purdie bc1ce63c1d scripts/autobuild-moblin: Configuration fixups 2008-12-17 17:18:27 +00:00
Richard Purdie da743fb70c scripts/poky-qemu-internal: Add usb commandline to nfs mounted images 2008-12-15 10:58:03 +00:00
Richard Purdie a8b0e8a034 scripts/poky-env-internal: Add SSH_AUTH_SOCK and SSH_AGENT_PID to BB_ENV_WHITELIST 2008-12-03 15:41:54 +00:00
Richard Purdie 1e967ea93e scripts/poky-env-internal: Fix PATH 2008-11-06 15:21:36 +00:00
Richard Purdie 9715260c35 scripts/poky-env-internal: Automatically add in additional meta- repositories if found 2008-11-06 14:40:30 +00:00
Richard Purdie 9586e75e26 scripts/poky-autobuild-moblin: Update the proxy config and add rpm packages to the build list 2008-11-04 19:35:06 +00:00
Richard Purdie 777f269259 scripts/poky-autobuild-moblin: Add GIT PROXY variables 2008-11-04 13:51:23 +00:00
Richard Purdie b249501844 scripts/poky-autobuild-moblin: Set GIT_PROXY_COMMAND 2008-11-03 17:20:21 +00:00
Richard Purdie fa88660ee6 scripts/poky-autobuild-moblin: Add extra variables to the whitelist 2008-10-30 23:04:21 +00:00
Rob Bradford 0dc1dc4fbb poky-env-internal: Add quoting to support zsh.
Patch from Carl Simonson <simonsonc@gmail.com>.
2008-10-30 11:14:24 +00:00
Richard Purdie db140d9ce0 scripts/poky-env-internal: Add POKYMODE to BB_ENV_WHITELIST 2008-10-28 22:10:45 +00:00
Richard Purdie 23f08fdde3 scripts/poky-env-internal: Unset BDIR after use 2008-10-28 10:01:03 +00:00
Richard Purdie e4aa77e88e scripts/build: Update the git proxy setup instructions 2008-10-23 15:12:41 +01:00
Richard Purdie 4329a29db5 scripts/poky-env-internal: Add proxy variables to the enviornment whitelist (and OEROOT) 2008-10-22 21:56:30 +01:00
Richard Purdie 2236c01164 scripts: Fix variable quoting 2008-10-22 20:31:56 +01:00
Richard Purdie ebb74a63e1 scripts: Add moblin autobuilder support scripts 2008-10-22 20:27:16 +01:00
Samuel Ortiz e5c53ce035 netbook: changed platform name from eee901 to netbook
We want to have a more generic platform definition.
The netbook machine one currently supports the eee901 and the aspire one.
We also moved the machine and netbook image definitions to meta-moblin.
2008-10-21 16:01:02 +02:00
Richard Purdie c16dee4ff9 scripts/pokyABConfig.py: Add poky-image-netbook-live
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5437 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-07 16:59:53 +00:00
Richard Purdie ceb7254954 scripts/poky-autobuild-postprocess: Add eee901 minimal image
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5422 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-06 16:18:04 +00:00
Richard Purdie 8d90e33c3a scripts/poky-autobuild-postprocess: Add eee901
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5421 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-06 16:16:57 +00:00
Richard Purdie f0e249f5eb scripts/poky-env-internal: Add MACHINE, DISTRO and POKYLIBC to the environment whitelist for starters
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5348 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-30 21:00:37 +00:00
Richard Purdie 22699496ae pokyABConfig.py: Add eee901 builds
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5179 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-10 22:54:21 +00:00
Marcin Juszkiewicz 29346602b4 poky-nokia800-flashutil: merged offsets from Andrew script and added Diablo notes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5024 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-08-08 07:41:33 +00:00
Richard Purdie dba4931a29 scripts/poky-qemu-internal: Fix networking on qemuarm ext2 images
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4940 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-24 13:51:45 +00:00
Marcin Juszkiewicz cf9ecbaa6d poky-qemu-internal: added support for qemuarmv6/7
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4927 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-22 11:26:14 +00:00
Richard Purdie dc1789a5ab scripts/pokyABConfig.py: Add 3430ldp and beagleboard
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4884 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-18 16:47:05 +00:00
Joshua Lock 932d0b00da Use /sbin/iptables if which iptables fails.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4733 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-26 14:27:31 +00:00
Richard Purdie e38122a26d scripts/poky-autobuild: Activate poky-autobuild-notifier
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4680 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-17 11:49:36 +00:00
Richard Purdie 83b46ebc65 pokyABConfig.py: Add om-gta02
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4542 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-22 10:25:09 +00:00
Richard Purdie 8b243f4e1c poky-qemu.README: Minor updates
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4535 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-22 08:22:47 +00:00
Richard Purdie e95249b659 Rename fic-gta01 to om-gta01 as per upstream
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4534 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-22 08:22:15 +00:00
Ross Burton 217b864ca3 Use /sbin/fdisk because not all systems has /sbin in PATH
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4470 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-14 12:57:11 +00:00
Marcin Juszkiewicz 909ea433f1 poky-qemu-ifup: added NAT setup
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4457 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-08 10:56:40 +00:00
Richard Purdie f6d5b98a58 scripts/poky-qemu-internal: Check /proc/sys/vm/mmap_min_addr value and error if its potentially problematic
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4437 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-06 09:22:01 +00:00
Richard Purdie 82c04d1283 scripts/pokyABConfig.py: Add meta-toolchain-sdk to darwin builds too
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4434 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-05 23:20:33 +00:00
Richard Purdie 3f92181944 scripts/pokyABConfig.py: Add meta-toolchain to darwin builds
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4430 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-05 22:47:18 +00:00
Marcin Juszkiewicz f715ee6df7 poky-qemu-internal: give 128M for qemux86 - otherwise generating of locales fails
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4412 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-05 08:26:05 +00:00
Richard Purdie 3f3eaca7ee scripts/pokyABConfig.py: Change darwin builds back to full instead of incremental
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4398 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-01 14:02:30 +00:00
Richard Purdie d367e44e3f scripts/poky-autobuild: Correctly update the extra meta-darwin checkout
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4397 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-01 13:14:17 +00:00
Richard Purdie d85e5ffbbd scripts/pokyABConfig.py: Make darwin autobuild incremental temporarily
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4384 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-01 10:52:00 +00:00
Richard Purdie d14f7bd079 scripts/poky-autobuild: Fix quoting
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4382 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-01 10:16:16 +00:00
Richard Purdie 21d5869e1c scripts/poky-autobuild: Fix darwin code to append, not overwrite
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4381 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-01 09:57:16 +00:00
Richard Purdie d9bb8113c5 scripts: Add meta-darwin build to the autobuilder
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4380 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-01 09:49:43 +00:00
Richard Purdie 732e3cab7a scripts/poky-autobuild: Really fix return value
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4379 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-01 09:17:19 +00:00
Richard Purdie 04c650ae4f scripts/poky-autobuild: Preserve exit code
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4374 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-30 13:10:28 +00:00
Richard Purdie 7b717d201a pokyABConfig.py: Fix typo
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4373 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-30 12:41:31 +00:00
Richard Purdie a010a4c964 scripts/pokyABConfig.py: Add checkuriall test for qemuarm world
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4372 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-29 21:04:55 +00:00
Richard Purdie da27611bc9 poky-autobuild: Attempt to clean up scripts slightly
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4371 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-29 21:01:34 +00:00
Richard Purdie 5d5fab77cf scripts: Allow passing multiple parameters to the autobuilder
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4370 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-29 17:12:25 +00:00
Richard Purdie 01daae9a5d scripts/poky-autobuild-postprocess: Ignore chmod failures
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4368 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-28 23:23:02 +00:00
Richard Purdie 6a64dc642b scripts/poky-autobuild-postprocess: Don't clean the destination directory
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4367 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-28 22:47:48 +00:00
Richard Purdie aab46e602b scripts/poky-autobuild-postprocess: Remove paths from script
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4366 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-28 21:58:49 +00:00
Richard Purdie ff0595128b scripts/poky-autobuild-postprocess: Fix typo
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4365 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-28 20:32:31 +00:00
Richard Purdie 15218d47fd scripts/poky-autobuild: Further path fixes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4364 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-28 20:19:50 +00:00
Richard Purdie f466228e14 scripts/poky-autobuild: Fix directory expectations of the postprocess scripts
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4363 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-28 20:16:24 +00:00
Richard Purdie 40d86fde50 scripts/poky-autobuild: Fix ordering
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4362 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-28 19:29:37 +00:00
Richard Purdie 46e8a36d8e scripts/poky-autobuild: Source the environmental setup script earlier
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4361 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-28 18:50:49 +00:00
Richard Purdie 6b8df05147 scripts: Update autobuilder scripts to run postprocess after each task completes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4360 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-28 16:40:06 +00:00
Richard Purdie e88c64181a scripts: Add extra autobuilder config
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4359 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-28 15:05:43 +00:00
Richard Purdie 56a4a6f5c8 scripts/poky-qemu-internal: Enable n800 networking
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4333 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-24 22:13:25 +00:00
Ross Burton e02398f08d Fix runqemu to handle clearing args
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4328 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-24 14:50:41 +00:00
Ross Burton 85049069b0 Allow user-specified options to be passed to qemu via poky-qemu
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4327 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-24 14:30:55 +00:00
Richard Purdie 6543b12207 poky-nokia800-flashutil: Remove .16k file
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4316 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-23 10:01:18 +00:00
Richard Purdie 8add63f66d scripts/poky-qemu: Add support for the nokia800-maemo machine
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4315 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-23 09:58:18 +00:00
Richard Purdie 40a6551e85 scripts/poky-qemu: Add nokia800 support
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4227 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-10 10:25:45 +00:00
Richard Purdie faf55131c9 scripts: Add support for nokia800 to runqemu
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4226 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-10 09:50:54 +00:00
Richard Purdie a546b63011 scripts: Add git proxy script
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4193 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-08 11:31:08 +00:00
Richard Purdie 36ed211c35 scripts: Mark qemu scripts as bash specific to avoid dash problems and error if a suitable qemu binary can't be found
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3859 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-22 16:23:33 +00:00
Ross Burton 251ff09c88 Don't allow custom GConf schema paths to get into the system
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3750 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-11 16:40:15 +00:00
Richard Purdie 1f1bd04e95 scripts/poky-qemu-internal: Fix no-reboot option handling for qemuarm
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3674 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-06 12:02:10 +00:00
Richard Purdie b9c9360d80 scripts/runqemu: Append to CROSSPATH after creating symlinks
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3668 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-04 19:30:14 +00:00
Richard Purdie ca2c506f96 scripts/poky-qemu-internal: Fix PATH usage to find qemu binary
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3667 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-04 19:29:39 +00:00
Richard Purdie 06b097f2c8 poky-chroot-setup: Copy hosts resolv.conf into the guest system to make DNS resolution work
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3656 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-01 11:03:55 +00:00
Richard Purdie 5bc44c708b scripts: Fix sdk compiler location handling
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3652 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-31 18:45:32 +00:00
Richard Purdie d0dae3b616 scripts: Always try to start distccd, improve distccd cleanup, add SDK directory to the search path so any cross compiler installed in /usr/local/poky is found and used, add ifdown script to avoid warning messages
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3649 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-31 17:42:44 +00:00
Richard Purdie d9630462e3 scripts/poky-chroot-run: Make sure Xephyr and chrootuid are installed
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3630 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-30 16:20:55 +00:00
Richard Purdie 2713386f23 scripts: Add poky-chroot scripts (credit should mainly go to Ross)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3627 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-30 15:37:49 +00:00
Richard Purdie 551987f968 poky-qemu-internal: Add -no-reboot option for poky-qemu-internal since can't halt
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3571 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-22 14:12:47 +00:00
Richard Purdie 1a89cd510d scripts: Further quoting fixes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3443 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-09 20:13:45 +00:00
Richard Purdie 4a7acb65f6 scripts: Various tweaks/fixes for the qemu scripts
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3440 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-09 14:14:12 +00:00
Richard Purdie 60b925a1f6 poky-autobuild: Increase threads to 6
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3244 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-27 14:48:42 +00:00
Richard Purdie 4d5b401bc6 runqemu: Fix path after staging layout changes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3204 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-22 16:57:02 +00:00
Richard Purdie eeaeae473c poky-autobuild: overwrite instead of appending to svninfo
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2843 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-05 14:17:08 +00:00
Richard Purdie a0ad9da376 scripts/poky-autobuild: Add support for a POSTPROCESS command
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2842 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-05 12:40:19 +00:00
Richard Purdie 8e4a14b775 poky-qemu-internal: Don't exit from sourced scripts, return
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2226 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-25 10:39:44 +00:00
Richard Purdie 3b53e52a7e poky-env-internal: Return in error case
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2225 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-25 10:37:56 +00:00
Richard Purdie cab3268516 poky-autobuild: Fix to work with enivoriment changes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2198 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-17 15:38:33 +00:00
Richard Purdie 7d44fdb7dc poky-env-internal: fixes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2197 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-17 14:42:16 +00:00
Richard Purdie 854a97c641 poky-env-internal: Allow user to overide build directory
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2195 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-17 13:29:36 +00:00
Richard Purdie 21b7fabf6a poky-env-internal: Fix quoting
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2194 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-17 13:26:55 +00:00
Richard Purdie 58184103e4 runqemu: Fix image names
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2193 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-17 13:25:31 +00:00
Richard Purdie 2abccca834 poky-env-internal: Revert accidental commit
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2122 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-05 23:03:36 +00:00
Richard Purdie 823dcb9c76 runqemu: Use pda image if sdk image not available for qemu machines
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2121 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-05 22:42:14 +00:00
Richard Purdie a5e790a6fc runqemu: Use pda image if sdk image not available for qemu machines
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2120 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-05 22:40:07 +00:00
Richard Purdie 9f15140b5d Rename oh-image -> poky-image
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2020 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-27 12:18:02 +00:00
Ross Burton 98b1165d9a Unset PYTHONPATH otherwise Python really breaks
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1848 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-02 17:05:42 +00:00
Richard Purdie 8142b95bf2 Update copyright
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1734 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-05-16 13:48:29 +00:00
Richard Purdie 55bfe71178 poky-autobuild: Add generation of auto.conf
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1605 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-05-08 11:52:33 +00:00
Richard Purdie ce7b2cdd2b poky-qemu-internal: Catch up with rotation option changes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1519 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-18 13:08:39 +00:00
Richard Purdie 74679918ba autobuild script: Remove images-complete stamp before building
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1495 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-12 17:19:16 +00:00
Marcin Juszkiewicz 6167cc6e71 poky-qemu.README: added info about nfs-server in images, removed note about ifconfig as it works out-of-box now
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1415 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-03-30 12:30:46 +00:00
Richard Purdie 1befef8773 scripts: Add complete and preamble commands to autobuilder scripts
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1389 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-03-23 10:58:00 +00:00
Richard Purdie 3cce9ba903 scripts: Add support to scripts for spitz images
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1216 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-30 12:23:57 +00:00
Richard Purdie 86db48cd17 scripts: Add framework for supporting akita images under qemu
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1214 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-29 17:03:29 +00:00
Ross Burton 85788ed18f Fix regexp to work with qemux86
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1163 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-18 11:38:52 +00:00
Ross Burton e0c47a055c Remove newlines in echos
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1160 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-17 16:36:32 +00:00
Ross Burton 3408e51a6e Fix machine guessing sed
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1159 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-17 16:19:27 +00:00
Ross Burton b26da611c8 Remove bashism
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1157 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-17 15:55:35 +00:00
Richard Purdie 990788b295 scripts: Rename scripts, update README
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1146 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-16 13:49:34 +00:00
Richard Purdie 6531611d9a runqemu: Tweak scripts
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1145 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-16 12:35:15 +00:00
Richard Purdie 295818470a runqemu: Revamp scripts, splitting into a core internal script and two helpers, one for use within poky, one outside poky
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1144 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-16 12:23:08 +00:00
Ross Burton f63e7159da Remove bashism
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1003 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-12-05 12:09:24 +00:00
Richard Purdie 67d732d513 scripts/runqemu: Remove some duplication
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@996 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-12-04 12:29:41 +00:00
Richard Purdie 6a83bb19de scripts/runqemu: Add distcc support
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@995 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-12-04 11:43:27 +00:00
Richard Purdie d35635aff2 scripts/runqemu improvements:
* Try harder to find ifconfig
 * Error out if the environment isn't correct
 * Tell the user we're running sudo


git-svn-id: https://svn.o-hand.com/repos/poky/trunk@989 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-30 11:16:21 +00:00
Richard Purdie 14d1d6d879 scripts: Move main contents of poky-init-build-env to scripts/poky-env-internal. Add poky-autobuild script for autobuilder use.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@948 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-23 12:15:17 +00:00
Richard Purdie 131c98c899 runqemu: Refactor network device commandlines and enable for qemux86 ext2 images (qemuarm ext2 images attempt dhcp and hang for some reason)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@879 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-20 12:22:28 +00:00
Richard Purdie 31f507e291 runqemu: Use different nfs paths for qemuarm and qemux86
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@878 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-20 12:00:47 +00:00
Richard Purdie af60f8fd9a scripts/runqemu: Add qemux86 support
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@877 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-20 11:56:30 +00:00
Richard Purdie 4a9392f5a3 Improve the qemu scripts and documentation (qemux86 support isn't complete yet)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@867 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-17 11:08:32 +00:00
Matthew Allum ae40c627ce Various minor tweaks to get qemu emulating a touchscreen device
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@772 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-09-28 14:38:53 +00:00
Chris Lord d1da9bfc6c Update qemu-nfs script to work with versatile/PB kernel
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@700 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-09-08 11:02:05 +00:00
Matthew Allum 6527a79616 Add qemu-ext2 script and new notes to README
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@678 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-29 22:16:35 +00:00
Chris Larson e35e618fba Rename rewrite.py to jhbuild2oe.py.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@599 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-10 06:43:09 +00:00
Chris Larson 2459137316 Bugfix in the jhbuild emitter: wasn't properly emitting for templated packages.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@598 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-10 06:42:29 +00:00
Chris Larson 0c8c140519 First pass of the emitter for the jhbuild script.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@590 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-07 10:24:05 +00:00
Chris Larson c7274f6f00 Add the partial rewrite of my jhbuild -> oe metadata conversion tool, along with some modulesets for use with it. Will check in the missing piece of the tool shortly.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@589 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-07 06:53:34 +00:00
Matthew Allum 6e6b3818fa Added scripts dir
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@584 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-07-28 19:47:37 +00:00