Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Stage Files vs. Binary Packages
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
tomgan
n00b
n00b


Joined: 16 Feb 2003
Posts: 28
Location: Vaxholm (Sweden)

PostPosted: Sun Feb 22, 2004 5:28 pm    Post subject: Stage Files vs. Binary Packages Reply with quote

How come the installation uses a prepackaged root (stage files) instead of emerging separate (binary or not) packages into /mnt/gentoo?

The only difference here is that a user cannot control what gets installed as it is now. Portage is a pretty clean way of doing things, but is not used all the way... Does anyone know why?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Sun Feb 22, 2004 5:42 pm    Post subject: Reply with quote

tomgan,

Stage 1 is a working compiler toolchain. bootstrap.sh builds the toolchain from sources, so the compiler that builds the compiler is the only binary you use.

Purests will build the toolchain several times. You use Gentoos supplied binary the first time, the output of that compile the second time, then you build it again and compare the second and third builds - they should be identical.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
tomgan
n00b
n00b


Joined: 16 Feb 2003
Posts: 28
Location: Vaxholm (Sweden)

PostPosted: Sun Feb 22, 2004 5:59 pm    Post subject: Reply with quote

Yes, absolutely. (I just wish I had better computers to be able to use stage1.)

But, still, one could argue that stage2-3 also could be split up into simple binary ebuilds (GRP packages perhaps?). This would avoid the requirement of keeping tar.bz2-files up to date (the less duplicates of the same files the better).

So, stage1 would be installing a binary compiler and building the rest.
Stage2 would be installing even more binary packages.
Stage3 even more.

(Besides, building a bootstrap compiler could be done with a compiler on the CD, and then recompile everything on disc. Hmm, I think my main point is that everything could be built from the CD / netboot compiler, avoiding stage-files.)
Back to top
View user's profile Send private message
Selecter
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jan 2004
Posts: 128
Location: Estonia

PostPosted: Sun Feb 22, 2004 6:02 pm    Post subject: Reply with quote

What speed performance will I get from compling from stage1, not stage2?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Sun Feb 22, 2004 6:50 pm    Post subject: Reply with quote

Selecter,

Not a lot. Stage 1 is the toolchain. Stage 2 is the rest of the system, except the kernel, logger and boot loader.

The toolchain is updated fairly often so you will build it as part of your regular upates - then it will be used for updating other things as they change. No matter what stage you start at, if you do regular updates, you will eventually end up with a stage 1 system.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9538
Location: beyond the rim

PostPosted: Mon Feb 23, 2004 1:10 am    Post subject: Reply with quote

I'm not sure I understand the problem here, what would the benefit of stage3 as GRP packages ?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum