Difference between revisions of "Installsources"
From Funtoo Linux
(This is an initial page about the installsources feature of Portage.) |
|||
| (One intermediate revision by one user not shown) | |||
| Line 1: | Line 1: | ||
The <code>installsources</code> feature of Portage is useful to have source code available for installed packages for debugging purposes. The feature will cause Portage to copy the source code used to build a package to an appropriate subdirectory of <code>/usr/src/debug</code>. For example, if <code>=x11-libs/gtksourceview-2.10.5-r1</code> is installed, then its source code would be found in <code>/usr/src/debug/x11-libs/gtksourceview-2.10.5-r1</code>. In order to use this feature, <code>debugedit</code> needs to be installed. | The <code>installsources</code> feature of Portage is useful to have source code available for installed packages for debugging purposes. The feature will cause Portage to copy the source code used to build a package to an appropriate subdirectory of <code>/usr/src/debug</code>. For example, if <code>=x11-libs/gtksourceview-2.10.5-r1</code> is installed, then its source code would be found in <code>/usr/src/debug/x11-libs/gtksourceview-2.10.5-r1</code>. In order to use this feature, <code>debugedit</code> needs to be installed. | ||
| − | + | {{feature|installsources}} | |
| − | [[Category:Portage | + | [[Category:Portage]] |
Latest revision as of 03:49, 20 January 2011
The installsources feature of Portage is useful to have source code available for installed packages for debugging purposes. The feature will cause Portage to copy the source code used to build a package to an appropriate subdirectory of /usr/src/debug. For example, if =x11-libs/gtksourceview-2.10.5-r1 is installed, then its source code would be found in /usr/src/debug/x11-libs/gtksourceview-2.10.5-r1. In order to use this feature, debugedit needs to be installed.
To enable installsources add the following to the bottom of /etc/make.conf.
| Code: /etc/make.conf |
|
FEATURES="${FEATURES} installsources" |