blob: 2f9e115fd4cbf36877635c9fb900053ac408e276 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
Proof of concept remote builder of clean Gentoo tree to provide on demand binary packages to desktop and
laptop comptuers.
- This will not work with presence of any significant unstable packet.
* For instance, unstable firefox depends on unstable "nss-3.45". After update it is replaced in portage
with "nss-3.46". Either full "nss-3.*" branch should be unmasked (which may bring its own problems or the
manual intervention is required)
- Even with stable tree, there are pereodically circular dependencies (always during the bootstrap phase)
Idea:
- Create 'Bootstrap' image, i.e. Gentoo image with all configuration. Solved circular dependencies ready to build
make bootstrap
make check
- Instantiate 'Builder', i.e. synced configs and portage tree
make builder
make bash
- Update builder to integrate latest configuration/portage changes
make update
make bash
- Start building
make build
make logs
It will build packages and put it on the attached volume. If crashed and restarted, he will first re-use already
built binaries and, then, will continue compilling. This requires fast storage and will not play well with overlayfs.
I guess lvm based stuff is necessety.
|