Mergemaster

krad kraduk at gmail.com
Tue Feb 7 21:18:43 UTC 2012


On 5 February 2012 23:59, Net Warrior <netwarrior863 at gmail.com> wrote:

> Hi there.
>
> I found very tedious when , after a makeworld the mergemaster process to
> say (i) to install/upgrade/replace/  with the new file, specially when
> there are a lot of files  I was reading the documentation but it's not
> clear to me which option to use to automate the process, which is the right
> one, or combination?
>
> -U -F -iF?
>
> Thanks for your time and support
> Regards
> ______________________________**_________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions<http://lists.freebsd.org/mailman/listinfo/freebsd-questions>
> To unsubscribe, send any mail to "freebsd-questions-**
> unsubscribe at freebsd.org <freebsd-questions-unsubscribe at freebsd.org>"
>


here is my rc file it takes care of most of the stuff. Once installed just
run mergemaster with no flags

$ cat /etc/mergemaster.rc
AUTO_INSTALL=YES
AUTO_UPGRADE=YES
PRESERVE_FILES=yes
#IGNORE_FILES="/etc/rc.d/*"
DIFF_OPTIONS='-I$FreeBSD:.*[$]'

PRESERVE_FILES_DIR=/var/mergemaster/preserved-files-`date +%y%m%d-%H%M%S`

IGNORE_FILES="/etc/crontab /etc/fstab /etc/group /etc/hosts /etc/inetd.conf
/etc/make.conf /etc/master.passwd /etc/motd /etc/newsyslog.conf
/etc/ntp.conf /etc/ntp.drift /etc/profile /etc/rc.conf /etc/resolv.conf
/etc/services /etc/shells /etc/syslog.conf /etc/ssh/sshd_config
/etc/ssh/ssh_host_key /etc/ssh/ssh_host_key.pub /etc/ssh/ssh_host_rsa_key
/etc/ssh/ssh_host_rsa_key.pub /etc/passwd /etc/rc.conf.local
/etc/zfs/exports /etc//namedb/named.conf /etc/periodic.conf
/etc/hosts.allow /etc/hosts /etc/pf.conf /etc/sysctl.conf /etc/make.conf
/etc/src.conf /etc/mail/aliases /etc/mail/mailer.conf /etc/remote
/etc/ppp/ppp.conf /etc/nsswitch.conf /etc/locate.rc"


More information about the freebsd-questions mailing list