Documentation ¶
Overview ¶
getdeps is a tool to fetch the dependencies necessary to build OSF (Open System System Firmware). It works by parsing a JSON configuration containing the definitions of all the components that should be fetched. This tool also generates a JSON file containing all the components' versions, suitable for using in the `internal_versions` VPD variable for OSF.
The supported components currently are: - coreboot - kernel (linux) - initramfs (u-root)
For each component it is possible to specify the source (e.g. the git repo or package URL), its version (e.g. the branch and git commit hash, or the package version and hash).
It is also possible to specify an URL overrides file, which will replace the corresponding component's URL with the override. This is useful if you want, for example, use alternative mirrors and repositories for a specific component.
The hash mode allows you to be strict or permissive in the hash validation, and, when used in update mode, it lets you use the latest commit hashes.