In Turris OS 6.x (master build of everything), we didn't include pull request https://gitlab.labs.nic.cz/turris/turris-build/merge_requests/50 and thus build of Knot Resolver fails. It was not included as in that meantime meson was merged to packages feed - https://github.com/openwrt/packages/pull/10043
Let's use meson from packages feed.
- Don't reuse PKG_NAME in postinst and prerm
- Remove MAKE_FLAGS as those seems to be not necessary Build log:
======================= SUMMARY ======================= paths prefix: /usr lib_dir: /usr/lib sbin_dir: /usr/bin etc_dir: /etc/kresd root.hints: /etc/kresd/root.hints trust_anchors keyfile_default: /etc/root.keys managed_ta: disabled install_root_keys: disabled systemd: socket activation: disabled files: disabled work_dir: optional components client: enabled utils: enabled dnstap: disabled unit_tests: disabled config_tests: disabled extra_tests: disabled additional user: knot-resolver group: knot-resolver install_kresd_conf: enabled sendmmsg: enabled openssl debug: present =======================================================
This is just compile tested and will be run tested soon.