Hello all!

I'm trying to build my own stage4 with specific packages and use flags.
My steps are: stage3-i686-2007.0 + recent snapshot -> stage1 -> stage2 -> 
stage3 -> stage4
Specs for stages 1-3 are generic (just copied from releng/specs/2007.0/x86), 
and stage4
adds portage_confdir, stage4/use and several packages.

Stage4 compiles fine, but when I chroot to it and issue emerge -pvuDN world, 
portage
wants to remerge several system packages due to changed use flags (for example 
ipv6, which
is disabled in my stage4/use).

So it is seems that my stage4/use and portage_confdir does not affect system 
packages
(I guess that catalyst does only --emptytree when emerging stage4).

So, there are my questions:

1. Am I correct in assumption that use flags are stacked during stage4 like 
this: 
profile -> stage4/use -> package.use (increasing priority from left to right)?
2. What is the proper (and simple to maintain) way to deviate slightly in 
system use flags?

My guesses:
1. Add 'hostuse' variable to earlier specs (stage3?)
2. Add 'portage_confdir' to earlier specs (but my -ipv6 listed in stage4/use 
and not in package.use)
3. Create new target (based on stage4 code) and add --newuse somewhere
4. Create my own profile (don't know where to put it and how to maintain during 
tree updates)

Any suggestions?
-- 
[email protected] mailing list

Reply via email to