diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-02-13 17:27:37 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-02-14 14:24:08 +0100 |
commit | 34ae76b4bfc5d7c153f6c47f5257c2db515e70f1 (patch) | |
tree | 0c4d7ab05e764a2c810a9f6fbe42cfdc87b513a9 /doc | |
parent | 10af751026e15402cb8193163f2aa2d0d818a21a (diff) | |
download | justbuild-34ae76b4bfc5d7c153f6c47f5257c2db515e70f1.tar.gz |
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.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/future-designs/symlinks.org | 9 |
1 files changed, 5 insertions, 4 deletions
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 |