summaryrefslogtreecommitdiff
path: root/config/data/grub
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-30 00:40:30 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-30 00:40:30 +0100
commit789631ccb822560281c5b52f849b54e80bf92467 (patch)
treef847c533d6a4f107e81b502952c35f49a0b3748b /config/data/grub
parenta5e724e51ea8e40da72493cec36506527123e842 (diff)
trees, multi: download bare project *before* trees
when downloading multi-tree projects, the rev can be reset to HEAD instead of the actual rev for a given target. this occurs when the bare repo (e.g. src/coreboot/coreboot) does not exist and has to be downloaded first. bare repository downloading does not rely on target.cfg, in this context, only pkg.cfg, but it uses the same variable names (e.g. "rev"). instead of using a separate variable name, thus increasing code complexity (which is the exact opposite of what i want to do), do the bare repository download first. this means that the git.sh script is much cleaner now, for multi-tree projects, in that it *only* copies the bare repo then runs git_prep; in that context, the bare repo is cloned directly by calling the relevant function from script/trees, which is the same behaviour as when cloning single-tree project sources. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'config/data/grub')
0 files changed, 0 insertions, 0 deletions