Make exim more configurable
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 3 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 3 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Buildroot] [PATCH 0/3] Make exim more configurable
Dear Luca Ceresoli,
Quoted 7 lines · Luca Ceresoli
How do the autobuilders handle the same situation for the Linux or Barebox custom configuration files? E.g.:
#
BR2_LINUX_KERNEL_USE_DEFCONFIGis not set
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=""
Quoted 6 lines
This would fail in the same way. Obvious enough, since for exim I just copied the same checks...
Do the autobuilders have a special handling for the kernel and bootloaders? If that's the case, of course it would not be viable to do it for each and every package.
Since the Linux kernel and bootloader options do not start with BR2_PACKAGE_* they are not part of the randpackageconfig randomization, and therefore the autobuilders never build the Linux kernel or the bootloaders.
We however have a similar situation with other packages, in which case the autobuilder script comes to help, see for example
http://git.buildroot.net/buildroot-test/tree/scripts/autobuild-run#n244.
Quoted 9 lines
Quoted 4 lines
Options:
1/ Have a default value for
BR2_PACKAGE_EXIM_CUSTOM_CONFIG_FILEthat
actually works.That would be quite simple. Enough to run a build with
BR2_PACKAGE_EXIM_CUSTOM_CONFIGdisabled, pick the config file from the build dir, remove the toolchain additions and put the file in packace/exim/default-config.
That is one solution.
Quoted 1 line
I agree options 2 and 3 would be more annoying.
They are possible, we do this for other packages already.
Quoted 7 lines
Another option is:
4/ Remove
BR2_PACKAGE_EXIM_CUSTOM_CONFIGknob and make exim use the
custom configuration only ifBR2_PACKAGE_EXIM_CUSTOM_CONFIG_FILE!= "". I assume the autobuilders never setBR2_PACKAGE_EXIM_CUSTOM_CONFIG_FILE, do they?
Indeed, randpackageconfig only takes care of boolean or tristate options, so BR2_PACKAGE_EXIM_CUSTOM_CONFIG_FILE would remain empty in terms of autobuilder testing.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com