Re: Mergemaster enhancement
- From: Julian Elischer <julian@xxxxxxxxxxxx>
- Date: Thu, 13 Apr 2006 10:59:03 -0700
Gordon Tetlow wrote:
I've thrown together a quick mergemaster enhancement that will automagically upgrade files that have changed in the /usr/src/etc distribution but the user hasn't changed. Great applications are for when you trust that we aren't going to break everything and only don't want mergemaster to squash files that you have customized.
Patch location: http://people.freebsd.org/~gordon/patches/mergemaster.mtree.diff
How it works:
Through clever use of mtree, I build an mtree description of everything that make distribution installs (only size and md5) from the temproot. When the user completes a mergemaster run, the mtree description file gets installed into /var/db for safe-keeping.
When the user then decides to do a subsequent upgrade (with the -U flag), the existing mtree description from /var/db is called into service looking for files that are different in DESTDIR. This is stashed away until a file that would normally end up prompting you to look at changes is encountered. Since there are no user modified changes, the new file is installed without bothering the user.
Let me know what you think.
I really like it
especially as it is optional
Thanks,
-gordon
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Mergemaster enhancement
- From: Marc G. Fournier
- Re: Mergemaster enhancement
- References:
- Mergemaster enhancement
- From: Gordon Tetlow
- Mergemaster enhancement
- Prev by Date: Mergemaster enhancement
- Next by Date: Re: Mergemaster enhancement
- Previous by thread: Mergemaster enhancement
- Next by thread: Re: Mergemaster enhancement
- Index(es):
Relevant Pages
|
|