1 |
What about having local post_install scripts (something like debian |
2 |
hooks, if i remember well) ? |
3 |
|
4 |
For example, it would be sooo cool to have a |
5 |
/etc/portage/portage.d/sys-kernel/vanilla-sources/post_install file of |
6 |
my own which would have access of every variable you can have in an |
7 |
ebuild. |
8 |
|
9 |
This is how my post_install script for vanilla-sources would look like |
10 |
: |
11 |
|
12 |
cd /usr/src || die |
13 |
rm -f linux &>/dev/null |
14 |
ln -s linux-$KV linux || die |
15 |
cp -f /etc/kernels/myconfig /etc/kernels/config-$KV || die |
16 |
nice -n 20 genkernel || die |
17 |
|
18 |
|
19 |
|
20 |
-- |
21 |
gentoo-portage-dev@g.o mailing list |