Re: [LEDE-DEV] [PATCH] base-files: do not backup unchanged files

2017-11-30 Thread Moritz M
Hi, However, maybe a configuration backup is not the best way to keep track of changes on configuration files. I get it, but are there better options? The list of "configuration file" can change as long as their configuration are not listed in /lib/upgrade/keep.d. Backup consists of files li

Re: [LEDE-DEV] [PATCH] base-files: do not backup unchanged files

2017-11-24 Thread Matthias Schiffer
On 11/24/2017 08:11 AM, Luiz Angelo Daros de Luca wrote: >>> After applied, the list of files in backup in a fresh installation change >>> from: >>> to: >>> >>> root at LEDE:~# sysupgrade  -l >>> /etc/config/dhcp >>> /etc/config/firewall >>> /etc/config/network >>> /etc/config/system >>> /etc/drop

Re: [LEDE-DEV] [PATCH] base-files: do not backup unchanged files

2017-11-23 Thread Luiz Angelo Daros de Luca
>> After applied, the list of files in backup in a fresh installation change >> from: >> to: >> >> root at LEDE:~# sysupgrade  -l >> /etc/config/dhcp >> /etc/config/firewall >> /etc/config/network >> /etc/config/system >> /etc/dropbear/dropbear_rsa_host_key >> > > Hi, > > when I set up  new device

Re: [LEDE-DEV] [PATCH] base-files: do not backup unchanged files

2017-11-23 Thread Luiz Angelo Daros de Luca
>> After applied, the list of files in backup in a fresh installation change >> from: >> to: >> >> root at LEDE:~# sysupgrade  -l >> /etc/config/dhcp >> /etc/config/firewall >> /etc/config/network >> /etc/config/system >> /etc/dropbear/dropbear_rsa_host_key >> > > Hi, > > when I set up  new device

Re: [LEDE-DEV] [PATCH] base-files: do not backup unchanged files

2017-11-23 Thread Moritz M
After applied, the list of files in backup in a fresh installation change from: to: root at LEDE:~# sysupgrade -l /etc/config/dhcp /etc/config/firewall /etc/config/network /etc/config/system /etc/dropbear/dropbear_rsa_host_key Hi, when I set up new devices I usually do an export of the ini

Re: [LEDE-DEV] [PATCH] base-files: do not backup unchanged files

2017-11-18 Thread Luiz Angelo Daros de Luca
Kevin, > You need to bump PKG_RELEASE in base-files/Makefile I missed that one. I'll fix it. Stefen, > Is this really needed? Just try to remove package/base-files/files/lib/ upgrade/keep.d/base-files-essential and your problem will be gone. I think this file should be only added to the image

Re: [LEDE-DEV] [PATCH] base-files: do not backup unchanged files

2017-11-18 Thread Jonas Gorski
On 17 November 2017 at 13:23, Jonas Gorski wrote: > On 17 November 2017 at 11:35, Matthias Schiffer > wrote: >> On 11/17/2017 10:14 AM, Jonas Gorski wrote: >>> On 17 November 2017 at 01:41, wrote: From: Luiz Angelo Daros de Luca Only backup /aaa/bbb/ccc if /rom/aaa/bbb/ccc does

Re: [LEDE-DEV] [PATCH] base-files: do not backup unchanged files

2017-11-17 Thread Jonas Gorski
On 17 November 2017 at 11:35, Matthias Schiffer wrote: > On 11/17/2017 10:14 AM, Jonas Gorski wrote: >> On 17 November 2017 at 01:41, wrote: >>> From: Luiz Angelo Daros de Luca >>> >>> Only backup /aaa/bbb/ccc if /rom/aaa/bbb/ccc does not exist >>> or /aaa/bbb/ccc is different from /rom/aaa/bbb

Re: [LEDE-DEV] [PATCH] base-files: do not backup unchanged files

2017-11-17 Thread Matthias Schiffer
On 11/17/2017 10:14 AM, Jonas Gorski wrote: > On 17 November 2017 at 01:41, wrote: >> From: Luiz Angelo Daros de Luca >> >> Only backup /aaa/bbb/ccc if /rom/aaa/bbb/ccc does not exist >> or /aaa/bbb/ccc is different from /rom/aaa/bbb/ccc. >> >> Signed-off-by: Luiz Angelo Daros de Luca >> --- >>

Re: [LEDE-DEV] [PATCH] base-files: do not backup unchanged files

2017-11-17 Thread Jonas Gorski
On 17 November 2017 at 01:41, wrote: > From: Luiz Angelo Daros de Luca > > Only backup /aaa/bbb/ccc if /rom/aaa/bbb/ccc does not exist > or /aaa/bbb/ccc is different from /rom/aaa/bbb/ccc. > > Signed-off-by: Luiz Angelo Daros de Luca > --- > package/base-files/files/sbin/sysupgrade | 6 --

Re: [LEDE-DEV] [PATCH] base-files: do not backup unchanged files

2017-11-17 Thread Koen Vandeputte
On 2017-11-17 02:07, Luiz Angelo Daros de Luca wrote: After applied, the list of files in backup in a fresh installation change from: root@LEDE:~# sysupgrade -l /etc/config/dhcp /etc/config/dropbear /etc/config/firewall /etc/config/network /etc/config/system /etc/dropbear/dropbear_rsa_host_ke

Re: [LEDE-DEV] [PATCH] base-files: do not backup unchanged files

2017-11-16 Thread Kevin Darbyshire-Bryant
> On 17 Nov 2017, at 00:41, luizl...@gmail.com wrote: > > From: Luiz Angelo Daros de Luca > > Only backup /aaa/bbb/ccc if /rom/aaa/bbb/ccc does not exist > or /aaa/bbb/ccc is different from /rom/aaa/bbb/ccc. > > Signed-off-by: Luiz Angelo Daros de Luca > --- > package/base-files/files/sbin

Re: [LEDE-DEV] [PATCH] base-files: do not backup unchanged files

2017-11-16 Thread Luiz Angelo Daros de Luca
After applied, the list of files in backup in a fresh installation change from: root@LEDE:~# sysupgrade -l /etc/config/dhcp /etc/config/dropbear /etc/config/firewall /etc/config/network /etc/config/system /etc/dropbear/dropbear_rsa_host_key /etc/group /etc/hosts /etc/inittab /etc/opkg/keys/5151f6