mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
Empty dest_dir is basically undocumented behavior. The sample conf
only mentions using just a dot for the current directory. In practice,
the empty string does not work because of code like this:
def action_splitpatch(conf, args):
...
if dest_dir != ".":
filerange_root = '%s -x "%s/*"' % (filerange_root, dest_dir)
However, the empty string was not explicitly checked for, leading to
strange errors when trying to apply patches:
[12:50:23] Applying: foobar: xyz
fatal: unable to stat newly created file '/foobar': No such file or directory
This patch turns the empty string into an alias for the dot. This seems
more user-friendly than throwing an error. This alias is intentionally
not document in the sample conf, because the dot is clearer and works also
with older copies of combo-layer.
Instead of checking for both all the time and normalizing the path when
needed (as done in some places), rewrite the value in sanity_check()
and then only check for '.'.
(From OE-Core rev: a8547b3c2c0b8bf3150043b1b6570f0d44b20335)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
||
|---|---|---|
| .. | ||
| contrib | ||
| jhbuild | ||
| lib | ||
| native-intercept | ||
| postinst-intercepts | ||
| pybootchartgui | ||
| tiny | ||
| bitbake-prserv-tool | ||
| bitbake-whatchanged | ||
| buildhistory-collect-srcrevs | ||
| buildhistory-diff | ||
| cleanup-workdir | ||
| combo-layer | ||
| combo-layer-hook-default.sh | ||
| combo-layer.conf.example | ||
| cp-noerror | ||
| create-pull-request | ||
| create-recipe | ||
| crosstap | ||
| devtool | ||
| gen-lockedsig-cache | ||
| gen-site-config | ||
| hob | ||
| lnr | ||
| multilib_header_wrapper.h | ||
| oe-buildenv-internal | ||
| oe-find-native-sysroot | ||
| oe-git-proxy | ||
| oe-pkgdata-util | ||
| oe-selftest | ||
| oe-setup-builddir | ||
| oe-setup-rpmrepo | ||
| oe-trim-schemas | ||
| oepydevshell-internal.py | ||
| opkg-query-helper.py | ||
| pythondeps | ||
| README | ||
| recipetool | ||
| relocate_sdk.py | ||
| rootfs_rpm-extract-postinst.awk | ||
| rpm2cpio.sh | ||
| runqemu | ||
| runqemu-addptable2image | ||
| runqemu-export-rootfs | ||
| runqemu-extract-sdk | ||
| runqemu-gen-tapdevs | ||
| runqemu-ifdown | ||
| runqemu-ifup | ||
| runqemu-internal | ||
| runqemu.README | ||
| send-error-report | ||
| send-pull-request | ||
| sstate-cache-management.sh | ||
| sstate-diff-machines.sh | ||
| sstate-sysroot-cruft.sh | ||
| swabber-strace-attach | ||
| sysroot-relativelinks.py | ||
| test-dependencies.sh | ||
| test-reexec | ||
| test-remote-image | ||
| wic | ||
| wipe-sysroot | ||
| yocto-bsp | ||
| yocto-kernel | ||
| yocto-layer | ||
This directory contains Various useful scripts for working with OE builds