From 9ee658cba222c4141d90f868a45ac3718d655852 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" <csa@suren.me> Date: Mon, 2 Sep 2019 21:21:29 +0200 Subject: Proof of concept --- README | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 README (limited to 'README') diff --git a/README b/README new file mode 100644 index 0000000..2f9e115 --- /dev/null +++ b/README @@ -0,0 +1,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. + -- cgit v1.2.3