Skip to content

Commit 76cea25

Browse files
base: aktualizr: return to build dir to fix configure
Configure fails with OE-master 0fb6280432a36985590d9a714a5f11164aaebb51 as prepend does a cd to ${S} and doesn't go back to ${B}, resulting in: | CMake Error at CMakeLists.txt:42 (message): | Aktualizr does not support building in the source tree. Please remove | CMakeCache.txt and the CMakeFiles/ directory, then create a subdirectory to | build in: mkdir build; cd build; cmake .. As we can't drop the prepend by the way we're handling aktualizr and aktualizr-lite, add a step to go back to ${B} in order to get it to build again. Signed-off-by: Ricardo Salveti <[email protected]>
1 parent ddf7b15 commit 76cea25

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

meta-lmp-base/recipes-sota/aktualizr/aktualizr_%.bbappend

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ do_configure_prepend_lmp() {
3131
cd ${S}
3232
git log -1 --format=%h | tr -d '\n' > VERSION
3333
cp VERSION aktualizr/VERSION
34+
cd ${B}
3435
}
3536

3637
do_compile_append_lmp() {

0 commit comments

Comments
 (0)