[OpenWrt-Devel] [PATCH v2 0/4] [RFC] base-files: add new backup options

Luiz Angelo Daros de Luca luizluca at gmail.com
Wed Apr 4 19:28:22 EDT 2018


My previous patch on Nov2017 (http://lists.infradead.org/pipermail/lede-dev/2017-November/009892.html)
generated some discussion because it depends on the presence of /rom to become
effetive. So I opted to turn it into a new sysupgrade option (-u).

Besides that, I added some more stuff to sysupgrade that I use in
my systems.

Each patch in this series is almost indepenly of each other.
Except for the first one, they add new sysupgrade options:

-u) equivalent to the previous patch. I think that, if adopted as
    default in future, it will make upgrades cleaner. For now, it
    is optional.

-o) this option tries to save everything that was changed. It includes
    all new files, conffiles (works with -u), sysupgrade.conf and
    keep.d. This is what I normally use in my backups as it saves both data
    and confs, keeping them as clean as possible.

-k) This adds a new file that I use to quickly reinstall all extra
    packages. A future improvement would be to use it in a service that installs
    install those packages as soon as network is up (similar to uci-default
    scripts)

For now, it is still pending to bump package release.
    
--
Luiz Angelo
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list