Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48505 - etc-update to automatically replace if original unchanged
Summary: etc-update to automatically replace if original unchanged
Status: RESOLVED WORKSFORME
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-20 13:41 UTC by Mark Clegg
Modified: 2004-04-20 13:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Clegg 2004-04-20 13:41:50 UTC
I've just emerged a new baselayout and ended up with 20+ files needed updating in /etc (as reported by etc-update). Many of these I have never touched and are still in their default state, so can more than likely safely be replaced without question. 
 
Would it be a reasonable request for emerge to take a checksum of any files it puts in /etc, and then when etc-update runs, it can tell if a file has never been updated. Then it would be able to ether replace regardless, or flag the fact to the user, making the update process a little easier 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Panard 2004-04-20 13:46:54 UTC
you can use dispatch-conf instead of etc-update and edit /etc/dispatch-conf.conf. Don't forget to mkdir /etc/config-archive.
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2004-04-20 13:53:38 UTC
This is not reasonable for everyone. I wouldn't want the
default behavior changing on some packages. So I want to
see them all. etc-update is very easy to work with... You
can scroll up and down the list and pick the ones you want
to modify... and -5 the rest.

Someone needs to post a patch, if you really want this
feature for etc-update, as we don't really have time for it.

Try dispatch-conf.