Configuration file of openwisp-config being overwritten (faulty conffiles section)

Hi everyone,

I just confirmed a bug in openwisp-config that was reported to me by others, if the package is upgraded via opkg install <url/file>, the config in /etc/config/openwisp is overwritten without asking for confirmation (which I remember was the old behavior), can anyone hint me at what may be causing the issue?

Here's the link to the Makefile of openwisp-config.

Thanks in advance.
Best regards


Well, the first observation is that the conffiles declaration is faulty.
It should be unindented (as the lines are passed as arguments and the leading spaces may cause trouble.

define Package/openwisp-config-$(BUILD_VARIANT)/conffiles
1 Like

Thanks a lot @hnyman, I didn't know that, it worked.
Here's the fix, in case anyone has the same issue:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.