Skip to content

Commit 0d46926

Browse files
author
2b57
committed
update readme
1 parent f9f9fd5 commit 0d46926

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ This is Gentoo Linux overlay experiment allowing to have your stage3 completely
44

55
### WARNING: Alpha quality!
66

7+
## Technote
8+
Since this is not official and tweaked base profile is required (as well as other ARCH-native parent ones), `assets/stage-builder.sh` script
9+
creates portage overlay via OverlayFS, which combines mainline Gentoo one with the content of `assets/baserepo_overlay` folder. Modifications made there are purely cosmetic thus patch against upstream would be minimal.
10+
11+
## Concept
12+
GCC and binutils are deeply ingrained in the system, so two virtuals were created: `virtual/toolchain`, which can be either `gcc` or `clang`, and `virtual/binutils`, which can be `binutils` or `llvm`, respectively. Proposed profiles will take care of required USE flags and make required virtual resolutions by masking GCC/binutils.
13+
714
## Building stage3 by hand
815

916
As of now, there are profiles for `amd64` only. Once PoC will be done, other archs will be added.
@@ -34,9 +41,9 @@ git clone https://github.com/gentoo/releng.git
3441

3542
```
3643
cd /var/db/repos/toolchain-clang
37-
./scripts/stage-builder.sh specs/clang/musl/stage1.spec
38-
./scripts/stage-builder.sh specs/clang/musl/stage2.spec
39-
./scripts/stage-builder.sh specs/clang/musl/stage3.spec
44+
./assets/scripts/stage-builder.sh specs/clang/musl/stage1.spec
45+
./assets/scripts/stage-builder.sh specs/clang/musl/stage2.spec
46+
./assets/scripts/stage-builder.sh specs/clang/musl/stage3.spec
4047
```
4148

4249
3. Cross fingers...

0 commit comments

Comments
 (0)