1 |
vapier 13/01/28 20:11:14 |
2 |
|
3 |
Modified: savedconfig.eclass |
4 |
Log: |
5 |
add high level over view of how to use this eclass for users |
6 |
|
7 |
Revision Changes Path |
8 |
1.21 eclass/savedconfig.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/savedconfig.eclass?rev=1.21&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/savedconfig.eclass?rev=1.21&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/savedconfig.eclass?r1=1.20&r2=1.21 |
13 |
|
14 |
Index: savedconfig.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/savedconfig.eclass,v |
17 |
retrieving revision 1.20 |
18 |
retrieving revision 1.21 |
19 |
diff -u -r1.20 -r1.21 |
20 |
--- savedconfig.eclass 4 Jan 2012 08:23:51 -0000 1.20 |
21 |
+++ savedconfig.eclass 28 Jan 2013 20:11:14 -0000 1.21 |
22 |
@@ -1,6 +1,6 @@ |
23 |
# Copyright 1999-2011 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/savedconfig.eclass,v 1.20 2012/01/04 08:23:51 vapier Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/savedconfig.eclass,v 1.21 2013/01/28 20:11:14 vapier Exp $ |
27 |
|
28 |
# @ECLASS: savedconfig.eclass |
29 |
# @MAINTAINER: |
30 |
@@ -13,6 +13,22 @@ |
31 |
# of saving and restoring the configuration files was developed |
32 |
# so users can modify these config files and the ebuild will take it |
33 |
# into account as needed. |
34 |
+# |
35 |
+# @ROFF .nr step 1 1 |
36 |
+# Typically you can create your own configuration files quickly by |
37 |
+# doing: |
38 |
+# @ROFF .IP \n[step] 3 |
39 |
+# Build the package with FEATURES=noclean USE=savedconfig. |
40 |
+# @ROFF .IP \n+[step] |
41 |
+# Go into the build dir and edit the relevant configuration system |
42 |
+# (e.g. `make menuconfig` or `nano config-header.h`). You can look |
43 |
+# at the files in /etc/portage/savedconfig/ to see what files get |
44 |
+# loaded/restored. |
45 |
+# @ROFF .IP \n+[step] |
46 |
+# Copy the modified configuration files out of the workdir and to |
47 |
+# the paths in /etc/portage/savedconfig/. |
48 |
+# @ROFF .IP \n+[step] |
49 |
+# Emerge the package with just USE=savedconfig to get the custom build. |
50 |
|
51 |
inherit portability |