sdk: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archives
authorSven Roederer <devel-sven@geroedel.de>
Fri, 7 May 2021 19:35:21 +0000 (21:35 +0200)
committerBaptiste Jonglez <git@bitsofnetworks.org>
Sat, 8 May 2021 10:14:04 +0000 (12:14 +0200)
commit1e4b191ac8901328a726ebdc09ebe35da4363521
tree44b18a30ae73188e6ec432fc174b3b7c7bd75142
parent6967903b01ea9f7c9f70d0185c3da276801dd78f
sdk: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archives

Using these config-options to customize the folders used at build-time makes these
folder settings appear in generated archive. This causes the SDK to be not
portable, as it's going to use the build-time folders on the new systems.
The errors vary from passing the build, disk out-of-space to permission denied.

The build-time settings of these folders are passed into the archive via Config.build.
The expected behavior is that the SDK acts after unpacking like these settings have
their defaults, using intree folders. So just filter these folders out when running
convert-config.pl to create Config.build.

This addresses the same issue that's fixed in the previous commit for the imagebuilder.

Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
target/sdk/convert-config.pl