summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-01-28 20:11:14 +0000
committerMike Frysinger <vapier@gentoo.org>2013-01-28 20:11:14 +0000
commit06ca245c4af55dc552bf5c30cd531ec7371bd582 (patch)
treedbae7cad52f20f4164cf2d9ae3b22ae4fd7ff0bb /eclass/savedconfig.eclass
parentUse slot 0 for openssl as pointed out by Zac Medico. (diff)
downloadgentoo-2-06ca245c4af55dc552bf5c30cd531ec7371bd582.tar.gz
gentoo-2-06ca245c4af55dc552bf5c30cd531ec7371bd582.tar.bz2
gentoo-2-06ca245c4af55dc552bf5c30cd531ec7371bd582.zip
add high level over view of how to use this eclass for users
Diffstat (limited to 'eclass/savedconfig.eclass')
-rw-r--r--eclass/savedconfig.eclass18
1 files changed, 17 insertions, 1 deletions
diff --git a/eclass/savedconfig.eclass b/eclass/savedconfig.eclass
index a0a8cd730f08..304eef8b2899 100644
--- a/eclass/savedconfig.eclass
+++ b/eclass/savedconfig.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/savedconfig.eclass,v 1.20 2012/01/04 08:23:51 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/savedconfig.eclass,v 1.21 2013/01/28 20:11:14 vapier Exp $
# @ECLASS: savedconfig.eclass
# @MAINTAINER:
@@ -13,6 +13,22 @@
# of saving and restoring the configuration files was developed
# so users can modify these config files and the ebuild will take it
# into account as needed.
+#
+# @ROFF .nr step 1 1
+# Typically you can create your own configuration files quickly by
+# doing:
+# @ROFF .IP \n[step] 3
+# Build the package with FEATURES=noclean USE=savedconfig.
+# @ROFF .IP \n+[step]
+# Go into the build dir and edit the relevant configuration system
+# (e.g. `make menuconfig` or `nano config-header.h`). You can look
+# at the files in /etc/portage/savedconfig/ to see what files get
+# loaded/restored.
+# @ROFF .IP \n+[step]
+# Copy the modified configuration files out of the workdir and to
+# the paths in /etc/portage/savedconfig/.
+# @ROFF .IP \n+[step]
+# Emerge the package with just USE=savedconfig to get the custom build.
inherit portability