1 |
On Monday 02 Jun 2003 13:03, Georgi Georgiev wrote: |
2 |
> > The tail end of my build-kernel scripts now looks like this: |
3 |
> > AUTOCLEAN="no" ACCEPT_KEYWORDS="~x86" kernel-deps | xargs emerge |
4 |
> |
5 |
> probably |
6 |
> |
7 |
> kernel-deps | env AUTOCLEAN=no ACCEPT_KEYWORDS="~x86" xargs emerge |
8 |
> |
9 |
> would be better. I am pretty sure that AUTOCLEAN=no is not set for |
10 |
> xargs the way you wrote it. |
11 |
|
12 |
AUTOCLEAN="no" is never accepted. The only thing that works here is |
13 |
adding: |
14 |
CONFIG_PROTECT="/lib/modules" |
15 |
to /etc/env.d/00basic |
16 |
|
17 |
...and this to /etc/init.d/bootmisc: |
18 |
# Ensure that /usr/src/linux points to booted kernel |
19 |
if [ "/usr/src/linux-$(uname -r)" != "$(ls -l /usr/src/linux|cut -f2 |
20 |
-d\>|cut -f2,3,4 -d' ')" ] |
21 |
then |
22 |
if [ "$( file /usr/src/linux | grep 'symbolic link' )" != "" ] |
23 |
then |
24 |
rm -f /usr/src/linux |
25 |
ln -s /usr/src/linux-$(uname -r) /usr/src/linux |
26 |
fi |
27 |
fi |
28 |
|
29 |
|
30 |
-- |
31 |
gentoo-dev@g.o mailing list |