openwrt/target/imagebuilder
Sven Roederer 6967903b01 imagebuilder: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archive
Using these config-options to customize the folders used at build-time
makes these folder settings appear in generated archive. This causes the
imagebuilder to be not portable, as it's going to use the build-time folders
on the new systems. Errors look like:

  mkdir: cannot create directory '/mnt/build': Permission denied
  Makefile:116: recipe for target '_call_image' failed
  make[2]: *** [_call_image] Error 1
  Makefile:241: recipe for target 'image' failed
  make[1]: *** [image] Error 2

The build-time settings of these folders are passed into the archives via
.config file.
The expected behavior is that after unpacking the imagebuilder acts like
these settings have their defaults, using intree folders. So unset the
build-time settings.

Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
2021-05-08 12:14:00 +02:00
..
files build,ib: add STRIP_ABI option for manifest 2021-03-16 11:00:08 -10:00
Config.in merge: targets: update image generation and targets 2017-12-08 19:41:18 +01:00
Makefile imagebuilder: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archive 2021-05-08 12:14:00 +02:00