1 |
On 4/24/06, Brian <dol-sen@×××××.net> wrote: |
2 |
> On Sun, 2006-23-04 at 23:05 -0400, Tom Hosiawa wrote: |
3 |
> > I've finished my superkaramba theme, but I'm noticing one bug that I |
4 |
> > think has something to do the way emerge or portage modules are |
5 |
> > written that I don't understand. |
6 |
> > |
7 |
> > Basically, I've trimmed everything in emerge down that doesn't |
8 |
> > directly deal with system or a world update. I import my trimmed |
9 |
> > emerge module and call the a main function I created that contains |
10 |
> > what was done automatically in the regular emerge. |
11 |
> > |
12 |
> > Everything works but after loading the superkaramba theme, if I change |
13 |
> > a useflag in package.use, doing a emerge '-puvDN sysmte' doesn't |
14 |
> > recognize the change. I'm wondering what could be causing this? |
15 |
> > |
16 |
> > In case the above doesn't make sense, here's what i mean. |
17 |
> > 1. load superkaramba theme |
18 |
> > 2. do a 'emerge -puvDN system', everything correct at this point |
19 |
> > 3. change use flag in package.use |
20 |
> > 4. do a 'emerge -puvDN system' again, result still same from point 2, |
21 |
> > emerge not picking up the changed use flag |
22 |
> > |
23 |
> > Is there something in emerge that needs to be reset other than whats |
24 |
> > initialized at the beginning for it to recognize changes in |
25 |
> > package.use after loading module? |
26 |
> > |
27 |
> > Here's a copy of the trimmed down emerge, but that shouldn't be need |
28 |
> > as it remains the same. |
29 |
> > http://www.tomek.ca/websvn/filedetails.php?repname=portage-monitor&path=%2Fportage_engine.py&rev=0&sc=0 |
30 |
> > -- |
31 |
> > Tom |
32 |
> > |
33 |
> |
34 |
> You have to |
35 |
> |
36 |
> [code] |
37 |
> |
38 |
> reload(portage) |
39 |
> |
40 |
> ]/code] |
41 |
> |
42 |
> for it to see any change to configs. |
43 |
> |
44 |
> -- |
45 |
> Brian <dol-sen@×××××.net> |
46 |
I tried reloading my emerge module before, but didn't think of |
47 |
reloading portage. That did it. |
48 |
|
49 |
Thanks |
50 |
-- |
51 |
Tom |
52 |
|
53 |
-- |
54 |
gentoo-portage-dev@g.o mailing list |