summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* send-pull-request: remove local mta supportDarren Hart2011-05-191-87/+21
| | | | | | | | | | | | There is no real value in supporting sendmail directly when git can be configured to use it. The script used to generate the pull request mails relies heavily on git, so doing so here does not impose any additional dependencies and it greatly reduces the complexity of this script. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Cc: Otavio Salvador <otavio@ossystems.com.br>
* send-pull-request: whitespace cleanupDarren Hart2011-05-191-125/+125
| | | | | | | | Indent with tabs, not spaces, for consistency with other bash scripts. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Cc: Otavio Salvador <otavio@ossystems.com.br>
* create-pull-request: provide an RFC mode via -c argumentDarren Hart2011-05-191-2/+22
| | | | | | | | | | | | | | | | | Currently it is difficult to know if a pull request is being sent for review or just to be pulled. Add a -c argument to add RFC to the subject prefix and a blurb requesting review to the cover letter. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Acked-by: Joshua Lock <josh@linux.intel.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Saul Wold <sgw@linux.intel.com> Cc: Paul Eggleton <paul.eggleton@intel.com> Cc: Joshua Lock <josh@linux.intel.com> Cc: Otavio Salvador <otavio@ossystems.com.br>
* create-pull-request: rewrite known private URLs to public URLsDarren Hart2011-05-191-1/+13
| | | | | | | | | | | | | | | | | | | | | | Rather than requiring users to have public remotes and private remotes when their development remotes are ssh based (and therefor unsuitable for a pull request URL), rewrite the ones we know about from ssh://git@ to git://. As the remote url vary from remote to remote, do the REMOTE_REPO regex per remote. With this infrastructure in place, future patches can augment the list of known remotes for things like Git Hub, Gitorious, kernel.org, etc. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Acked-by: Joshua Lock <josh@linux.intel.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Tom Rini <tom_rini@mentor.com> Cc: Tom Rini <tom_rini@mentor.com> Cc: Martin Jansa <martin.jansa@gmail.com> Cc: Otavio Salvador <otavio@ossystems.com.br> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Joshua Lock <josh@linux.intel.com>
* create-pull-request: use git request-pull and arbitrary remotesDarren Hart2011-05-191-26/+52
| | | | | | | | | | | | | | | | | | | | Allow for arbitrary remotes via a new -u argument. Remove the hard coded references to the pokylinux repositories. Create the WEB_URL from known remotes. Future patches can add additional WEB_URL mappings for remotes like Git Hub, Gitorious, and kernel.org. Rather than duplicating the git request-pull command ourselves, just use the existing one. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Acked-by: Joshua Lock <josh@linux.intel.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Tom Rini <tom_rini@mentor.com> Cc: Tom Rini <tom_rini@mentor.com> Cc: Martin Jansa <martin.jansa@gmail.com> Cc: Otavio Salvador <otavio@ossystems.com.br> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Joshua Lock <josh@linux.intel.com>
* create-pull-request: whitespace cleanupDarren Hart2011-05-191-39/+39
| | | | | | | | Indent with tabs, not spaces, to be consistent with other bash scripts. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Cc: Otavio Salvador <otavio@ossystems.com.br>
* create-pull-request: alphabetize argumentsDarren Hart2011-05-191-5/+5
| | | | | | | | Some initial cleanup prior to a significant overhaul. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Cc: Otavio Salvador <otavio@ossystems.com.br>
* scripts/oe-buildenv-internal: Improve message when bitbake is missingRichard Purdie2011-05-181-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/oe-setup-builddir: Add missing .sample extensions and default to ↵Richard Purdie2011-05-161-2/+4
| | | | | | meta/conf for sample files Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/oe-setup-builddir: fix typoOtavio Salvador2011-05-101-1/+1
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* qemu-script: Fix qemu seg fault if install Nvidia proprietary driver.Zhai Edwin2011-05-101-2/+11
| | | | | | This fix works on Ubuntu, and other distro can add its own path of Mesa's libGL Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* qemuimagetest: Add executable permission to test scripts for toolchainJiajun Xu2011-05-043-0/+0
| | | | | | | | | | The file mode bits of toolchain test scripts is 644, which could not be executed by user. Fix the issue by adding executable permission(755) to all test scripts for toolchain test. Signed-off-by Jiajun Xu <jiajun.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemuimagetest: Enable toolchain automation tests in qemuimagetestJiajun Xu2011-05-049-1/+339
| | | | | | | | | | | Enable toolchain automation tests in qemuimagetest framework. 3 C/C++ test projects are added to test toolchain - cvs, iptables and sudoku-savant. User needs to set TEST_SCEN to "toolchain" in local.conf to enable tests. Test case will check if toolchain tarball exists under "${DEPLOY_DIR}/sdk". And it will extract toolchain tarball into /opt. It requires user to chown /opt to non-root user, who will run qemuimagetest. Signed-off-by Jiajun Xu <jiajun.xu@intel.com>
* create-lsb-iamge:Fix bugsXiaofeng Yan2011-05-041-1/+1
| | | | | | Change variables "${ARCH}" to "${1}" Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
* create-lsb-image:Rename creat-lsb-image and fix some bugsXiaofeng Yan2011-04-242-198/+228
| | | | | Rename creat-lsb-image to create-lsb-image Fix some fuctions for more practical
* Further cleanup of various poky referencesRichard Purdie2011-04-2111-39/+48
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/runqemu.README: Clean this up to accurately reflect what the runqemu ↵Richard Purdie2011-04-211-68/+20
| | | | | | command now does Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqemu-extra-sdk: Update function usage to clearly reflect its meaningRichard Purdie2011-04-211-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Rename ~/.poky-sdk/ temp workdir to ~/.runqemu-sdk/Richard Purdie2011-04-213-8/+8
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* POKY_QEMU_IFUP -> RUNQEMU_IFUPRichard Purdie2011-04-201-3/+3
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Rename the remaining poky-* scripts to oe-* or runqemu-*Richard Purdie2011-04-2013-15/+15
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky-setup-builddir: Rename to oe-setup-builddir and clean up POKY variable ↵Richard Purdie2011-04-201-18/+18
| | | | | | references Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Replace POKY_KVM_WIKI -> YOCTO_KVM_WIKIRichard Purdie2011-04-201-4/+4
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* POKY_NATIVE_SYSROOT -> OECORE_NATIVE_SYSROOTRichard Purdie2011-04-206-27/+27
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Rename poky-image-* -> core-image-* and task-poky-* -> task-core-*Richard Purdie2011-04-2024-29/+29
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Replace POKYBASE with COREBASERichard Purdie2011-04-2013-13/+13
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove obsolete scripts/classesRichard Purdie2011-04-202-200/+0
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Rename poky-qemu to runqemuRichard Purdie2011-04-2019-34/+34
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Rename poky-init-build-env to oe-init-build-envRichard Purdie2011-04-203-2/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/poky-qemu-internal: call stty sane before exitKhem Raj2011-03-311-2/+4
| | | | | | | | | | | | | When qemu is booted into console with -nographics then after exiting the terminal line settings are messed up. This patch calls stty sane to restore the terminal settings to default. stty is part of coreutils which is installed on all host distros hence there is no need to warn about it being available or not Signed-off-by: Khem Raj <raj.khem@gmail.com>
* scripts/poky-qemu-internal: Add rw to KERNCMDLINE for non nfs boots as wellKhem Raj2011-03-211-5/+5
| | | | | | | Without using rw the ext3 images boot the kernel but do not spawn the console at the end Signed-off-by: Khem Raj <raj.khem@gmail.com>
* scripts/poky-qemu-internal: Pass -m <mem_size> always on commandlineKhem Raj2011-03-211-15/+17
| | | | | | | | | | | There is a nasty bug in qemu 0.14.0 where it over writes device memory if the default sizes was not specified on commandline. It can be worked around by this patch. I also simplified the memory size calculation logic a bit so we append 'M' to QEMU_MEMORY at the very end instead of sed'ing it afterwards Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Shift a few env bits into scripts/bitbakeChris Larson2011-03-212-3/+5
| | | | | | | | | | | This attempts to separate the bits we *require* to run bitbake with oe-core via the wrapper script, and which are independent of the build environment (PSEUDO_DISABLED, PSEUDO_BUILD, BBFETCH2) from those which are more particular to poky-init-build-env's way of setting things up (e.g. adding MACHINE to BB_ENV_EXTRAWHITE, relying on OEROOT, etc). This should make it easier to use scripts/bitbake with non-standard workflows. Signed-off-by: Chris Larson <chris_larson@mentor.com>
* scripts/bitbake: add -g/--graphviz to NO_BUILD_OPTSChris Larson2011-03-211-1/+1
| | | | Signed-off-by: Chris Larson <chris_larson@mentor.com>
* qemu: make warning messages consistent in formatDarren Hart2011-03-181-8/+9
| | | | | | | | | | Try to make the output of the qemu script a bit more consistent by using the same format for the various warning messages: WARNING: description of warning. Detailed description of warning, actions taken, and/or instructions to user. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* qemu: warn user if nVidia libGL is detected (leads to qemu segfault)Darren Hart2011-03-181-1/+13
| | | | | | | | | | | | | | | | nVidia's OpenGL libraries are known to have compatibility issues with qemu, resulting in a segfault. As different workarounds are required for the different distributions, just warn the user to explain the qemu segfault to follow, and suggest a workaround using LD_PRELOAD. [YOCTO #649] [YOCTO #698] (Original patch from Edwin, Darren modified warning and git commit wording) Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Mark Hatle <mark.hatle@windriver.com> CC: Zhai Edwin <edwin.zhai@intel.com>
* sanity: detect if bitbake wrapper is not being used or pseudo is brokenPaul Eggleton2011-03-172-1/+4
| | | | | | | | | | | | * Shows a warning during sanity checking if the scripts/bitbake wrapper is not being used * Check to see if pseudo is working during sanity checking, and if it isn't an error occurs (if we are using the wrapper script and pseudo has been built; otherwise it is a warning). Fixes [YOCTO #653] Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* send-pull-request: Fetch TO email address from git config if specifiedKhem Raj2011-03-161-6/+15
| | | | | | | | | | Usually people using git send-email has git config sendmail.to configured to the usual mailing list or person so we harness that here. Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* create-pull-request: switch URL from git.pokylinux.org/poky-contrib to ↵Martin Jansa2011-03-151-3/+4
| | | | | | git.openembedded.org/openembedded-core-contrib Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* poky-qemu-internal: force oprofile into using timer interrupt mode for ↵Dexuan Cui2011-03-141-0/+6
| | | | | | | | | qemux86/qemux86-64 for now Currently oprofile's event based interrupt mode doesn't work(Bug #828) in qemux86 and qemux86-64. We can use timer interrupt mode for now. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* python: add generate-manifest-2.6.py script and regen python-2.6-manifest.incMartin Jansa2011-03-081-0/+362
| | | | | | | | * imported from OE with sorted entries etc Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* creat-lsb-image: Add some functions for creating a appropriate image to make ↵Xiaofeng Yan2011-03-041-60/+88
| | | | | | | | | lsb test Add all pakcages from LSB Test Suite from linux foundation web. Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* qemu-script: Remove mmap_min_addr checkZhai Edwin2011-03-041-7/+0
| | | | | | | | qemu 0.13.0 can handle mmap_min_addr well, and patch to remove checks in sanity.bbclass has already in oe-core mailinglist by Raj. This patch does the same thing for qemu-script. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* poky-env-internal: Add FETCH2 enablementMark Hatle2011-03-031-0/+2
| | | | | | | We need to enable the new fetch2 implementation out of bitbake. Otherwise we get various errors about SRCPV issues. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* poky-qemu: handle cases where an nfs directory contains -image-Scott Garman2011-03-011-0/+6
| | | | | | | | | | Previously we mistakenly assumed that any argument which contained *-image-* was the name of a rootfs image file. This allows nfs directory paths to work correctly when they contain this substring. This fixes [BUGID #743] Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* poky-qemu: Update -sdk image name due to recent change to sato-sdkSaul Wold2011-03-011-5/+5
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* poky-setup-builddir: Update references to the manualRichard Purdie2011-03-011-4/+4
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: enable audio supportZhai Edwin2011-02-221-0/+7
| | | | | | | | | | On qemux86, export ac97 & es1370 emulated device to guest, and enable host oss&alsa driver. So end user can get sound from qemux86 guest if the sound card driver installed. [BUGID #488] got fixed. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* tar-replacement-native: Add a target to replace the default tarRichard Purdie2011-02-211-2/+2
| | | | | | | | | | | | tar < 1.24 has symlink issues where extracting a tar archive containing a symlink to a directory where that symlink already exists will cause the symlink to be dereferenced. If that target doesn't exist tar can fail with a permissions error. Since we need to be able to do this for packages containing symlinks like xorg-minimal-fonts and eglibc, we have to ensure a tar 1.25 is available early in the build process. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemuimagetest: Rename test scenario file from poky-image-sdk to ↵Jiajun Xu2011-02-106-2/+4
| | | | | | poky-image-sato-sdk Signed-off-by Jiajun Xu <jiajun.xu@intel.com>