This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
troubleshooting:app-recipes [2019/02/08 13:24] claneys Adding instruction to migrate old autobuild scripts. |
troubleshooting:app-recipes [2019/02/08 13:31] (current) claneys [Autobuild migration] |
||
---|---|---|---|
Line 83: | Line 83: | ||
A warning is issued on old wgt build: | A warning is issued on old wgt build: | ||
- | ``` | + | <code> |
WARNING: navigation-git-r0 do_aglwgt_package: OBSOLETE: You must have an autobuild script located in: | WARNING: navigation-git-r0 do_aglwgt_package: OBSOLETE: You must have an autobuild script located in: | ||
WARNING: navigation-git-r0 do_aglwgt_package: autobuild/agl/ from the project root source folder | WARNING: navigation-git-r0 do_aglwgt_package: autobuild/agl/ from the project root source folder | ||
Line 92: | Line 92: | ||
WARNING: navigation-git-r0 do_aglwgt_package: Fix your package as it will not work within the SDK | WARNING: navigation-git-r0 do_aglwgt_package: Fix your package as it will not work within the SDK | ||
WARNING: navigation-git-r0 do_aglwgt_package: See: https://wiki.automotivelinux.org/troubleshooting/app-recipes | WARNING: navigation-git-r0 do_aglwgt_package: See: https://wiki.automotivelinux.org/troubleshooting/app-recipes | ||
- | ``` | + | </code> |
- | This warning is about the migration of *wgt* package build from various methods to only one, the *autobuild* script. | + | This warning is about the migration of **wgt** package build from various methods to only one, the **autobuild** script. |
- | This script was originally located in <ROOT-FOLDER>/conf.d/autobuild/{agl,linux}/autobuild but now it should be located directly at the project root folder <ROOT-FOLDER>/autobuild/{agl,linux}/autobuild. Yocto takes the *autobuild* in the *agl* subdirectory. So you need the script <ROOT-FOLDER>/autobuild/agl/autobuild. | + | This script was originally located in **<ROOT-FOLDER>/conf.d/autobuild/{agl,linux}/autobuild** but now it should be located directly at the project root folder **<ROOT-FOLDER>/autobuild/{agl,linux}/autobuild**. Yocto takes the **autobuild** in the **agl** subdirectory. So you need the script **<ROOT-FOLDER>/autobuild/agl/autobuild**. |
- | An example can be found in gerrit [[https://gerrit.automotivelinux.org/gerrit/gitweb?p=src/cmake-apps-module.git;a=blob_plain;f=src/template.d/autobuild/agl/autobuild.in;hb=HEAD|cmake-apps-module]] repository and use the CMake module to build the *wgt* so you maybe have to tweak it a little bit. | + | An example can be found in gerrit [[https://gerrit.automotivelinux.org/gerrit/gitweb?p=src/cmake-apps-module.git;a=blob_plain;f=src/template.d/autobuild/agl/autobuild.in;hb=HEAD|cmake-apps-module]] repository and use the CMake module to build the **wgt** so you maybe have to tweak it a little bit. |