Pass IGNORE_FILES to mergemaster in commandline

Łukasz Wąsikowski lukasz at wasikowski.net
Tue Oct 1 19:48:15 UTC 2013


W dniu 2013-10-01 21:39, Kai Gallasch pisze:

> Am 01.10.2013 um 17:56 schrieb Łukasz Wąsikowski:
>> Hi all,
>>
>> How should I update config files in jails? I've always did it by running:
>>
>> IGNORE_FILES='/boot/device.hints /etc/motd' mergemaster -PFUi -D
>> /path/to/jail
>>
>> Now I'm getting *** FATAL ERROR: Unable to install ./boot/device.hints
>> to /path/to/jail/boot, so I assume that IGNORE_FILES is not used
>> anymore. I know, that the manual says that IGNORE_FILES can't be
>> overridden from commandline, but it worked. And it was good :) I'd
>> rather not want to go "edit /etc/mergemaster.rc" road, because I tend to
>> forget to change it back to defaults and it bitten me hard in the past.
> 
> 
> Hi.
> 
> Putting e.g. IGNORE_FILES='/boot/device.hints /etc/motd /etc/hosts' in /etc/mergemaster.rc worked for me with 9.2-STABLE

I know that putting it in /etc/mergemaster.rc works, I wrote that I
don't want to go this road because it's error prone - I forgot once to
remove it from mergemaster.rc and ended with unbootable system during
next update of the host. Switching this from commandline would be great,
and it was working until 9.2-RELEASE.

-- 
best regards,
Lukasz Wasikowski


More information about the freebsd-stable mailing list