Skip to content

zabbix: fix zabbix symbols in config without zabbix#28710

Open
danielfdickinson wants to merge 2 commits intoopenwrt:masterfrom
danielfdickinson:pr-fix-zabbix-symbols-in-config-without-zabbix
Open

zabbix: fix zabbix symbols in config without zabbix#28710
danielfdickinson wants to merge 2 commits intoopenwrt:masterfrom
danielfdickinson:pr-fix-zabbix-symbols-in-config-without-zabbix

Conversation

@danielfdickinson
Copy link
Contributor

📦 Package Details

Maintainer: @danielfdickinson

Description:
As reported in #28709, CONFIG_ZABBIX_...=y
symbols appear in .config even when no zabbix packages are selected. We fix
this by creating an empty parent zabbix package that all other zabbix packages
DEPENDS on, and we add depends on PACKAGE_zabbix to the menus and choices that
generate CONFIG_ZABBIX_... symbols.
Since this affects the built packages by introducing a new dependency, we bump PKG_RELEASE.

Also tweak whitespace in Config.in


Compile-tested and image created as not a runtime-affecting change.

Built SDK and ImageBuilder using today's OpenWrt main branch, and built new Zabbix packages using that SDK. Generated test images with my standard sets of test Zabbix packages using the built ImageBuilder.

Note: The SNAPSHOT SDK's from downloads.openwrt.org have the problematic ZABBIX symbols in Config-build.in, so you cannot verify this fix using the pre-built SDKs.


✅ Formalities

  • I have reviewed the CONTRIBUTING.md file for detailed contributing guidelines.

As reported in openwrt#28709, CONFIG_ZABBIX_...=y symbols appear in
.config even when no zabbix packages are selected. We fix
this by creating an empty parent `zabbix` package that all
other zabbix packages DEPENDS on, and we add
`depends on PACKAGE_zabbix` to the menus and choices that
generate CONFIG_ZABBIX_... symbols.
Since this affects the built packages by introducing a new
dependency, we bump PKG_RELEASE.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
Use tabs instead of spaces, and include a final newline.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
@danielfdickinson
Copy link
Contributor Author

@feckert Could you verify this works for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant