View previous topic :: View next topic |
Author |
Message |
boolean n00b
Joined: 30 Oct 2002 Posts: 47 Location: Hillsborough, NJ
|
Posted: Wed Dec 18, 2002 5:08 am Post subject: make.conf overwritten during bootstrap |
|
|
currently installing gentoo on my laptop from stage1
i set all my USE variables, CFLAGS, etc in make.conf then started bootstrapping. hours later, it's done. and i check make.conf and it's back to normal.
so i redo my make.conf, back it up to make.conf.bak, and restart the bootstrap. using another console i check make.conf during the process, and once again it is rewritten..
will bootstrapping just not use my USE, CFLAGS settings? is this normal?
i restarted bootstrapping again, and i'll just let it do it's thing. then copy over my backed up make.conf for emerge system later on.
i just thought this was strange, wasn't mentioned in the install guide. |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Wed Dec 18, 2002 8:00 am Post subject: |
|
|
The emerge of portage when config file protection is off that happens early in the bootstrap overwrites make.conf. bootstrap.sh takes two precautions to get around this: first, it copies make.conf to make.conf.build, and replaces it when bootstrap.sh finishes. Secondly, it extracts many of your important variables out of make.conf before and uses them during the bootstrap. See the source of bootstrap.sh for details. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
boolean n00b
Joined: 30 Oct 2002 Posts: 47 Location: Hillsborough, NJ
|
Posted: Wed Dec 18, 2002 5:10 pm Post subject: |
|
|
hmm, for some reason the first time it didn't get copied back right. when i bootstrapped again i noticed that it did copy it back after it was done.
thanks |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Wed Dec 18, 2002 8:25 pm Post subject: |
|
|
boolean wrote: | hmm, for some reason the first time it didn't get copied back right. | This happens when the bootstrap process terminates abnormally. Did it? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
boolean n00b
Joined: 30 Oct 2002 Posts: 47 Location: Hillsborough, NJ
|
Posted: Thu Dec 19, 2002 4:46 pm Post subject: |
|
|
i guess it may have? i don't know..
i restarted it again, and i'm going from stage2->stage3 now with no problems so far.
thanks |
|
Back to top |
|
|
|