From 34ae76b4bfc5d7c153f6c47f5257c2db515e70f1 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Mon, 13 Feb 2023 17:27:37 +0100 Subject: Package bootstrapping: support copying the needed parts ... while following symbolic links. In this way, bootstrapping is possible against preinstalled dependencies that symbolic links or special files in their directories. --- doc/future-designs/symlinks.org | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'doc/future-designs') diff --git a/doc/future-designs/symlinks.org b/doc/future-designs/symlinks.org index d7e87c95..47ca5063 100644 --- a/doc/future-designs/symlinks.org +++ b/doc/future-designs/symlinks.org @@ -61,18 +61,19 @@ do contain symbolic links, e.g., shared libraries pointing to the specific version (like ~libfoo.so.3~ as a symlink pointing to ~libfoo.so.3.1.4~) or detours through ~/etc/alternatives~. -** Proposed treatment of symbolic links - -*** "Shopping list" for bootstrapping against pre-compiled dependencies +** Implemented stop-gap: "shopping list" for bootstrapping As a stop-gap measure to support building the tool itself against pre-installed dependencies with the respective directories containing symbolic links, or tools (like ~protoc~) being symbolic links (e.g., -to the specific version), repositories can specify a list of files +to the specific version), repositories can specify, in the ~"copy"~ +attribute of the ~"local_bootstrap"~ parameter, a list of files and directories to be copied as part of the bootstrapping process to a fresh clean directory serving as root; during this copying, symlinks are followed. +** Proposed treatment of symbolic links + *** "Ignore-special" roots To allow working with source trees containing symbolic links, we -- cgit v1.2.3