mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
When trying to use devtool update-recipe/finish on another layer, with modified
local file we have the following error:
Traceback (most recent call last):
File "<..>/poky/scripts/devtool", line 350, in <module>
ret = main()
^^^^^^
File "<..>/poky/scripts/devtool", line 337, in main
ret = args.func(args, config, basepath, workspace)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<..>/poky/scripts/lib/devtool/standard.py", line 1968, in update_recipe
updated, _, _ = _update_recipe(args.recipename, workspace, rd, args.mode, args.append, args.wildcard_version, args.no_remove, args.initial_rev, dry_run_outdir=dry_run_outdir, no_overrides=args.no_overrides, force_patch_refresh=args.force_patch_refresh)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<..>/poky/scripts/lib/devtool/standard.py", line 1930, in _update_recipe
updated, appendf, removed = _update_recipe_patch(recipename, workspace, srctree, crd, appendlayerdir, wildcard_version, no_remove, no_report_remove, initial_rev, dry_run_outdir, force_patch_refresh)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<..>/poky/scripts/lib/devtool/standard.py", line 1747, in _update_recipe_patch
patchdir = param.get('patchdir', ".")
^^^^^^^^^
AttributeError: 'str' object has no attribute 'get'
This was introduced when adding support for git submodules.
No selftest case exists to catch this, so a selftest will be
added in another commit.
(From OE-Core rev: de7ca9f800e15e10271502da7e51e3ae08e0c85b)
Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
||
|---|---|---|
| .. | ||
| contrib | ||
| cross-intercept | ||
| esdk-tools | ||
| lib | ||
| native-intercept | ||
| nativesdk-intercept | ||
| postinst-intercepts | ||
| pybootchartgui | ||
| tiny | ||
| .oe-layers.json | ||
| autobuilder-worker-prereq-tests | ||
| bblock | ||
| bitbake-prserv-tool | ||
| buildall-qemu | ||
| buildhistory-collect-srcrevs | ||
| buildhistory-diff | ||
| buildstats-diff | ||
| buildstats-summary | ||
| combo-layer | ||
| combo-layer-hook-default.sh | ||
| combo-layer.conf.example | ||
| cp-noerror | ||
| create-pull-request | ||
| crosstap | ||
| devtool | ||
| gen-lockedsig-cache | ||
| gen-site-config | ||
| git | ||
| install-buildtools | ||
| multilib_header_wrapper.h | ||
| oe-build-perf-report | ||
| oe-build-perf-test | ||
| oe-buildenv-internal | ||
| oe-check-sstate | ||
| oe-debuginfod | ||
| oe-depends-dot | ||
| oe-find-native-sysroot | ||
| oe-git-archive | ||
| oe-git-proxy | ||
| oe-gnome-terminal-phonehome | ||
| oe-pkgdata-browser | ||
| oe-pkgdata-browser.glade | ||
| oe-pkgdata-util | ||
| oe-publish-sdk | ||
| oe-pylint | ||
| oe-run-native | ||
| oe-selftest | ||
| oe-setup-build | ||
| oe-setup-builddir | ||
| oe-setup-layers | ||
| oe-setup-vscode | ||
| oe-test | ||
| oe-time-dd-test.sh | ||
| oe-trim-schemas | ||
| oepydevshell-internal.py | ||
| opkg-query-helper.py | ||
| patchtest | ||
| patchtest-get-branch | ||
| patchtest-get-series | ||
| patchtest-send-results | ||
| patchtest-setup-sharedir | ||
| patchtest.README | ||
| pythondeps | ||
| README | ||
| recipetool | ||
| relocate_sdk.py | ||
| resulttool | ||
| rootfs_rpm-extract-postinst.awk | ||
| rpm2cpio.sh | ||
| runqemu | ||
| runqemu-addptable2image | ||
| runqemu-export-rootfs | ||
| runqemu-extract-sdk | ||
| runqemu-gen-tapdevs | ||
| runqemu-ifdown | ||
| runqemu-ifup | ||
| runqemu.README | ||
| send-error-report | ||
| send-pull-request | ||
| sstate-cache-management.py | ||
| sstate-diff-machines.sh | ||
| sstate-sysroot-cruft.sh | ||
| sysroot-relativelinks.py | ||
| task-time | ||
| test-reexec | ||
| test-remote-image | ||
| verify-bashisms | ||
| wic | ||
| yocto_testresults_query.py | ||
| yocto-check-layer | ||
| yocto-check-layer-wrapper | ||
This directory contains Various useful scripts for working with OE builds