summaryrefslogtreecommitdiff
path: root/config/git/grub/pkg.cfg
AgeCommit message (Collapse)Author
2025-09-07Revert "git/grub: use codeberg as the main mirror"Leah Rowe
This reverts commit d06d6a190569574423ff5e60d27ee7f03208dd16.
2025-09-07Revert "change grub git again"Leah Rowe
This reverts commit 1e07c4eb02da5c51d5278583b2a3e2de551f2a62.
2025-09-07change grub git againLeah Rowe
this time to source hut. for some reason, *grub* is slow no matter what repo provider i host it on?? i tested srht just now, and it seems ok. let's use that. i'm *paying* for this sourcehut account, so it better be good! Signed-off-by: Leah Rowe <leah@libreboot.org>
2025-09-05git/grub: use codeberg as the main mirrorLeah Rowe
the gnu one is often really slow, for some reason. use the official gnu mirror only as a backup. Signed-off-by: Leah Rowe <leah@libreboot.org>
2024-12-27add spdx headers to various config filesLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2024-06-22lib.sh: more unified config handlingLeah Rowe
replace it with logic that simply uses "." to load files directly. for this, "vcfg" is added as a variable in coreboot target.cfg files, referring to a directory in config/vendor/ containing a file named pkg.cfg, and this file then contains the same variables as the erstwhile config/vendor/sources config/git files are now directories, also containing pkg.cfg files each with the same variables as before, such as repository link and commit hash this change results in a noticeable reduction in code complexity within the build system. unified reading of config files: new function setcfg() added to lib.sh setcfg checks if a config exists. if a 2nd argument is passed, it is used as a return value for eval, otherwise a string calling err is passed. setcfg output is passed through eval, to set strings based on config; eval must be used, so that the variables are set within the same scope, otherwise they'd be set within setcfg which could lead to some whacky results. there's still a bit more more to do, but this single change results in a substantial reduction in code complexity. Signed-off-by: Leah Rowe <leah@libreboot.org>