aboutsummaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Don't work around formatting issues in dependencies toolAndrew Robbins2019-02-222-5/+5
| | | | Output is fixed with a5babe37f42cc162812f8ed3310a1e0c45eabb67
* Remove unnecessary spaces in command substitutionsAndrew Robbins2017-10-283-33/+33
| | | | | | | | | This is likely one of the very last changes necessary to make the Libreboot build system more cohesive in appearance. Hopefully from this point forward it won't be as readily apparent as to who wrote which parts of the build system (i.e. won't look like a patchwork quilt any longer).
* Make use of Bash's '-n' operator for testsAndrew Robbins2017-10-281-5/+5
| | | | | | | | | | | | As an example, do this: [[ -n $revision ]] instead of this: ! [[ -z $revision ]] Makes the code easier to read.
* Replace usage of the '[' Bash builtin with '[['Andrew Robbins2017-10-283-15/+15
| | | | | | | | | | There's no benefit to using the POSIX-style '[' test builtin considering its '-a' and '-o' operators are unused in the Libreboot build system. Plus, '[[' is safer with respect to any containing file redirections (for example). Prior, both '[' and '[[' were used throughout the codebase--a disparity in usage which this change aims to eliminate.
* Modify fd copying in printf calls for readabilityAndrew Robbins2017-10-282-4/+4
|
* Remove braces from parameter expansionsAndrew Robbins2017-09-212-21/+21
| | | | | | | * tools/dependencies/dependencies * tools/dependencies/dependencies-helper ditto
* Create 'dependencies' tool to print dependenciesAndrew Robbins2017-09-142-0/+130
| | | | | | | | | | Mostly reimplements the old dependency-fetching scripts from resources/scripts/helpers/build/dependencies, though instead of fetching the requisite dependencies for the user, it prints them to stdout. The scripts do not perform any downloading/installation due to root privileges being necessary to carry it out.
* Add dependencies to trisquel configuration dirsAndrew Robbins2017-09-1427-0/+212
| | | | | Dependencies for individual programs are placed in separate files to lower maintainence costs.
* Add dependencies to parabola configuration dirsAndrew Robbins2017-09-1427-0/+183
| | | | | Dependencies for individual programs are placed in separate files to lower maintainence costs.
* Create directory structure for dependency toolAndrew Robbins2017-09-147-0/+4
| | | | | Any other compatible system (e.g. *BSD) can be added in the future once the necessary packages on those systems have been determined.
* Vars TAR_XZ,ASC,SHA256SUM renamed for generality.Andrew Robbins2017-06-251-1/+1
| | | | | Will help facilitate sane code when handling: archive formats, checksum file extensions, signature formats.
* Replaced '#!/bin/bash' w/ '#!/usr/bin/env bash'Andrew Robbins2017-06-235-5/+5
| | | | | This is mainly useful for being able to run these scripts on BSDs. And for users who use a Bash not installed to /bin.
* Remove unnecessary 'env' invocation from printf.Andrew Robbins2017-06-233-16/+16
| | | | | This reverts part of pull request #217 which called the 'env' binary for each printf invocation.
* Fixed printf calls & replaced 'echo' w/ printf.Andrew Robbins2017-06-233-16/+16
| | | | | | | | | All printf calls should now be properly formatted; prior, the format specifier string was erroneously used for both the format specifiers and the string to be printed. 'env' is now used to locate the printf binary so as to avoid potentially using a shell builtin. Lastly, all calls to 'echo' within the new build system have been replaced with printf for consistency/portability purposes.
* tools: Add boot-keys tool to handle keys and images verificationPaul Kocialkowski2017-01-159-0/+199
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* blobs-discover: Use fully qualified path to project blobs and blobs-ignorePaul Kocialkowski2017-01-151-6/+6
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* tools: blobs-discover: Detect linux in deblob-checkPaul Kocialkowski2017-01-153-3/+30
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Paper build system initial import into LibrebootPaul Kocialkowski2017-01-154-0/+9035
This is the initial import of the Paper build system into Libreboot. It was written as a flexible and painless replacement for the Libreboot build system, allowing to support many different configurations. It currently only supports the following CrOS devices: * Chromebook 13 CB5-311 (nyan big) * Chromebook 14 (nyan blaze) * Chromebook 11 (HiSense) (veyron jerry) * Chromebit CS10 (veyron mickey) * Chromebook Flip C100PA (veyron minnie) * Chromebook C201PA (veyron speedy) The build system also supports building various tools and provides various scripts to ease the installation on CrOS devices. Signed-off-by: Paul Kocialkowski <contact@paulk.fr>