aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
AgeCommit message (Collapse)Author
2011-05-16scripts/oe-setup-builddir: Add missing .sample extensions and default to ↵Richard Purdie
meta/conf for sample files Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-10scripts/oe-setup-builddir: fix typoOtavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2011-05-10qemu-script: Fix qemu seg fault if install Nvidia proprietary driver.Zhai Edwin
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>
2011-05-04qemuimagetest: Add executable permission to test scripts for toolchainJiajun Xu
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>
2011-05-04qemuimagetest: Enable toolchain automation tests in qemuimagetestJiajun Xu
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>
2011-05-04create-lsb-iamge:Fix bugsXiaofeng Yan
Change variables "${ARCH}" to "${1}" Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
2011-04-24create-lsb-image:Rename creat-lsb-image and fix some bugsXiaofeng Yan
Rename creat-lsb-image to create-lsb-image Fix some fuctions for more practical
2011-04-21Further cleanup of various poky referencesRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-21scripts/runqemu.README: Clean this up to accurately reflect what the runqemu ↵Richard Purdie
command now does Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-21runqemu-extra-sdk: Update function usage to clearly reflect its meaningRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-21Rename ~/.poky-sdk/ temp workdir to ~/.runqemu-sdk/Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-20POKY_QEMU_IFUP -> RUNQEMU_IFUPRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-20Rename the remaining poky-* scripts to oe-* or runqemu-*Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-20poky-setup-builddir: Rename to oe-setup-builddir and clean up POKY variable ↵Richard Purdie
references Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-20Replace POKY_KVM_WIKI -> YOCTO_KVM_WIKIRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-20POKY_NATIVE_SYSROOT -> OECORE_NATIVE_SYSROOTRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-20Rename poky-image-* -> core-image-* and task-poky-* -> task-core-*Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-20Replace POKYBASE with COREBASERichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-20Remove obsolete scripts/classesRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-20Rename poky-qemu to runqemuRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-20Rename poky-init-build-env to oe-init-build-envRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-31scripts/poky-qemu-internal: call stty sane before exitKhem Raj
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>
2011-03-21scripts/poky-qemu-internal: Add rw to KERNCMDLINE for non nfs boots as wellKhem Raj
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>
2011-03-21scripts/poky-qemu-internal: Pass -m <mem_size> always on commandlineKhem Raj
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>
2011-03-21Shift a few env bits into scripts/bitbakeChris Larson
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>
2011-03-21scripts/bitbake: add -g/--graphviz to NO_BUILD_OPTSChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2011-03-18qemu: make warning messages consistent in formatDarren Hart
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>
2011-03-18qemu: warn user if nVidia libGL is detected (leads to qemu segfault)Darren Hart
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>
2011-03-17sanity: detect if bitbake wrapper is not being used or pseudo is brokenPaul Eggleton
* 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>
2011-03-16send-pull-request: Fetch TO email address from git config if specifiedKhem Raj
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>
2011-03-15create-pull-request: switch URL from git.pokylinux.org/poky-contrib to ↵Martin Jansa
git.openembedded.org/openembedded-core-contrib Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-03-14poky-qemu-internal: force oprofile into using timer interrupt mode for ↵Dexuan Cui
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>
2011-03-08python: add generate-manifest-2.6.py script and regen python-2.6-manifest.incMartin Jansa
* 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>
2011-03-04creat-lsb-image: Add some functions for creating a appropriate image to make ↵Xiaofeng Yan
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>
2011-03-04qemu-script: Remove mmap_min_addr checkZhai Edwin
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>
2011-03-03poky-env-internal: Add FETCH2 enablementMark Hatle
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>
2011-03-01poky-qemu: handle cases where an nfs directory contains -image-Scott Garman
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>
2011-03-01poky-qemu: Update -sdk image name due to recent change to sato-sdkSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-03-01poky-setup-builddir: Update references to the manualRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-22qemu: enable audio supportZhai Edwin
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>
2011-02-21tar-replacement-native: Add a target to replace the default tarRichard Purdie
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>
2011-02-10qemuimagetest: Rename test scenario file from poky-image-sdk to ↵Jiajun Xu
poky-image-sato-sdk Signed-off-by Jiajun Xu <jiajun.xu@intel.com>
2011-02-10image-swab: Convert to attach strace to the process to obtain the required ↵Richard Purdie
swabber data Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-08fetch2: Add SRPM knowledgeMark Hatle
Enable the fetcher to be able to unpack and SRPM. By default the system will unpack the contents of the SRPM into the WORKDIR. A new syntax "unpack=file" was developed for the SRC_URI, to allow for a recipe to extract a specific file within an SRPM. An unpack operation will then be executed on the extracted file. In order to apply extracted patches (or unpack files not specified with unpack), you must specify the path using WORKDIR, i.e.: file://${WORKDIR}/mypatch.patch Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-02-02scripts/poky-env-internal: We set LC_ALL in the core so no need to set LANG ↵Richard Purdie
here now Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-31scripts/bitbake: remove bashismsJoshua Lock
As the BitBake script is the initial entry point for the system we need to ensure it can run in as many places as possible, including systems which aren't yest optimally configured for running Poky. Remove some bashisms from the script so that it can run under Dash. Pointers from: https://wiki.ubuntu.com/DashAsBinSh Errors before this patch: http://pastie.org/1502136 Signed-off-by: Joshua Lock <josh@linux.intel.com>
2011-01-30creating the rpmrepo metadataQing He
This includes two method for build rpm repo: 1. create the metadata in rootfs_rpm 2. standalone binary for building the metadata Not both of them are needed, generally #2 fits more for the purpose, but #1 may have its use on rootfs creation using zypper. Both share some problems and are subjected for future improvement: 1. the createrepo now builds metadata for the whole directory, if there are more than one arch, it builds for all, which means rootfs_rpm may run longer if more builds have been run. 2. createrepo builds metadata for stale rpms Signed-off-by: Qing He <qing.he@intel.com>
2011-01-28scripts/bitbake: If pseudo isn't in staging for some reason, force a build ↵Richard Purdie
of it directly Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-28scripts/bitbake: We only need pseudo-native in the sysroot, we can ignore ↵Richard Purdie
any other pieces of the dependency tree Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-26send-pull-request: ensure a proper FROM header is includedDarren Hart
Commit 94629f2521711055b412f954af19e48b9bda6e50 removes the FROM header when sending via sendmail to avoid sending mail as the original change committer (as opposed to the local user). This resulted in mail going out without any FROM header, which some mailing lists correct by adding the *bounce address as the FROM. Correct this by reading FROM from the environment, from a new -f argument, or from the git user.name and user.email config settings, in that order of preference. Also display the FROM that will be used prior to the send confirmation. This has no effect if the -g (send via git) argument is specified, other than printing the git sendemail.from config setting. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Reported-by: Saul Wold <saul.wold@intel.com>