this post was submitted on 11 Jul 2023
4 points (100.0% liked)

Gentoo Linux

493 readers
1 users here now

The Gentoo Linux community for discussions, tips and tricks, and general kernel compiling

founded 1 year ago
MODERATORS
 

I've heard that you should be using the appropriate stage3 archive for the profile you want to use, but what exactly are the differences between them? I'm asking this because I want to try doing a Hardened/SELinux/Musl/LLVM install, and there's a profile for that, but not the stage3 archive. I was thinking of starting with either Hardened/Musl or LLVM/Musl. Any thoughts on that?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 1 year ago

From my understanding, it is okay if a stage3 archive does not exist for your target. Make sure to pick the closest one. Your approach seems right imo. I am not sure if hardened or LLVM is better though.

My understanding is that a stage3 is kind of a starting point. In many cases you can switch profiles, and all that will happen is it will just have to do more compilation to get there. Choosing the closest stage3 saves you time in that initial compile.

But some profile switches can cause trouble. For example, switching between glibc and musl may not work. But switching between, say, non-desktop to desktop is perfectly fine.