Re: etcupdate warning: "No previous tree to compare against, a sane comparison is not possible."

2021-06-24 Thread Nuno Teixeira
Hello Jonh!

I did it and it worked fine:

etcupdate extract
etcupdate diff > /tmp/etc.diff
cd /
patch -R < /tmp/etc.diff

Patch can't find diff paths so I run it inside /etc /etc/defalts ... until
all diff is applied.

Now when I run 'etcupdate' I don't get any warning and 'etcupdate diff'
doesn't show diffs.

Hope that warning is solved when next update comes.

Thanks,

Nuno Teixeira


Re: etcupdate warning: "No previous tree to compare against, a sane comparison is not possible."

2021-06-22 Thread John Baldwin

On 6/22/21 12:34 AM, Nuno Teixeira wrote:

Hello,

Should I be worry about etcupdate warning "No previous tree to compare
against, a sane comparison is not possible." when I recompile and update
current?

I receive same warning when I do a 'etcupdate -p' after installworld too.


Yes, this means etcupdate is not merging any changes to /etc.  You should
run 'etcupdate extract' before your next upgrade cycle.  You should then
review the output of 'etcupdate diff' to see if there are files in /etc
that need updating.  If there are files that you want to update to stock
versions you can use 'etcupdate revert /path/to/file'.  Otherwise, you can
use the patch generated by 'etcupdate diff' either as a guide to manually
update files to remove unwanted differences, or as input to patch -R.

--
John Baldwin



etcupdate warning: "No previous tree to compare against, a sane comparison is not possible."

2021-06-22 Thread Nuno Teixeira
Hello,

Should I be worry about etcupdate warning "No previous tree to compare
against, a sane comparison is not possible." when I recompile and update
current?

I receive same warning when I do a 'etcupdate -p' after installworld too.

Thanks,

Nuno Teixeira