Re: [isar-cip-core][PATCH] python3-shtab: add export to the DEB_BUILD_PROFILES
Moessbauer, Felix <felix.moessbauer@...>
toggle quoted message
Show quoted text
-----Original Message-----This depends on the ISAR version. With a post "DEB_BUILD_PROFILES" version (post ffdd1b0), you have to set this via the BB var (not via an export). For older ISAR versions, you have to export in the do_dpkg_build via do_dpkg_build_prepend (and also in do_install_builddeps, if required). To support both, you can manually export and set the BB variable. Exporting at the current location (outside a task) does not look right. IIRC, this exports to the bb environment and by that is visible to all tasks [1]. Please also note, that "nocheck" has to be added to DEB_BUILD_OPTIONS as well (just having it in DEB_BUILD_PROFILES breaks the "Build Profile Spec") [2]. Regarding sbuilder: Currently, manual exports are supported by ISAR sbuilder, but deprecated. Note, that the DEB_BUILD_PROFILES and DEB_BUILD_OPTIONS infrastructure perfectly works (using the corresponding BB vars, not exports). [1] https://www.yoctoproject.org/docs/2.3/bitbake-user-manual/bitbake-user-manual.html#exporting-variables-to-the-environment [2] https://wiki.debian.org/BuildProfileSpec Felix
|
|