summaryrefslogtreecommitdiffstats
path: root/tools/meson-hwdb-update.sh (follow)
Commit message (Collapse)AuthorAgeFilesLines
* separate flags from shebangbleep_blop2017-12-251-1/+2
|
* meson-hwdb-update: fix undefined variable accessZbigniew Jędrzejewski-Szmek2017-12-141-2/+4
| | | | | | | I added the test if an optional parameter is not empty, but that doesn't work with -u. Provide an empty "fallback" value to fix the issue. Also group the update steps so that it's easier to see what is going on.
* hwdb: switch meson to use ids_parser.py (#6964)Zbigniew Jędrzejewski-Szmek2017-10-041-1/+1
| | | | Also drop the now-unused perl implementation (that doesn't do sorting), so it's incompatible anyway.
* hwdb: updateZbigniew Jędrzejewski-Szmek2017-10-021-1/+1
| | | | | http://www.uefi.org/uefi-pnp-export is returning an internal server error, so the previous version was used.
* meson-hwdb-update.sh: add -n param to skip downloadsZbigniew Jędrzejewski-Szmek2017-10-021-8/+10
| | | | Useful to experiment with the patching part w/o redownloading the files.
* meson: use "sh -eu" and make .sh +x, .py -xZbigniew Jędrzejewski-Szmek2017-04-241-1/+1
| | | | | | | | | Shell scripts should be executable so that meson reports their invocation succinctly (does not print 'sh' '-e'). Python scripts should not be executable so that meson does the detection of the right python binary itself. Add -u everywhere to catch potential errors.
* hwdb: use curl instead of wget, and regenerate patch after successful updateZbigniew Jędrzejewski-Szmek2017-04-241-7/+9
| | | | | | | | | | | | libcurl is already our build dependency, so using curl reduces the deps a bit, and curl also has a more modern codebase. Regenerating the patch makes it more likely that the patch will apply in the future. Also, update URLs which return 302 to the new location. (Patch suggested by Igor Gnatenko.)
* meson: add hwdb/update targetZbigniew Jędrzejewski-Szmek2017-04-241-0/+13