diff options
author | André Draszik <git@andred.net> | 2016-07-21 12:09:23 +0100 |
---|---|---|
committer | Andreas Oberritter <obi@opendreambox.org> | 2017-06-26 22:57:07 +0200 |
commit | 160157d75d2a1f1453f5412cd9e2bbb657b709ba (patch) | |
tree | 03e679682df9262c9fd97093a63825dc676ce3fa /meta/classes | |
parent | 40d5de695937f27cfaf33d32430ec9ccc9296b30 (diff) | |
download | openembedded-core-contrib-160157d75d2a1f1453f5412cd9e2bbb657b709ba.tar.gz |
kernel.bbclass: explicitly set workdir in do_bundle_initramfs
bitbake rev 67a7b8b02 "build: don't use $B as the default cwd for
functions" (included in current bitbake master) breaks the assumption
that do_bundle_initramfs runs inside the build directory.
This causes kernel_do_compile() as called from within
do_bundle_initramfs() to fail, as the former is not being executed
from the correct directory anymore. (Note that kernel_do_compile()
as called from bitbake directly doesn't suffer from that problem,
as it inherits the workdir from base_do_compile() in that case.)
Set workdir explicitly.
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 4455da22a151c2ac006af63cbd39779b21b12580)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/kernel.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 0b79a434eb..e189bb703d 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass @@ -250,6 +250,7 @@ do_bundle_initramfs () { done fi } +do_bundle_initramfs[dirs] = "${B}" python do_devshell_prepend () { os.environ["LDFLAGS"] = '' |