aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Clarification on where to execute commandSebastian 'Swift Geek' Grzywna2017-07-251-1/+1
| |/
* | Merge branch 'libreboot-main-cleanup' of kragle/libreboot into masterLeah Rowe2017-07-252-18/+14
|\ \ | |/ |/|
| * Add copyright noticeAndrew Robbins2017-07-221-0/+1
| |
| * Make 'sources' consequent prettierAndrew Robbins2017-07-221-6/+6
| | | | | | | | | | | | | | Removes an unnecessary subshell grouping and 'set' statement and replaces it with a good ol' if/then/else construct. Also added a message printed to stdout informing the user of the change from extraction to downloading if source extraction fails.
| * Skip archive extraction if archive doesn't existAndrew Robbins2017-07-221-1/+1
| |
| * Remove unnecessary subshell groupingAndrew Robbins2017-07-221-5/+3
| |
| * Remove IFS binding masking a non-zero status codeAndrew Robbins2017-07-221-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In project_action_arguments_recursive(), IFS bindings needed to be reworked in order to avoid a situation where, for example, project_extract() would fail to extract source archives (because they didn't exist), returning a status code of 1 only for it to be masked by a rebinding of IFS--which would always succeed. ifs_save and IFS were made local variables in project_action_arguments_recursive() in order to avoid the need to rebind IFS after the for loop returns. This patch makes './libreboot sources <project>' functional.
* | Merge branch 'master' of iank/libreboot into masterAndrew Robbins2017-07-241-1/+1
|\ \ | |/ |/|
| * docs/gnulinux/grub_cbfs: small path name fixIan Kelling2017-07-241-1/+1
|/
* Merge branch 'libreboot-main-cleanup' of kragle/libreboot into masterLeah Rowe2017-07-213-19/+48
|\
| * Create array PROJECT_ACTIONS_GENERIC_IGNORE_CHECKAndrew Robbins2017-07-212-1/+4
| | | | | | | | | | | | | | Located in libs/project, this array's elements are compared with actions in PROJECTS_ACTIONS_GENERIC when libreboot_setup_project_actions() is called. This makes it simpler to add/remove actions which should/shouldn't have a corresponding check function in PROJECT_ACTIONS.
| * Create array TOOL_ACTIONS_GENERIC_IGNORE_CHECKAndrew Robbins2017-07-212-1/+4
| | | | | | | | | | | | | | Located in libs/tool, this array's elements are compared with actions in TOOLS_ACTIONS_GENERIC when libreboot_setup_tool_actions() is called. This makes it simpler to add/remove actions which should/shouldn't have a corresponding check function in TOOL_ACTIONS.
| * Move libreboot_setup_include() (for symmetry)Andrew Robbins2017-07-211-16/+16
| |
| * Add libreboot_setup_tool_actions()Andrew Robbins2017-07-212-5/+16
| | | | | | | | | | | | | | | | | | The added function is a complement to libreboot_setup_project_actions() which moves generation of the TOOL_ACTIONS array out of libs/tool and into the main script for greater malleability. Notably, the proper elements are now included in the array.
| * Rename TOOL_ACTIONS_FUNCTIONS to TOOL_ACTIONSAndrew Robbins2017-07-211-2/+2
| | | | | | | | | | | | Original naming did not have the '_FUNCTIONS' suffix, which made it more clear as to the variable's purpose. This change reverts a previous rename of mine made erroneously.
| * Fix action 'update_check' erroring out erroneouslyAndrew Robbins2017-07-211-1/+1
| |
| * Add libreboot_setup_project_actions()Andrew Robbins2017-07-212-5/+16
| | | | | | | | | | | | | | The added function is called after all files in libs/ have been sourced and provides the correct action sequence for 'test'. Importantly, this function avoids providing undefined 'usage_check' and 'clean_check' actions.
| * Make the 'test' action functional againAndrew Robbins2017-07-201-4/+4
| | | | | | | | | | | | When PROJECT_ACTIONS changed from having a string to an array of strings as its value that change was not reflected in the main script. This commit addresses that issue.
| * Rename PROJECT_ACTIONS_FUNCTIONS to PROJECT_ACTIONSAndrew Robbins2017-07-201-2/+2
| | | | | | | | | | | | Original naming did not have the '_FUNCTIONS' suffix, which made it more clear as to the variable's purpose. This change reverts a previous rename of mine made erroneously.
| * Avoid exploiting local variables' dynamic scopingAndrew Robbins2017-07-191-2/+3
| | | | | | | | | | | | | | | | Local variables 'epoch_path' and 'rnd_seed_path' are moved from libreboot_setup_variables() to libreboot_setup_reproducible_builds_variables() in order to keep things more-or-less lexical in the source code (local variables in Bash are dynamic in scope).
* | Merge branch 'master' of tiveket/libreboot into masterLeah Rowe2017-07-213-2/+6
|\ \ | |/ |/|
| * Update 'www/amd-libre.md'tiveket2017-07-211-0/+2
| |
| * Update 'docs/hardware/index.md'tiveket2017-07-211-2/+2
| |
| * Update 'docs/misc/index.md'tiveket2017-07-211-0/+2
|/
* Merge branch 'libreboot-main-cleanup' of kragle/libreboot into masterLeah Rowe2017-07-192-69/+50
|\
| * Alter whitespace in printf statements for readabilityAndrew Robbins2017-07-181-12/+11
| |
| * Simplify libreboot_setup() and libreboot()Andrew Robbins2017-07-181-18/+2
| |
| * Remove hard dependency on wgetAndrew Robbins2017-07-181-1/+1
| |
| * Clean up case forms in libreboot_{project,tool}()Andrew Robbins2017-07-181-18/+12
| |
| * Replace calls to 'cat' w/ input redirectionAndrew Robbins2017-07-181-3/+3
| |
| * Move vars CONFIG_SHELL,EDITOR,TASKS to libs/commonAndrew Robbins2017-07-182-4/+4
| |
| * Simplify libreboot_setup_variables() w/ new func.Andrew Robbins2017-07-181-19/+23
|/ | | | | Reproducibility-related variable assignments are moved to a separate function in order to make libreboot_setup_variables() less busy.
* Merge branch 'libs/project-cruft' of kragle/libreboot into masterLeah Rowe2017-07-181-43/+41
|\
| * Change '.' to the more readable 'source' commandAndrew Robbins2017-07-171-2/+2
| |
| * Use "$*" instead of $@ when assigning as a stringAndrew Robbins2017-07-171-12/+12
| | | | | | | | | | | | The local variable 'arguments' always stores the positional parameters passed to it as a string, not an array of strings, so usage of "$*" makes more sense here instead of $@.
| * Avoid checking previous exit codes indirectlyAndrew Robbins2017-07-171-7/+5
| |
| * Word-split PROJECTS_FORCE expansion (remove quotes)Andrew Robbins2017-07-171-1/+1
| |
| * Make explicit which directory 'find' should searchAndrew Robbins2017-07-171-2/+2
| |
| * Prevent 'read' from interpreting backslash escapesAndrew Robbins2017-07-171-11/+11
| |
| * Properly escape and quote regular expressionsAndrew Robbins2017-07-171-8/+8
|/
* Merge branch 'indent' of mreed/libreboot into masterLeah Rowe2017-07-168-201/+205
|\
| * Indent code blocks via CSSMichael Reed2017-07-161-0/+4
| | | | | | | | | | Now that it's done via CSS, code should be indented consistently across the whole website.
| * Do not manually indent code blocksMichael Reed2017-07-167-201/+201
|/ | | | This is a hack, and should really be done with CSS (see next commit).
* Merge branch 'chai' of cafe/libreboot into masterLeah Rowe2017-07-161-9/+9
|\
| * Link to T760 driver project (alternative to Tamil)Cafe2017-07-151-9/+9
| | | | | | | | | | | | | | Although it is unlikely that Tamil will be released in the near future, the original text implied that free 3D on the C201 depends on the release of Tamil. This is false; other projects can work on this. So, this patch links to chai.
* | Merge branch 'libs-arrays' of kragle/libreboot into masterLeah Rowe2017-07-163-12/+20
|\ \
| * | Rely less on word splitting by using arraysAndrew Robbins2017-07-143-12/+20
| | | | | | | | | | | | | | | | | | | | | Arrays are just a better idea for storing multiple strings than relying on word splitting. Consequently, several global variables in libs/* were switched to arrays and any references to said variables modified to expand to the arrays' elements.
* | | Merge branch 'speed-up-build' of mreed/libreboot into masterLeah Rowe2017-07-162-13/+11
|\ \ \
| * | | Speed up website buildMichael Reed2017-07-152-12/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It turns out that we only need bare HTML files for .md files in news, yet publish.sh creates them unconditionally. That is, we spend a lot of time building bare HTML files that we never use. This commit makes it so that bare HTML files are only generated for news files, which speeds up the website build significantly: $ /home/michael/benchmark.sh speed-up-build master Already on 'speed-up-build' NOW TESTING ON speed-up-build 0m08.24s real 0m08.53s user 0m05.57s system 0m08.21s real 0m08.39s user 0m05.58s system 0m08.26s real 0m08.23s user 0m05.70s system 0m08.26s real 0m08.27s user 0m05.91s system 0m08.24s real 0m08.36s user 0m05.63s system 0m08.28s real 0m08.40s user 0m05.67s system 0m08.29s real 0m08.21s user 0m05.83s system 0m08.23s real 0m08.12s user 0m05.80s system 0m08.32s real 0m08.32s user 0m05.75s system 0m08.30s real 0m08.40s user 0m05.61s system Switched to branch 'master' Your branch is ahead of 'origin/master' by 33 commits. NOW TESTING ON master 0m12.98s real 0m15.07s user 0m07.18s system 0m12.93s real 0m14.57s user 0m07.69s system 0m12.98s real 0m15.06s user 0m07.46s system 0m12.98s real 0m14.75s user 0m07.67s system 0m12.94s real 0m15.10s user 0m07.22s system 0m12.94s real 0m14.95s user 0m07.22s system 0m12.98s real 0m14.57s user 0m08.02s system 0m12.96s real 0m14.84s user 0m07.41s system 0m12.96s real 0m14.99s user 0m07.49s system 0m13.06s real 0m14.91s user 0m07.54s system And here's the script in question, benchmark.sh: #!/bin/sh set -u set -e # usage: runit branch runit() { git checkout "$1" echo echo NOW TESTING ON "$1" echo for i in `jot 10`; do make clean >/dev/null; time make -j2 >/dev/null; done } make clean >/dev/null for branch in "$@" do runit "$branch" done
| * | | www/Makefile: Remove incorrect commentMichael Reed2017-07-151-1/+0
|/ / / | | | | | | | | | | | | | | | Unlike what the comment says, the target .md.html does apply to news/index.md (it's just that news/index.md must be generated first by index.sh).