cml1.bbclass: explicitly set workdir
PATCH 1/1 cml1.bbclass: explicitly set workdir
bitbake rev 67a7b8b02 "build: don't use $B as the default cwd for functions" (included in current bitbake master) breaks the assumption that do_menuconfig / do_diffconfig run inside the build directory.
This causes these tasks to fail as they're being executed in the wrong directory.
Set workdir explicitly.
--- meta/classes/cml1.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/classes/cml1.bbclass +2 -1
@@ -41,6 +41,7 @@ python do_menuconfig() { bb.build.write_taint('do_compile', d) } do_menuconfig[depends] += "ncurses-native:do_populate_sysroot" +do_menuconfig[dirs] = "${B}" do_menuconfig[nostamp] = "1" do_menuconfig[dirs] = "${B}" addtask menuconfig after do_configure
@@ -72,7 +73,7 @@ python do_diffconfig() { if os.path.exists(fragment): os.unlink(fragment) } - +do_diffconfig[dirs] = "${B}" do_diffconfig[nostamp] = "1" do_diffconfig[dirs] = "${B}" addtask diffconfig
Signature · 1 line
2.8.1
Sorry, please ignore this! Didn't realise it's fixed in oe-core just not in poky.git yet.
Quoted 35 lines · André Draszik
bitbake rev
67a7b8b02"build: don't use $B as the default cwd for functions" (included in current bitbake master) breaks the assumption thatdo_menuconfig/do_diffconfigrun inside the build directory.This causes these tasks to fail as they're being executed in the wrong directory.
Set workdir explicitly.
Signed-off-by André Draszik <[email protected]>---
meta/classes/cml1.bbclass | 3 ++-1 file changed, 2 insertions(+), 1 deletion(-)meta/classes/cml1.bbclass +0
-0@@ -41,6 +41,7 @@ python do_menuconfig() { bb.build.write_taint('do_compile', d) }do_menuconfig[depends] += "ncurses-native:do_populate_sysroot" +do_menuconfig[dirs] = "${B}"
do_menuconfig[nostamp] = "1"
do_menuconfig[dirs] = "${B}"
addtask menuconfig afterdo_configuremeta/classes/cml1.bbclass +0
-0@@ -72,7 +73,7 @@ python do_diffconfig() {if
os.path.exists(fragment):
os.unlink(fragment)
}meta/classes/cml1.bbclass +1
-1- +do_diffconfig[dirs] = "${B}"do_diffconfig[nostamp] = "1"
do_diffconfig[dirs] = "${B}"
addtask diffconfig
Quoted 4 lines · André Draszik
bitbake rev
67a7b8b02"build: don't use $B as the default cwd for functions" (included in current bitbake master) breaks the assumption thatdo_menuconfig/do_diffconfigrun inside the build directory.
Already merged into master with 614d976ee97d6386c37afb54add5b83741ca401e.
Ross
Quoted 3 lines · André Draszik
Sorry, please ignore this! Didn't realise it's fixed in oe-core just not in poky.git yet.
Merges happen to both at the same time generally, but you likely missed it by hours.
Ross