cfg-update

From Gentoo Wiki
Jump to:navigation Jump to:search

Resources
Article status
This article has some todo items:
  • Finish usage

cfg-update is a utility used on Gentoo to manage configuration file updates. It allows system administrators to review then accept or reject upstream configuration changes, which frequently happens when packages are updated. It is has an integrated backup system which does not require an external version control system.

Installation

USE flags

USE flags for app-portage/cfg-update Easy to use GUI & CLI alternative for etc-update

X Add support for X11

Emerge

root #emerge --ask app-portage/cfg-update

Configuration

Configuration is done through /etc/cfg-update.conf. The most common option users need to change is the MERGE_TOOL option to the preferred merge tool of the system. Supported tools include meld, xxdiff, kdiff3, gvimdiff, tkdiff, vimdiff, sdiff and imediff.

Usage

Invocation

cfg-update must be run as the root user. The first time it runs, it creates a portage hook to update its index and will remind of running the update command.

user $cfg-update --help

To update system files:

root #cfg-update -u

See also