generic-poky/scripts
Dexuan Cui be2a2764d8 oe-init-build-env, scripts/oe-buildenv-internal: add error detecting for $BDIR
[YOCTO #671]

"readlink -f" in Ubuntu 10.04 is buggy: it doesn't ignore a trailing / (e.g.,
"readlink -f /tmp/non-existent-dir/" returns nothing, but according to
http://www.gnu.org/s/coreutils/manual/coreutils.pdf it should do that --
hence we get bug 671. It seems Ubuntu 10.10 or even later Ubuntu 11.04,
and other Linux distributions(e.g., Open Suse 11.4) haven't such an issue.

So I think we should detect this and ask Ubuntu 10.04 users to avoid supply
a path with trailing slash here.

Moreever, I also add the detection of non-existent path, e.g.,
source oe-init-build-env /non-existent-dir/build
can be detected and we'll print an error msg.
And, if we get errors in oe-buildenv-internal, we should stop the script
and shouldn't further run.

(From OE-Core rev: 651ccb3b031d9ccb8331505a51171372002230d9)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-02 14:32:10 +01:00
..
contrib scripts/contrib: add build time regression test script 2011-07-20 15:27:31 +01:00
jhbuild Rename rewrite.py to jhbuild2oe.py. 2006-08-10 06:43:09 +00:00
native-intercept native.bbclass: Add a simple chown intercept command 2011-06-23 21:08:01 +01:00
qemuimage-tests qemuimagetest: update cvs and iptables to newer version for toolchain test 2011-06-24 11:28:32 +01:00
README Further cleanup of various poky references 2011-04-21 12:56:16 +01:00
bitbake bitbake wrapper: exit if python v3 is detected 2011-06-28 13:44:41 +01:00
combo-layer scripts/combo-layer: keep carriage returns at the end of lines 2011-07-27 12:02:40 +01:00
combo-layer-hook-default.sh combo-layer-tool: add tool to manipulate combo layers 2011-07-08 17:52:27 +01:00
combo-layer.conf.example combo-layer-tool: add tool to manipulate combo layers 2011-07-08 17:52:27 +01:00
create-lsb-image create-lsb-iamge:Fix bugs 2011-05-04 00:54:39 +01:00
create-pull-request create-pull-request: Add URL documentation 2011-06-09 15:48:26 +01:00
gen-site-config siteconfig: generate configuration data caches for autoconf 2010-09-03 10:50:02 +01:00
hob scripts/hob: wrapper script to run hob gui with a UI specific config file 2011-07-19 17:34:17 +01:00
multilib_header_wrapper.h multilib_header.bbclass: Add oe_multilib_header wrapper 2011-07-27 15:45:47 +01:00
oe-buildenv-internal oe-init-build-env, scripts/oe-buildenv-internal: add error detecting for $BDIR 2011-08-02 14:32:10 +01:00
oe-find-native-sysroot scripts/oe-setup-builddir: Fix up OE-Core/Poky mismatch for now (and fix permissions) 2011-04-21 19:19:33 +01:00
oe-git-proxy-command scripts/oe-setup-builddir: Fix up OE-Core/Poky mismatch for now (and fix permissions) 2011-04-21 19:19:33 +01:00
oe-git-proxy-socks-command scripts/oe-setup-builddir: Fix up OE-Core/Poky mismatch for now (and fix permissions) 2011-04-21 19:19:33 +01:00
oe-git-proxy-socks.c scripts/oe-setup-builddir: Fix up OE-Core/Poky mismatch for now (and fix permissions) 2011-04-21 19:19:33 +01:00
oe-setup-builddir scripts: Rename "adt-install" to "adt-installer" in user help. 2011-07-14 15:17:19 +01:00
oe-setup-rpmrepo scripts/oe-setup-builddir: Fix up OE-Core/Poky mismatch for now (and fix permissions) 2011-04-21 19:19:33 +01:00
oe-trim-schemas scripts/oe-setup-builddir: Fix up OE-Core/Poky mismatch for now (and fix permissions) 2011-04-21 19:19:33 +01:00
qemuimage-testlib qemuimagetest: update cvs and iptables to newer version for toolchain test 2011-06-24 11:28:32 +01:00
rootfs_rpm-extract-postinst.awk meta/classes/rootfs_rpm.bbclass: re implement base on rpm5 2010-07-24 00:46:57 +01:00
rpm2cpio.sh fetch2: Add SRPM knowledge 2011-02-08 18:01:35 +00:00
runqemu scripts/runqemu: grep for line beginning with TMPDIR 2011-08-02 14:32:10 +01:00
runqemu-addptable2image scripts/oe-setup-builddir: Fix up OE-Core/Poky mismatch for now (and fix permissions) 2011-04-21 19:19:33 +01:00
runqemu-export-rootfs scripts/oe-setup-builddir: Fix up OE-Core/Poky mismatch for now (and fix permissions) 2011-04-21 19:19:33 +01:00
runqemu-extract-sdk scripts/oe-setup-builddir: Fix up OE-Core/Poky mismatch for now (and fix permissions) 2011-04-21 19:19:33 +01:00
runqemu-gen-tapdevs scripts/oe-setup-builddir: Fix up OE-Core/Poky mismatch for now (and fix permissions) 2011-04-21 19:19:33 +01:00
runqemu-ifdown Further cleanup of various poky references 2011-04-21 12:56:16 +01:00
runqemu-ifup Further cleanup of various poky references 2011-04-21 12:56:16 +01:00
runqemu-internal scripts/runqemu: enable btrfs 2011-06-30 20:56:36 +01:00
runqemu.README scripts/runqemu.README: Clean this up to accurately reflect what the runqemu command now does 2011-04-21 12:56:13 +01:00
send-pull-request send-pull-request: default to --supress-cc=all 2011-07-19 17:34:18 +01:00
swabber-strace-attach image-swab: Convert to attach strace to the process to obtain the required swabber data 2011-02-10 11:51:48 +00:00

README

This directory contains Various useful scripts for working with OE builds