Jo-Philipp Wich wrote: > > It looks like conffiles can only save files, not entire directories. > > /etc/nginx is a directory. Should conffiles be fixed to work with > > directories too? > > It works fine with directories, see include/package-ipkg.mk, the code > below "ifneq ($$(KEEP_$(1)),)"
I see. The existing feeds/packages/net/nginx/Makefile already lists the files under /etc/nginx that ship in the package in its conffiles definition, but this doesn't result in a keep file in the package because include/package-ipkg.mk will only add entries to a keep file when they aren't present as files in the package. Is this intentional? The net effect is that changes to conffiles aren't preserved across sysupgrade when default conffiles are present in a package. If that's the case, what's the point of even listing these files in conffiles? _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
