[OpenWrt-Devel] RFC: Preserving smbpasswd & dnsmasq.time across sysupgrade

Kevin Darbyshire-Bryant kevin at darbyshire-bryant.me.uk
Thu Jul 30 08:20:02 EDT 2015

Thanks Bastian, apologies for delayed reply. I'll check that info out. :-)




Kevin at Darbyshire-Bryant.me.uk

Sent from my phone, apologies for brevity, spelling & top posting

> On 27 Jul 2015, at 09:14, Bastian Bittorf <bittorf at bluebottle.com> wrote:
> * Kevin Darbyshire-Bryant <kevin at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3089 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150730/e8fe300d/attachment.p7s>
-------------- next part --------------
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list