1 |
Hi all, |
2 |
|
3 |
from time to time, I need to make (and maintain) modifications to an |
4 |
ebuild from the main tree in my local overlay. |
5 |
So basically, I create the directory structure from |
6 |
/usr/portage/<category>/<package>/ under |
7 |
/usr/local/portage/<category>/<package>/, copy over the ebuild and do my |
8 |
modifications in the ebuild. |
9 |
So far how an overlay works ;-) |
10 |
|
11 |
But if there are references to patches, init-scripts, conf-files, etc |
12 |
from $FILESDIR w/i the original ebuild, one also needs to copy those |
13 |
into /usr/local/portage/../../files/ .. |
14 |
|
15 |
Is it possible to "overlay" such files used in epatch(), newins(), |
16 |
newconfd(), newinitd(), etc too..? |
17 |
|
18 |
so i.e: |
19 |
FILESDIR = "${repository_location}/${CATEGORY}/${PN}/files" |
20 |
should support a fallback to: |
21 |
FILESDIR = "${PORTDIR}/${CATEGORY}/${PN}/files" |
22 |
if not found... |
23 |
(or actually to the defined $master from the repo used) |
24 |
|
25 |
Christian |