mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
![]() Users may unknowingly put tabs in BBLAYERS instead of spaces, and this is interpreted as a literal "\t" at the start of the filepath which causes _get_layer_dict() function to fail at finding the filepath. Instead of using split(" "), which restricts it to split on just spaces replace with split() as this handles spaces, tabs and newlines. Min steps to reproduce: - Clone the poky repo: git clone git://git.yoctoproject.org/poky cd poky source oe-init-build-env - Insert tabs in the BBLAYERS variable in bblayers.conf - Note: tab needs to be in the recipe that is being built for the error to be observed - Ex: ` /home/<user>/src/poky/meta-skeleton \` - Start toaster source toaster start bitbake hello Error message: FileNotFoundError: [Errno 2] No such file or directory: '\t/home/<user>/src/poky/meta-skeleton’ Fix by using split() instead of split(" "). Suggested-by: Anakin Childerhose <anakin.childerhose@savoirfairelinux.com> CC: Richard Purdie <richard.purdie@linuxfoundation.org> (From OE-Core rev: 5ef1adca618cbf2d3e9ad2e5d504728b91d15e85) Signed-off-by: Osose Itua <osose.itua@savoirfairelinux.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> |
||
---|---|---|
.. | ||
archiver.bbclass | ||
buildhistory.bbclass | ||
buildstats-summary.bbclass | ||
ccache.bbclass | ||
ccmake.bbclass | ||
chrpath.bbclass | ||
copyleft_compliance.bbclass | ||
copyleft_filter.bbclass | ||
create-spdx-2.2.bbclass | ||
create-spdx-3.0.bbclass | ||
create-spdx.bbclass | ||
cve-check.bbclass | ||
devtool-source.bbclass | ||
distrooverrides.bbclass | ||
externalsrc.bbclass | ||
extrausers.bbclass | ||
go-vendor.bbclass | ||
image-buildinfo.bbclass | ||
mcextend.bbclass | ||
metadata_scm.bbclass | ||
multilib_global.bbclass | ||
multilib.bbclass | ||
oelint.bbclass | ||
own-mirrors.bbclass | ||
prexport.bbclass | ||
primport.bbclass | ||
recipe_sanity.bbclass | ||
relative_symlinks.bbclass | ||
relocatable.bbclass | ||
remove-libtool.bbclass | ||
report-error.bbclass | ||
rm_work_and_downloads.bbclass | ||
rm_work.bbclass | ||
sign_ipk.bbclass | ||
sign_package_feed.bbclass | ||
sign_rpm.bbclass | ||
spdx-common.bbclass | ||
terminal.bbclass | ||
toaster.bbclass | ||
typecheck.bbclass | ||
useradd_base.bbclass | ||
useradd-staticids.bbclass | ||
useradd.bbclass | ||
vex.bbclass |