* Kevin Darbyshire-Bryant <ke...@darbyshire-bryant.me.uk> [26.07.2015 16:35]:
> The next question is how?  It looks like a few other packages create a
> subdir in 'keep.d' with a file containing a list of files that should be
> preserved by default.  I would anticipate creating 'samba' & 'dnsmasq'
> subdirs though the package Makefiles.  A better way?

they should just be marked as 'conffiles' in the package itself andi
these files are automatically choosen for including into sysupgrade.tgz

the magic is done in add_uci_conffiles() line 100 in
file package/base-files/files/sbin/sysupgrade -> /sbin/sysupgrade

bye, bastian
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to